39 : params(
std::move(params)) {}
52 this->
files_ = std::move(files);
70 this->
opts_ = std::move(opts);
72 this->
opts_ = std::move(opts);
82 std::cerr <<
"Mesh Generation encountered error." << std::endl;
86 if (outputType ==
".msh") {
91 mesh->setFileName(this->
files_.outputMeshFile);
static meshBase * exportGmshToVtk(const std::string &fname)
construct vtkMesh from gmsh msh file (called in Create methods)
const Files & getFiles() const
NEM::GEN::gmshParams params
void execute() const override
Run the workflow represented by the driver.
std::string find_ext(const std::string &fname)
int createMeshFromSTL(const char *fname) override
Creates mesh from input STEP file.
const NEM::GEN::gmshParams & getParams() const
std::string trim_fname(const std::string &name, const std::string &ext)
gmshParams contains all parameters essential for mesh generation using gmshGen class methods...
std::string ofname
Output mesh file name.
void setParams(NEM::GEN::gmshParams params)
std::shared_ptr< meshBase > mesh
static std::shared_ptr< meshBase > CreateShared(const std::string &fname)
Create shared ptr from fname.
void setFiles(Files files)
const Opts & getOpts() const