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::RocPartCommGenDriver Class Reference

Detailed Description

Definition at line 38 of file RocPartCommGenDriver.H.

Public Member Functions

 RocPartCommGenDriver (std::string volName, std::string surfName, int numPartitions)
 
void execute () const override
 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...
 

Public Attributes

std::string volName {}
 
std::string surfName {}
 
int numPartitions {}
 

Private Member Functions

 RocPartCommGenDriver ()=default
 
jsoncons::string_view getProgramType () const override
 

Static Private Attributes

static constexpr const char * programType = "Rocstar Communication Generation"
 

Inherits NEM::DRV::NemDriver.

Constructor & Destructor Documentation

◆ RocPartCommGenDriver() [1/2]

NEM::DRV::RocPartCommGenDriver::RocPartCommGenDriver ( std::string  volName,
std::string  surfName,
int  numPartitions 
)

◆ RocPartCommGenDriver() [2/2]

NEM::DRV::RocPartCommGenDriver::RocPartCommGenDriver ( )
privatedefault

Member Function Documentation

◆ execute()

void NEM::DRV::RocPartCommGenDriver::execute ( ) const
overridevirtual

Implements NEM::DRV::NemDriver.

Definition at line 3576 of file RocPartCommGenDriver.C.

References surfName, and volName.

3576  {
3577  RocPartCommGenRunner(this->volName, this->surfName, this->numPartitions);
3578 }

◆ getProgramType()

jsoncons::string_view NEM::DRV::RocPartCommGenDriver::getProgramType ( ) const
overrideprivatevirtual

Implements NEM::DRV::NemDriver.

Definition at line 3572 of file RocPartCommGenDriver.C.

References programType.

3572  {
3573  return programType;
3574 }
static constexpr const char * programType

◆ readJSON()

std::unique_ptr< NemDriver > NEM::DRV::NemDriver::readJSON ( const jsoncons::json &  inputjson)
staticinherited
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 }

Member Data Documentation

◆ numPartitions

int NEM::DRV::RocPartCommGenDriver::numPartitions {}

Definition at line 45 of file RocPartCommGenDriver.H.

◆ programType

constexpr const char* NEM::DRV::RocPartCommGenDriver::programType = "Rocstar Communication Generation"
staticprivate

Definition at line 54 of file RocPartCommGenDriver.H.

Referenced by getProgramType().

◆ surfName

std::string NEM::DRV::RocPartCommGenDriver::surfName {}

Definition at line 44 of file RocPartCommGenDriver.H.

Referenced by execute().

◆ volName

std::string NEM::DRV::RocPartCommGenDriver::volName {}

Definition at line 43 of file RocPartCommGenDriver.H.

Referenced by execute().


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