Function t8_cmesh_set_partition_uniform

Function Documentation

void t8_cmesh_set_partition_uniform(t8_cmesh_t cmesh, const int element_level, const t8_scheme_c *scheme)

Declare if a derived cmesh should be partitioned according to a uniform refinement of a given level for the provided scheme.

This call is only valid when the cmesh is not yet committed via a call to t8_cmesh_commit and when the cmesh will be derived.

Parameters:
  • cmesh[inout] The cmesh to be updated.

  • element_level[in] The refinement_level.

  • scheme[in] The element scheme describing the refinement pattern. We take ownership. This can be prevented by referencing scheme before calling this function.