The tHypergrid Structure
The hypergrid is the central 'stem' of all data bamps uses.
Although it is technically possible to declare multiple tHypergrids,
in practice there exists a single tHypergrid instance,
simply named hypergrid, which is declared as global,
and is accessible anywhere within the code.
| While conceptually there is only one hypergrid, obviously every MPI process possesses its own instance of it. |
Members
While most members of tHypergrid have more-or-less self-explanatory names, some do not. Below is a list of all members (as of the time of writing), with a short explanation of their purpose.
- tStack* cellstack
-
A pointer to a tStack containing the cells used during grid creation.
- tStack* gridstack
-
A pointer to a tStack containing all grids owned by this MPI process.
- tStack* nodestack
-
A pointer to a tStack containing all AMR nodes owned by this MPI process. This stack exactly mirrors the gridstack.