WARPXM v1.10.0
Loading...
Searching...
No Matches
wxm::mesh::mesh Class Referenceabstract

Base class for handling input meshes. More...

#include <mesh.h>

Inheritance diagram for wxm::mesh::mesh:
wxm::mesh::arb_mesh wxm::mesh::block_mesh

Detailed Description

Base class for handling input meshes.

Parameters
Typemesh
OutputMeshPrefixprefix to use for restart meshes
NodalMeshPrefixprefix to use for nodal DG restart nodes
PeriodicBoundarieslist of names for periodic boundary nodesets
NumLayersnumber of ghost layers

Public Member Functions

 mesh ()
 
virtual ~mesh ()
 
void setup (const WxCryptSet &wxc, WmDomain &domain)
 Setup the mesh.
 

Protected Member Functions

virtual void setup_impl (const WxCryptSet &wxc, UCDomain::periodicBoundaryList_t &pBL, UCDomain &d, WmDomain &domain)=0
 Subclass should implement this to properly setup the mesh.
 

Protected Attributes

int num_layers
 Number of ghost layers.
 
std::string output_mesh_prefix
 Prefix to use for handling restart meshes.
 

Constructor & Destructor Documentation

◆ mesh()

wxm::mesh::mesh::mesh ( )

◆ ~mesh()

virtual wxm::mesh::mesh::~mesh ( )
virtual

Member Function Documentation

◆ setup()

void wxm::mesh::mesh::setup ( const WxCryptSet wxc,
WmDomain domain 
)

Setup the mesh.

Parameters
wxc

◆ setup_impl()

virtual void wxm::mesh::mesh::setup_impl ( const WxCryptSet wxc,
UCDomain::periodicBoundaryList_t &  pBL,
UCDomain &  d,
WmDomain domain 
)
protectedpure virtual

Subclass should implement this to properly setup the mesh.

Parameters
wxcinput crypt set
pBLlist of periodic boundary pairs
UCDomainunstructured converter domain to read data into

Implemented in wxm::mesh::arb_mesh, and wxm::mesh::block_mesh.

Member Data Documentation

◆ num_layers

int wxm::mesh::mesh::num_layers
protected

Number of ghost layers.

◆ output_mesh_prefix

std::string wxm::mesh::mesh::output_mesh_prefix
protected

Prefix to use for handling restart meshes.


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