... | ... | @@ -188,7 +188,7 @@ IC). Technically, `gm` is a doubly pointer of struct type `GRD`, i.e. |
|
|
`nirvana.h`. Dereferencing `gm` to `gm[l]` gives the first superblock in
|
|
|
a linked list which collects all superblocks belonging to mesh
|
|
|
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.
|
|
|
The superblocks making up a refinement level *l* can be reached
|
|
|
consecutively going through the corresponding linked list. Starting with
|
... | ... | @@ -361,7 +361,7 @@ Elements V of struct `GRD`: |
|
|
| `dx`,`dy`,`dz` | cell spacings |
|
|
|
| `dxi`,`dyi`,`dzi` | inverse of cell spacings |
|
|
|
| `nx`,`ny`,`nz` | last grid cell index in a grid block |
|
|
|
| `nx1`,`ny1`,`nz1` | nx-1,ny-1,nz-1 |
|
|
|
| `nx1`,`ny1`,`nz1` | `nx`-1,`ny`-1,`nz`-1 |
|
|
|
| `ixs`,`iys`,`izs` | grid block starting index of active cells |
|
|
|
| `ixe`,`iye`,`ize` | grid block ending index of active cells |
|
|
|
| `nbx`,`nby`,`nbz` | superblock size in terms of generic block size minus 1 |
|
... | ... | |