![]() |
AMR-Solver
1.0
Block-based Octree AMR grid flow solver
|
This class is a generic data block of a octree node in the block-based AMR mesh. More...
#include <block.h>
Public Member Functions | |
| Block (double x1, double x2, double y1, double y2, double z1, double z2) | |
| Block () | |
| Block (const Block &obj) | |
| ~Block () | |
Public Attributes | |
| VecField * | mesh |
| Field * | field |
| Field ** | scalarfields |
| VecField ** | vectorfields |
| double | max_gradient |
Dimensions of the block | |
| double | x_centre |
| double | y_centre |
| double | z_centre |
| double | x_min |
| double | x_max |
| double | y_min |
| double | y_max |
| double | z_min |
| double | z_max |
Grid size | |
| double | dx |
| double | dy |
| double | dz |
Static Public Attributes | |
Size of the grid in block | |
| static int | iNx = nx_block |
| static int | iNy = ny_block |
| static int | iNz = nz_block |
This class is a generic data block of a octree node in the block-based AMR mesh.
This class contains all the fields making the domain.
Usage: Block object(xmin, xmax, ymin, ymax, zmin, zmax );. Parameters are the boundaries of the block.
| myOctree::Block::Block | ( | double | x1, |
| double | x2, | ||
| double | y1, | ||
| double | y2, | ||
| double | z1, | ||
| double | z2 | ||
| ) |
| myOctree::Block::Block | ( | const Block & | obj | ) |
| VecField* myOctree::Block::mesh |
| Field** myOctree::Block::scalarfields |
| VecField** myOctree::Block::vectorfields |