Function t8_cmesh_trees_add_attribute(const t8_cmesh_trees_t, int, const t8_stash_attribute_struct_t *, t8_locidx_t, size_t)

Function Documentation

void t8_cmesh_trees_add_attribute(const t8_cmesh_trees_t trees, int proc, const t8_stash_attribute_struct_t *attr, t8_locidx_t tree_id, size_t index)

Add an attribute to a tree.

Parameters:
  • trees[inout] The trees structure, whose attribute array is updated.

  • proc[in] The process id of the process that owns the tree.

  • attr[in] The stash attribute that is added.

  • tree_id[in] The local id of the tree to which the attribute is added.

  • index[in] The attribute index of the attribute to be added.