|
|
|
|
|
|
|
|
Basic grid properties
|
|
|
---------------------
|
|
|
|
|
|
Basic grid properties are set once by the readPFMetadat function. They are essential, all other grid metadata can be calculated from them. They can be accessed using functions (named as them) marked by the python "@property" decorator.
|
|
|
|
|
|
* bb - Bounding boxes of all blocks. 3dims: block, direction, LO/HI.
|
|
|
* blkshape - Shape of blocks (same for all of them) - number of grid cells in all directions. (3-element array)
|
|
|
* nblocks - Number of blocks. (single integer number)
|
|
|
* nodetype - Returns nodetypes of all blocks (1 = leaf block). 1dim: block.
|
|
|
* rlevel - Refinement levels for all blocks. 1dim: block
|
|
|
* vnames - List of field variables names available in the grid datafile. Python list of (preferentially 4 character) strings.
|
|
|
|
|
|
\ No newline at end of file |