... | ... | @@ -2,7 +2,7 @@ Class CBlockGrid handles grid organised into a 3D AMR octal tree (forrest) of bl |
|
|
|
|
|
The grid can be read from hdf files (written by Flash) or ascii files (in prep). The file must include certain basic properties that can be read by function readPFMetadata. The remaining data (content of blocks) can be read by parts (by individual blocks and quantities) by function readBlocks.
|
|
|
|
|
|
The CBlockGrid class includes functions that allow to trasform blocks to a given refinement level, calculate their slices and integrals in a given direction and insert block data into a uniform grid (class [CUniformGrid](CUniformGrid)): cuboid, plane or line segment, aligned with the axes of the grid. The CBlockGrid is always 3-dimensional, its axes have indeces XAXIS, YAXIS and YAXIS; contrary to the uniform grid, which can be 1-, 2-, or 3-dimensional and its axes have indeces AXIS1, AXIS2 and AXIS3. The correspondence between the two systems of coordinates is controlled by the --mode command line argument.
|
|
|
The CBlockGrid class includes functions that allow to trasform blocks to a given refinement level, calculate their slices and integrals in a given direction and insert block data into a uniform grid (class [CUniformGrid](CUniformGrid)): cuboid, plane or line segment, aligned with the axes of the grid. The CBlockGrid is always 3-dimensional, its axes have indeces XAXIS, YAXIS and YAXIS; contrary to the uniform grid, which can be 1-, 2-, or 3-dimensional and its axes have indeces AXIS1, AXIS2 and AXIS3. The correspondence between the two systems of coordinates is controlled by the --mode command line argument and the axord - the uniform grid property and an argument of several methods.
|
|
|
|
|
|
Basic grid properties
|
|
|
---------------------
|
... | ... | |