blockMeshParams contains the parameters important for automatic meshing using blockMeshGen class. More...
These parameters are assigned a value during user input pasing through JSON in MeshGenDriver.
Definition at line 153 of file blockMeshParams.H.
Public Member Functions | |
blockMeshParams ()=default | |
blockMeshParams standard constructor More... | |
Public Attributes | |
bool | ownBlockMshDict {false} |
Enables option to use user provided blockMeshDict. More... | |
std::shared_ptr< bmShape > | shape {} |
3D block, sphere, cylinder, or tapered cone More... | |
double | cnvrtToMeters {1} |
Defines mesh scale to meters. More... | |
std::array< int, 3 > | nCells {40, 40, 40} |
Defines number of cells in X/Y/Z direction; unused if cellSize has a value. More... | |
jsoncons::optional< double > | cellSize {} |
user can define mesh cell size here (if not set, nCells used instead). More... | |
bool | isPackMesh {true} |
Boolean for if the operation is packmesh. More... | |
Inherits meshingParams.
|
default |
jsoncons::optional<double> blockMeshParams::cellSize {} |
Definition at line 183 of file blockMeshParams.H.
Referenced by blockMeshGen::createBlockMshDict(), and NEM::DRV::MeshGenDriver::MeshGenDriver().
double blockMeshParams::cnvrtToMeters {1} |
Definition at line 173 of file blockMeshParams.H.
Referenced by blockMeshGen::createBlockMshDict(), and NEM::DRV::MeshGenDriver::MeshGenDriver().
bool blockMeshParams::isPackMesh {true} |
Definition at line 187 of file blockMeshParams.H.
Referenced by blockMeshGen::createMeshFromSTL(), NEM::DRV::HexPackMeshDriver::execute(), and blockMeshGen::initialize().
std::array<int, 3> blockMeshParams::nCells {40, 40, 40} |
Definition at line 178 of file blockMeshParams.H.
Referenced by blockMeshGen::createBlockMshDict().
bool blockMeshParams::ownBlockMshDict {false} |
Definition at line 164 of file blockMeshParams.H.
std::shared_ptr<bmShape> blockMeshParams::shape {} |
Definition at line 168 of file blockMeshParams.H.
Referenced by blockMeshGen::createBlockMshDict(), NEM::DRV::HexPackMeshDriver::setFiles(), and NEM::DRV::HexPackMeshDriver::setOpts().