Subroutine to count the number of elements per level.
This count includes fluid, ghost and halo elements on each level.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_levelDesc_type), | intent(in) | :: | descriptor(tree%global%minLevel:tree%global%maxLevel) |
Array of descriptors for each level in the mesh. |
||
integer, | intent(out), | allocatable | :: | nCells(:) |
The number of cells for each levelDescriptor (including fluid, ghost and halo cells). |
|
type(treelmesh_type), | intent(in) | :: | tree |
The tree representation of the mesh |