Update 3.1 Code basics authored by Udo Ziegler's avatar Udo Ziegler
...@@ -183,10 +183,10 @@ organized in a system of linked lists. The system of linked lists, ...@@ -183,10 +183,10 @@ organized in a system of linked lists. The system of linked lists,
representing the mesh, is led by a master mesh pointer, `gm`, which is representing the mesh, is led by a master mesh pointer, `gm`, which is
function argument to many user interfaces like `configUser()` (defining function argument to many user interfaces like `configUser()` (defining
IC). Technically, `gm` is a doubly pointer of struct type `GRD`, i.e. IC). Technically, `gm` is a doubly pointer of struct type `GRD`, i.e.
`*GRD`. The `GRD` struct type is declared in the header file `**GRD`. The `GRD` struct type is declared in the header file
`nirvana.h`. Dereferencing `gm` to `gm[l]` gives the first superblock in `nirvana.h`. Dereferencing `gm` to `gm[l]` gives the first superblock in
a linked list which collects all superblocks belonging to mesh a linked list which collects all superblocks belonging to mesh
refinement level *l*. `gm[l]`, like any grid block, is of `GRD` type, refinement level *l*. `gm[l]`, like any grid block, is of `*GRD` type,
i.e., a pointer to struct `GRD`. The base level *l*=0 starting with i.e., a pointer to struct `GRD`. The base level *l*=0 starting with
pointer `gm[0]` is special because it spans the computational domain. pointer `gm[0]` is special because it spans the computational domain.
The superblocks making up a refinement level *l* can be reached The superblocks making up a refinement level *l* can be reached
... ...
......