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

This class drives the flow of pack meshing by using parameters provided by users. More...

Detailed Description

It supports two different meshing pipelines. First being hexahedral conformal meshing and second is tetrahedral periodic as well as non-priodic meshing.

Tetrahedral periodic meshing pipeline operates within rocPack class and uses Netgen mesh optimization for final mesh quality improvement if needed.

  • Geometry generation using RocPack output file.
  • Enforcing periodicity in geometry for periodic mesh
  • Mapping periodic surfaces and points with their counterparts.
  • Meshing the geometry tetrahedrally while enforcing periodic boundary

boundary conditions.

  • Exporting final mesh with or without optimization.

Definition at line 56 of file PackMeshDriver.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...
 

Protected Member Functions

 PackMeshDriver ()=default
 

Private Member Functions

jsoncons::string_view getProgramType () const override
 

Static Private Attributes

static constexpr const char * programType = "Pack Mesh Generation"
 

Inherits NEM::DRV::NemDriver.

Inherited by NEM::DRV::HexPackMeshDriver, and NEM::DRV::SurfacePackMeshDriver.

Constructor & Destructor Documentation

◆ PackMeshDriver()

NEM::DRV::PackMeshDriver::PackMeshDriver ( )
protecteddefault

Member Function Documentation

◆ execute()

◆ getProgramType()

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

Implements NEM::DRV::NemDriver.

Definition at line 34 of file PackMeshDriver.C.

References programType.

34  {
35  return programType;
36 }
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::PackMeshDriver::programType = "Pack Mesh Generation"
staticprivate

Definition at line 62 of file PackMeshDriver.H.

Referenced by getProgramType().


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