Changes
Page history
version 4.2
authored
Nov 03, 2025
by
Udo Ziegler
Show whitespace changes
Inline
Side-by-side
3-NIRVANA-user-guide/3.1-Code-basics.md
View page @
cf27d705
...
...
@@ -180,7 +180,7 @@ equations are integrated is a set of (logically) rectangular grid blocks
different resolution. These superblocks are organized in a system of
linked lists. The system of linked lists representing the full mesh has
a master mesh pointer,
`gm`
. Technically,
`gm`
is a doubly pointer of
struct type
`GRD`
, i.e.
`*GRD`
. The
`GRD`
struct type is declared in the
struct type
`GRD`
, i.e.
`*
*
GRD`
. The
`GRD`
struct type is declared in the
header file
`nirvana.h`
and contains all grid information (attributes,
coordinates, variables arrays, etc.). Dereferencing
`gm`
to
`gm[l]`
,
gives the first superblock in a linked list collecting all superblocks
...
...
@@ -222,7 +222,7 @@ the workload balancer is regular block decomposition (cf. [Workload
balancing
](
#workload-balancing
)
).
**Note:**
In addition to the mesh master pointer
`gm`
, there exists a
dual master mesh pointer,
`_G0`
, of same type
`*GRD`
.
`_G0`
likewise
dual master mesh pointer,
`_G0`
, of same type
`*
*
GRD`
.
`_G0`
likewise
represents the full grid hierarchy but in terms of its basic
constituents: generic grid block units of fixed size ($4^3$ cubes in 3D,
$4^2$ squares in 2D). In consequence, the
`_G0`
mesh resembles an
...
...
...
...