29 #ifndef NEMOSYS_GMSHPARAMS_H_ 30 #define NEMOSYS_GMSHPARAMS_H_ 32 #include "nemosys_export.h" 54 std::vector<std::pair<std::string, double>>
params;
60 std::vector<std::pair<std::string, std::vector<std::string>>>
72 std::array<std::array<double, 3>, 3>
axis;
79 std::array<std::string, 3> type{
"Progression",
"Progression",
"Progression"};
82 std::array<double, 3> coef{1.0, 1.0, 1.0};
100 std::string ofname{};
104 double minSize{0.01};
108 double maxSize{50.0};
112 std::string algo2D{
"Frontal"};
116 std::string algo3D{
"HXT"};
120 bool extSizeFromBoundary{
true};
124 bool sizeFromCurvature{
false};
132 bool optimize{
false};
136 double optimizeThreshold{0.3};
150 int subdivisionAlg{1};
160 bool fragmentAll{
false};
179 static constexpr std::array<const char *, 6> meshExtensions{
180 ".inp",
".unv",
".p3d",
".stl",
".vtk",
".su2"};
181 return meshExtensions;
189 #endif // NEMOSYS_GMSHPARAMS_H_
std::string type
Type of size field, eg.
static const std::array< const char *, 6 > & getMeshExtensions()
Get list of file extensions supported by gmsh.
std::array< int, 3 > vert
std::vector< std::pair< std::string, double > > params
Vector of pairs to store list of numbers.
std::vector< std::pair< std::string, std::vector< std::string > > > strg_list_params
A struct for defining hexahedral transfinite volumes.
std::set< TransfiniteBlock > transfiniteBlocks
Map from volume id to transfinite hexahedron information.
std::map< std::array< int, 3 >, std::string > color2groupMap
Map from RGB to physical name.
gmshParams contains all parameters essential for mesh generation using gmshGen class methods...
std::array< std::array< double, 3 >, 3 > axis
std::vector< std::pair< std::string, std::vector< double > > > num_list_params
Vector of pairs to store list of strings.
bool operator<(const TransfiniteBlock &rhs) const
A structure for defining volumetric mesh size fields.
std::vector< volSizeField > sizeFields
Vector for volSizeField struct.