Definition at line 39 of file SnappyMeshMeshGenDriver.H.
Classes | |
struct | Opts |
Public Types | |
using | Files = MeshGenFiles |
Public Member Functions | |
SnappyMeshMeshGenDriver (Files files, snappymeshParams params) | |
const Files & | getFiles () const |
void | setFiles (Files files) |
const snappymeshParams & | getParams () const |
void | setParams (snappymeshParams 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 | |
SnappyMeshMeshGenDriver () | |
const Opts & | getOpts () const |
void | setOpts (Opts opts) |
Private Attributes | |
Files | files_ |
Opts | opts_ |
Inherits NEM::DRV::MeshGenDriver.
Definition at line 41 of file SnappyMeshMeshGenDriver.H.
NEM::DRV::SnappyMeshMeshGenDriver::SnappyMeshMeshGenDriver | ( | Files | files, |
snappymeshParams | params | ||
) |
Definition at line 41 of file SnappyMeshMeshGenDriver.C.
|
private |
Definition at line 45 of file SnappyMeshMeshGenDriver.C.
|
overridevirtual |
Implements NEM::DRV::NemDriver.
Definition at line 80 of file SnappyMeshMeshGenDriver.C.
References meshBase::Create(), snappymeshGen::createMeshFromSTL(), meshBase::CreateShared(), files_, NEM::DRV::MeshGenDriver::MeshGenFiles::inputGeoFile, mesh, opts_, NEM::DRV::MeshGenDriver::MeshGenFiles::outputMeshFile, NEM::DRV::SnappyMeshMeshGenDriver::Opts::params, and nemAux::trim_fname().
const SnappyMeshMeshGenDriver::Files & NEM::DRV::SnappyMeshMeshGenDriver::getFiles | ( | ) | const |
|
private |
Definition at line 66 of file SnappyMeshMeshGenDriver.C.
References opts_.
Referenced by getParams().
const snappymeshParams & NEM::DRV::SnappyMeshMeshGenDriver::getParams | ( | ) | const |
Definition at line 58 of file SnappyMeshMeshGenDriver.C.
References getOpts(), and NEM::DRV::SnappyMeshMeshGenDriver::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::SnappyMeshMeshGenDriver::setFiles | ( | Files | files | ) |
Definition at line 53 of file SnappyMeshMeshGenDriver.C.
References files_, snappymeshParams::geomFileName, NEM::DRV::MeshGenDriver::MeshGenFiles::inputGeoFile, opts_, and NEM::DRV::SnappyMeshMeshGenDriver::Opts::params.
|
private |
Definition at line 70 of file SnappyMeshMeshGenDriver.C.
References files_, snappymeshParams::geomFileName, NEM::DRV::MeshGenDriver::MeshGenFiles::inputGeoFile, opts_, and NEM::DRV::SnappyMeshMeshGenDriver::Opts::params.
Referenced by setParams().
void NEM::DRV::SnappyMeshMeshGenDriver::setParams | ( | snappymeshParams | params | ) |
Definition at line 62 of file SnappyMeshMeshGenDriver.C.
References setOpts().
|
private |
Definition at line 66 of file SnappyMeshMeshGenDriver.H.
Referenced by execute(), getFiles(), setFiles(), and setOpts().
|
private |
Definition at line 67 of file SnappyMeshMeshGenDriver.H.
Referenced by execute(), getOpts(), setFiles(), and setOpts().