Function t8_offset_last(const int, const t8_gloidx_t *)
Defined in File t8_cmesh_offset.h
Function Documentation
-
t8_gloidx_t t8_offset_last(const int proc, const t8_gloidx_t *offset)
Return the last local tree of a given process in a partition.
- Parameters:
proc – [in] A mpi rank.
offset – [in] A partition table.
- Returns:
The global tree id of the last local tree of proc in offset.