Function t8_cmesh_msh_file_2_read_eles
Defined in File t8_cmesh_readmshfile.cxx
Function Documentation
-
static std::optional<t8_msh_tree_vertex_indices> t8_cmesh_msh_file_2_read_eles(t8_cmesh_t cmesh, FILE *fp, const t8_msh_node_table vertices, const int dim)
Adds the elements of fp and dimension dim into the cmesh. Returns a list of all vertex indices of each tree.
- Parameters:
cmesh – [inout] The cmesh.
fp – [inout] The msh file.
vertices – [inout] A hashtable filled with the nodes of the msh file.
dim – [inout] The dimension of nodes to read in.
- Returns: