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::MeshQualityDriver Class Referenceabstract

Detailed Description

Definition at line 43 of file MeshQualityDriver.H.

Public Member Functions

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...
 

Private Member Functions

jsoncons::string_view getProgramType () const override
 

Static Private Attributes

static constexpr const char * programType = "Mesh Quality"
 

Inherits NEM::DRV::NemDriver.

Inherited by NEM::DRV::CheckMeshQualDriver, and NEM::DRV::OptimizeMeshQualDriver.

Member Function Documentation

◆ execute()

◆ getProgramType()

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

Implements NEM::DRV::NemDriver.

Definition at line 38 of file MeshQualityDriver.C.

References programType.

38  {
39  return programType;
40 }
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

◆ programType

constexpr const char* NEM::DRV::MeshQualityDriver::programType = "Mesh Quality"
staticprivate

Definition at line 46 of file MeshQualityDriver.H.

Referenced by getProgramType().


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