gmshParams contains all parameters essential for mesh generation using gmshGen class methods. More...
These parameters are assigned a value at time of user input parsing through JSON in meshGenDriver.
Definition at line 92 of file gmshParams.H.
Public Member Functions | |
gmshParams ()=default | |
gmshParams standard constructor More... | |
Static Public Member Functions | |
static const std::array< const char *, 6 > & | getMeshExtensions () |
Get list of file extensions supported by gmsh. More... | |
Public Attributes | |
std::string | ofname {} |
Output mesh file name. More... | |
double | minSize {0.01} |
Minimum global mesh size. More... | |
double | maxSize {50.0} |
Maximum global mesh size. More... | |
std::string | algo2D {"Frontal"} |
Surface meshing algorithm. More... | |
std::string | algo3D {"HXT"} |
Volume meshing algorithm. More... | |
bool | extSizeFromBoundary {true} |
Extend mesh size from boundary option. More... | |
bool | sizeFromCurvature {false} |
Mesh size based on curvature option. More... | |
int | minElePer2Pi {6} |
Minimum number of mesh elements per two Pi. More... | |
bool | optimize {false} |
Whether to optimize mesh or not. More... | |
double | optimizeThreshold {0.3} |
Mesh optimization threshold, between 0 and 1. More... | |
int | bgField {-1} |
Size field ID to use as background field. More... | |
int | elementOrder {1} |
Element order. More... | |
int | subdivisionAlg {1} |
Subdivision algorithm 0: none, 1: all quads, 2: all hexas. More... | |
bool | saveAll {true} |
Save all elements. More... | |
bool | fragmentAll {false} |
Whether to call boolean fragments on all volumes. More... | |
std::vector< volSizeField > | sizeFields |
Vector for volSizeField struct. More... | |
std::map< std::array< int, 3 >, std::string > | color2groupMap |
Map from RGB to physical name. More... | |
std::set< TransfiniteBlock > | transfiniteBlocks |
Map from volume id to transfinite hexahedron information. More... | |
Inherits meshingParams.
|
default |
|
inlinestatic |
Definition at line 178 of file gmshParams.H.
Referenced by NEM::GEN::gmshGen::createMeshFromSTEP().
std::string NEM::GEN::gmshParams::algo2D {"Frontal"} |
Definition at line 112 of file gmshParams.H.
Referenced by NEM::GEN::gmshGen::createMeshFromSTEP(), and NEM::GEN::gmshGen::globalOptions().
std::string NEM::GEN::gmshParams::algo3D {"HXT"} |
Definition at line 116 of file gmshParams.H.
Referenced by NEM::GEN::gmshGen::createMeshFromSTEP(), and NEM::GEN::gmshGen::globalOptions().
int NEM::GEN::gmshParams::bgField {-1} |
Definition at line 140 of file gmshParams.H.
Referenced by NEM::GEN::gmshGen::meshSizeFields().
std::map<std::array<int, 3>, std::string> NEM::GEN::gmshParams::color2groupMap |
Definition at line 168 of file gmshParams.H.
Referenced by NEM::GEN::gmshGen::applyColorNames(), and NEM::GEN::gmshGen::createMeshFromSTEP().
int NEM::GEN::gmshParams::elementOrder {1} |
Definition at line 145 of file gmshParams.H.
Referenced by NEM::GEN::gmshGen::globalOptions().
bool NEM::GEN::gmshParams::extSizeFromBoundary {true} |
Definition at line 120 of file gmshParams.H.
Referenced by NEM::GEN::gmshGen::globalOptions().
bool NEM::GEN::gmshParams::fragmentAll {false} |
Definition at line 160 of file gmshParams.H.
Referenced by NEM::GEN::gmshGen::createMeshFromSTEP().
double NEM::GEN::gmshParams::maxSize {50.0} |
Definition at line 108 of file gmshParams.H.
Referenced by NEM::GEN::gmshGen::createMeshFromSTEP(), and NEM::GEN::gmshGen::globalOptions().
int NEM::GEN::gmshParams::minElePer2Pi {6} |
Definition at line 128 of file gmshParams.H.
Referenced by NEM::GEN::gmshGen::globalOptions().
double NEM::GEN::gmshParams::minSize {0.01} |
Definition at line 104 of file gmshParams.H.
Referenced by NEM::GEN::gmshGen::createMeshFromSTEP(), and NEM::GEN::gmshGen::globalOptions().
std::string NEM::GEN::gmshParams::ofname {} |
Definition at line 100 of file gmshParams.H.
Referenced by NEM::GEN::gmshGen::createMeshFromSTEP(), NEM::DRV::GmshMeshGenDriver::setFiles(), and NEM::DRV::GmshMeshGenDriver::setOpts().
bool NEM::GEN::gmshParams::optimize {false} |
Definition at line 132 of file gmshParams.H.
Referenced by NEM::GEN::gmshGen::globalOptions().
double NEM::GEN::gmshParams::optimizeThreshold {0.3} |
Definition at line 136 of file gmshParams.H.
Referenced by NEM::GEN::gmshGen::globalOptions().
bool NEM::GEN::gmshParams::saveAll {true} |
Definition at line 155 of file gmshParams.H.
Referenced by NEM::GEN::gmshGen::globalOptions().
std::vector<volSizeField> NEM::GEN::gmshParams::sizeFields |
Definition at line 164 of file gmshParams.H.
Referenced by NEM::GEN::gmshGen::createMeshFromSTEP(), and NEM::GEN::gmshGen::meshSizeFields().
bool NEM::GEN::gmshParams::sizeFromCurvature {false} |
Definition at line 124 of file gmshParams.H.
Referenced by NEM::GEN::gmshGen::globalOptions().
int NEM::GEN::gmshParams::subdivisionAlg {1} |
Definition at line 150 of file gmshParams.H.
Referenced by NEM::GEN::gmshGen::globalOptions().
std::set<TransfiniteBlock> NEM::GEN::gmshParams::transfiniteBlocks |
Definition at line 172 of file gmshParams.H.
Referenced by NEM::GEN::gmshGen::applyTransfiniteVolumes(), and NEM::GEN::gmshGen::createMeshFromSTEP().