Function t8_forest_set_ghost_ext

Function Documentation

void t8_forest_set_ghost_ext(t8_forest_t forest, int do_ghost, t8_ghost_type_t ghost_type, int ghost_version)

Like t8_forest_set_ghost but with the additional options to change the ghost algorithm.

This is used for debugging and timing the algorithm. An application should almost always use t8_forest_set_ghost.

Parameters:
  • forest[in] The forest.

  • do_ghost[in] If non-zero a ghost layer will be created.

  • ghost_type[in] Controls which neighbors count as ghost elements, currently only T8_GHOST_FACES is supported. This value is ignored if do_ghost = 0.

  • ghost_version[in] If 1, the iterative ghost algorithm for balanced forests is used. If 2, the iterative algorithm for unbalanced forests. If 3, the top-down search algorithm for unbalanced forests.