... | ... | @@ -27,15 +27,16 @@ Properties of the grid that can be derived from the above basic grid properties. |
|
|
Calculating various values from metadata
|
|
|
----------------------------------------
|
|
|
|
|
|
* blockCellCoords
|
|
|
* blockCellCoords(b, direction) - Calculates coordinates for all cells of a blocks along a given direction.
|
|
|
|
|
|
* blocksIntersectingBox
|
|
|
* csrl
|
|
|
* getDict
|
|
|
|
|
|
Reading from file
|
|
|
-----------------
|
|
|
* [readPFMetadata](https://projects.asu.cas.cz/wunsch/flashscripts/-/blob/master/flashscripts/libgrid.py#L15) - Reads metadata defining the grid using the plotfile object. Argument "fn" denotes the filename. Currently uses flashpf Plotfile class based on the pytables library to interact with the hdf file.
|
|
|
* [readBlocks](https://projects.asu.cas.cz/wunsch/flashscripts/-/blob/master/flashscripts/libgrid.py#L15) - Reads selected blocks and selected quantities into memory. Creates/updates array bIdx and dictionary qIdx providing indeces of a given block and quantity into the 'data' array.
|
|
|
* [readPFMetadata(fn)](https://projects.asu.cas.cz/wunsch/flashscripts/-/blob/master/flashscripts/libgrid.py#L15) - Reads metadata defining the grid using the plotfile object. Argument "fn" denotes the filename. Currently uses flashpf Plotfile class based on the pytables library to interact with the hdf file.
|
|
|
* [readBlocks(blocks, quans)](https://projects.asu.cas.cz/wunsch/flashscripts/-/blob/master/flashscripts/libgrid.py#L15) - Reads selected blocks and selected quantities into memory. Creates/updates array bIdx and dictionary qIdx providing indeces of a given block and quantity into the 'data' array.
|
|
|
|
|
|
|
|
|
|
... | ... | |