|
t8
1.2.0
t8code is a C library to manage a forest of adaptive space-trees of general element classes in parallel.
|
This file collects all general cmesh routines that need c++ compilation. More...
Functions | |
| void | t8_cmesh_uniform_bounds (t8_cmesh_t cmesh, int level, t8_scheme_cxx_t *ts, t8_gloidx_t *first_local_tree, t8_gloidx_t *child_in_tree_begin, t8_gloidx_t *last_local_tree, t8_gloidx_t *child_in_tree_end, int8_t *first_tree_shared) |
| Calculate the section of a uniform forest for the current rank. More... | |
This file collects all general cmesh routines that need c++ compilation.
Particularly those functions that use the element interface frome t8_element_cxx.hxx.
TODO: document this file
| void t8_cmesh_uniform_bounds | ( | t8_cmesh_t | cmesh, |
| int | level, | ||
| t8_scheme_cxx_t * | ts, | ||
| t8_gloidx_t * | first_local_tree, | ||
| t8_gloidx_t * | child_in_tree_begin, | ||
| t8_gloidx_t * | last_local_tree, | ||
| t8_gloidx_t * | child_in_tree_end, | ||
| int8_t * | first_tree_shared | ||
| ) |
Calculate the section of a uniform forest for the current rank.
| [in] | cmesh | The cmesh to be considered. |
| [in] | level | The uniform refinement level to be created. |
| [in] | ts | The element scheme for which to compute the bounds. |
| [out] | first_local_tree | The first tree that contains elements belonging to the calling processor. |
| [out] | child_in_tree_begin | The global index of the first element belonging to the calling processor. Not computed if NULL. |
| [out] | last_local_tree | The last tree that contains elements belonging to the calling processor. |
| [out] | child_in_tree_end | The global index of the first element that does not belonging to the calling processor anymore. Not computed if NULL. |
| [out] | first_tree_shared | If not NULL, 1 or 0 is stored here depending on whether first_local_tree is the same as last_local_tree on the next process. cmesh must be committed before calling this function. * |