Definition at line 39 of file GmshMeshGenDriver.H.
Classes | |
struct | Opts |
Public Types | |
using | Files = MeshGenFiles |
Public Member Functions | |
GmshMeshGenDriver (Files files, NEM::GEN::gmshParams params) | |
const Files & | getFiles () const |
void | setFiles (Files files) |
const NEM::GEN::gmshParams & | getParams () const |
void | setParams (NEM::GEN::gmshParams params) |
void | execute () const override |
Run the workflow represented by the driver. More... | |
Static Public Member Functions | |
static std::unique_ptr< NemDriver > | readJSON (const jsoncons::json &inputjson) |
Factory method for all drivers. More... | |
Private Member Functions | |
GmshMeshGenDriver () | |
const Opts & | getOpts () const |
void | setOpts (Opts opts) |
Private Attributes | |
Files | files_ |
Opts | opts_ |
Inherits NEM::DRV::MeshGenDriver.
using NEM::DRV::GmshMeshGenDriver::Files = MeshGenFiles |
Definition at line 41 of file GmshMeshGenDriver.H.
NEM::DRV::GmshMeshGenDriver::GmshMeshGenDriver | ( | Files | files, |
NEM::GEN::gmshParams | params | ||
) |
Definition at line 41 of file GmshMeshGenDriver.C.
|
private |
Definition at line 44 of file GmshMeshGenDriver.C.
|
overridevirtual |
Implements NEM::DRV::NemDriver.
Definition at line 77 of file GmshMeshGenDriver.C.
References NEM::GEN::gmshGen::createMeshFromSTL(), meshBase::CreateShared(), meshBase::exportGmshToVtk(), files_, nemAux::find_ext(), mesh, opts_, NEM::DRV::GmshMeshGenDriver::Opts::params, and nemAux::trim_fname().
const GmshMeshGenDriver::Files & NEM::DRV::GmshMeshGenDriver::getFiles | ( | ) | const |
|
private |
const NEM::GEN::gmshParams & NEM::DRV::GmshMeshGenDriver::getParams | ( | ) | const |
Definition at line 55 of file GmshMeshGenDriver.C.
References getOpts(), and NEM::DRV::GmshMeshGenDriver::Opts::params.
|
staticinherited |
inputjson | json input with "Program Type" key |
Definition at line 37 of file NemDriver.C.
Referenced by NEM::DRV::MeshGenDriver::MeshGenDriver().
void NEM::DRV::GmshMeshGenDriver::setFiles | ( | Files | files | ) |
Definition at line 50 of file GmshMeshGenDriver.C.
References files_, NEM::GEN::gmshParams::ofname, opts_, and NEM::DRV::GmshMeshGenDriver::Opts::params.
|
private |
Definition at line 67 of file GmshMeshGenDriver.C.
References files_, NEM::GEN::gmshParams::ofname, opts_, and NEM::DRV::GmshMeshGenDriver::Opts::params.
Referenced by setParams().
void NEM::DRV::GmshMeshGenDriver::setParams | ( | NEM::GEN::gmshParams | params | ) |
|
private |
Definition at line 66 of file GmshMeshGenDriver.H.
Referenced by execute(), getFiles(), setFiles(), and setOpts().
|
private |
Definition at line 67 of file GmshMeshGenDriver.H.
Referenced by execute(), getOpts(), setFiles(), and setOpts().