Function t8_store_element_node_data

Function Documentation

static void t8_store_element_node_data(t8_cmesh_t cmesh, t8_gloidx_t tree_count, std::array<t8_msh_file_node, T8_ECLASS_MAX_CORNERS> *tree_nodes, int num_nodes)

This function stores the entity dimensions, tags, and parameters of each node in a given tree in arrays. These arrays are then passed to the tree as attributes in cmesh.

Parameters:
  • cmesh[inout] The cmesh.

  • tree_count[in] The index of the tree.

  • tree_nodes[in] The array of the nodes of the tree.

  • num_nodes[in] The number of nodes.