30 #ifndef NEMOSYS_BLOCKMESHPARAMS_H_ 31 #define NEMOSYS_BLOCKMESHPARAMS_H_ 35 #include "nemosys_export.h" 42 #include <jsoncons/config/jsoncons_config.hpp> 85 std::array<double, 3> offset{0.1, 0.1, 0.1};
92 std::array<double, 3> init{0., 0., 0.};
96 std::array<double, 3> len{1., 1., 1.};
100 std::array<double, 3> smplGrading{1., 1., 1.};
104 std::pair<std::array<double, 3>, std::array<double, 3>> coordsBox{
105 {0., 0., 0.}, {0., 0., 0.}};
114 std::array<double, 3> center{0., 0., 0.};
122 std::array<double, 3> sphrGrading{1., 1., 1.};
129 std::array<double, 3> centerCyl{0., 0., 0.};
145 std::array<double, 3> cylGrading{0., 0., 0.};
164 bool ownBlockMshDict{
false};
168 std::shared_ptr<bmShape> shape{};
173 double cnvrtToMeters{1};
178 std::array<int, 3> nCells{40, 40, 40};
183 jsoncons::optional<double> cellSize{};
187 bool isPackMesh{
true};
192 #endif // NEMOSYS_BLOCKMESHPARAMS_H_
jsoncons::optional< double > radius2
Radius on the other end of cylinder; if not set, radius1 used.
double radius
Defines radius of sphere.
blockMeshParams contains the parameters important for automatic meshing using blockMeshGen class...
double radius1
Radius on one end of cylinder.
double height
Height of cylinder.
std::string packFileName
Input surface file for generating block automatically surrounding whole geometry domain with 10% offs...
jsoncons::optional< bmAutoGenBox > autoGenerate