Function t8_cmesh_from_tetgen_file_time

Function Documentation

t8_cmesh_t t8_cmesh_from_tetgen_file_time(char *fileprefix, int partition, sc_MPI_Comm comm, int do_dup, sc_flopinfo_t *fi, sc_flopinfo_t *snapshot, sc_statinfo_t *stats, int statentry)

Same as t8_cmesh_from_tetgen_file but with flop and stat info.

Note

IMPORTANT: Currently, this functionality is deactivated, because it is outdated. Calling it will thus result in an error.

Parameters:
  • fileprefix[in] A string holding the prefix of the TETGEN files. The files fileprefix.node, fileprefix.ele and fileprefix.neigh are read.

  • partition[in] In the future this flag can decide whether the returned cmesh is partitioned or not. Currently it is always replicated.

  • comm[in] The mpi communicator to be used.

  • do_dup[in] Whether comm should be duplicated by cmesh.

  • fi[inout] The flopinfo struct to use for flop counting.

  • snapshot[out] On output is a copy of fi.

  • stats[inout] The statinfo array to use for statistics.

  • statentry[in] The index in stats to use for statistics.

Returns:

A committed, replicated cmesh constructed from the info in the TETGEN files.