Advanced Multi-Physics (AMP)
On-Line Documentation
Static Public Member Functions | List of all members
AMP::Mesh::MeshFactory Class Reference

Mesh factory class. More...

#include <MeshFactory.h>

Static Public Member Functions

static std::shared_ptr< Meshcreate (int64_t fid, AMP::IO::RestartManager *manager)
 Create the mesh from the restart file.
 
static std::shared_ptr< Meshcreate (std::shared_ptr< MeshParameters > parameters)
 Create the mesh from the parameters.
 
static MeshFactorygetFactory ()
 get a singleton instance of the factory
 
template<class MESH >
static void registerMesh (const std::string &name)
 Register a mesh with the factory.
 

Detailed Description

Mesh factory class.

Definition at line 31 of file MeshFactory.h.

Member Function Documentation

◆ create() [1/2]

static std::shared_ptr< Mesh > AMP::Mesh::MeshFactory::create ( int64_t  fid,
AMP::IO::RestartManager manager 
)
static

Create the mesh from the restart file.

◆ create() [2/2]

static std::shared_ptr< Mesh > AMP::Mesh::MeshFactory::create ( std::shared_ptr< MeshParameters parameters)
static

Create the mesh from the parameters.

◆ getFactory()

static MeshFactory & AMP::Mesh::MeshFactory::getFactory ( )
inlinestatic

get a singleton instance of the factory

Definition at line 35 of file MeshFactory.h.

◆ registerMesh()

template<class MESH >
static void AMP::Mesh::MeshFactory::registerMesh ( const std::string &  name)
inlinestatic

Register a mesh with the factory.

Definition at line 50 of file MeshFactory.h.


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



Advanced Multi-Physics (AMP)
Oak Ridge National Laboratory
Idaho National Laboratory
Los Alamos National Laboratory
This page automatically produced from the
source code by doxygen
Last updated: Tue Mar 10 2026 13:06:43.
Comments on this page