Function t8_cmesh_trees_copy_part(t8_cmesh_trees_t, int, t8_cmesh_trees_t, int)

Function Documentation

void t8_cmesh_trees_copy_part(t8_cmesh_trees_t trees_dest, int part_dest, t8_cmesh_trees_t trees_src, int part_src)

Copy the trees array from one part to another.

Parameters:
  • trees_dest[inout] The trees struct of the destination part.

  • part_dest[in] The index of the destination part. Must be initialized by t8_cmesh_trees_start_part with alloc = 0.

  • trees_src[in] The trees struct of the source part.

  • part_src[in] The index of the destination part. Must be a valid part, thus t8_cmesh_trees_finish_part must have been called.