Definition at line 58 of file FoamRefineDriver.H.
Classes | |
struct | Opts |
Public Types | |
using | Files = DriverInOutFiles |
Public Member Functions | |
FoamRefineDriver (Files files, Opts opts) | |
const Opts & | getOpts () const |
void | setOpts (Opts opts) |
void | execute () const override |
Run the workflow represented by the driver. More... | |
virtual const Files & | getFiles () const |
virtual void | setFiles (Files files) |
Static Public Member Functions | |
static std::unique_ptr< NemDriver > | readJSON (const jsoncons::json &inputjson) |
Factory method for all drivers. More... | |
Protected Attributes | |
Files | files_ |
Private Member Functions | |
FoamRefineDriver () | |
Private Attributes | |
Opts | opts_ |
Inherits NEM::DRV::RefineDriver.
|
inherited |
Definition at line 42 of file RefineDriver.H.
Definition at line 99 of file FoamRefineDriver.C.
|
private |
Definition at line 102 of file FoamRefineDriver.C.
|
overridevirtual |
Implements NEM::DRV::NemDriver.
Definition at line 110 of file FoamRefineDriver.C.
References Foam::AMRFoam::assignToVolScalarField(), meshBase::CreateShared(), NEM::DRV::FoamRefineOptsBase::endTime, NEM::DRV::RefineDriver::files_, NEM::DRV::FoamRefineDriver::Opts::inputFieldFile, NEM::DRV::DriverInOutFiles::inputMeshFile, mesh, opts_, NEM::DRV::DriverInOutFiles::outputMeshFile, NEM::DRV::FoamRefineDriver::Opts::refCriteria, NEM::DRV::RefineDriver::RefineDriver(), NEM::DRV::FoamRefineOptsBase::refineInterval, NEM::DRV::FoamRefineOptsBase::startTime, NEM::DRV::FoamRefineOptsBase::timeStep, Foam::AMRFoam::updateAMRML(), and NEM::DRV::FoamRefineDriver::Opts::VALUE.
|
virtualinherited |
Definition at line 40 of file RefineDriver.C.
References NEM::DRV::RefineDriver::files_.
const FoamRefineDriver::Opts & NEM::DRV::FoamRefineDriver::getOpts | ( | ) | const |
|
staticinherited |
inputjson | json input with "Program Type" key |
Definition at line 37 of file NemDriver.C.
Referenced by NEM::DRV::MeshGenDriver::MeshGenDriver().
|
virtualinherited |
void NEM::DRV::FoamRefineDriver::setOpts | ( | Opts | opts | ) |
|
protectedinherited |
Definition at line 51 of file RefineDriver.H.
Referenced by NEM::DRV::UniformRefineDriver::execute(), NEM::DRV::Z2RefineDriver::execute(), NEM::DRV::SizeFieldRefineDriver::execute(), execute(), NEM::DRV::OmegahRefineDriver::execute(), NEM::DRV::RefineDriver::getFiles(), and NEM::DRV::RefineDriver::setFiles().
|
private |
Definition at line 86 of file FoamRefineDriver.H.