NEMoSys  0.63.0
A modular, extensible resource with robust automated mesh generation, mesh quality analysis, adaptive mesh refinement, and data transfer between arbitrary meshes.
NEM::DRV::NemDriver Class Referenceabstract

base class for drivers More...

Detailed Description

Definition at line 46 of file NemDriver.H.

Public Member Functions

virtual ~NemDriver ()=default
 
virtual void execute () const =0
 Run the workflow represented by the driver. More...
 

Static Public Member Functions

static std::unique_ptr< NemDriverreadJSON (const jsoncons::json &inputjson)
 Factory method for all drivers. More...
 

Protected Member Functions

 NemDriver ()=default
 
 NemDriver (const NemDriver &)=default
 
 NemDriver (NemDriver &&)=default
 
NemDriveroperator= (const NemDriver &)=default
 
NemDriveroperator= (NemDriver &&)=default
 

Private Member Functions

virtual jsoncons::string_view getProgramType () const =0
 

Inherited by NEM::DRV::AutoVerificationDriver, NEM::DRV::ConversionDriver, NEM::DRV::InputGenDriver, NEM::DRV::MeshGenDriver, NEM::DRV::MeshQualityDriver, NEM::DRV::NucMeshDriver, NEM::DRV::PackMeshDriver, NEM::DRV::ProteusDriver, NEM::DRV::RefineDriver, NEM::DRV::RocPartCommGenDriver, NEM::DRV::TemplateMeshDriver, and NEM::DRV::TransferDriver.

Constructor & Destructor Documentation

◆ ~NemDriver()

virtual NEM::DRV::NemDriver::~NemDriver ( )
virtualdefault

◆ NemDriver() [1/3]

NEM::DRV::NemDriver::NemDriver ( )
protecteddefault

◆ NemDriver() [2/3]

NEM::DRV::NemDriver::NemDriver ( const NemDriver )
protecteddefault

◆ NemDriver() [3/3]

NEM::DRV::NemDriver::NemDriver ( NemDriver &&  )
protecteddefault

Member Function Documentation

◆ execute()

◆ getProgramType()

◆ operator=() [1/2]

NemDriver& NEM::DRV::NemDriver::operator= ( const NemDriver )
protecteddefault

◆ operator=() [2/2]

NemDriver& NEM::DRV::NemDriver::operator= ( NemDriver &&  )
protecteddefault

◆ readJSON()

std::unique_ptr< NemDriver > NEM::DRV::NemDriver::readJSON ( const jsoncons::json &  inputjson)
static
Parameters
inputjsonjson input with "Program Type" key
Returns
pointer to base NemDriver class

Definition at line 37 of file NemDriver.C.

Referenced by NEM::DRV::MeshGenDriver::MeshGenDriver().

37  {
38  return inputjson.as<std::unique_ptr<NemDriver>>();
39 }

The documentation for this class was generated from the following files: