Panzer  Version of the Day
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
panzer_stk::STK_MeshFactory Class Referenceabstract

#include <Panzer_STK_MeshFactory.hpp>

Inheritance diagram for panzer_stk::STK_MeshFactory:
Inheritance graph
[legend]

Public Member Functions

 STK_MeshFactory ()
 
virtual Teuchos::RCP< STK_InterfacebuildMesh (stk::ParallelMachine parallelMach) const =0
 
virtual Teuchos::RCP< STK_InterfacebuildUncommitedMesh (stk::ParallelMachine parallelMach) const =0
 
virtual void completeMeshConstruction (STK_Interface &mesh, stk::ParallelMachine parallelMach) const =0
 
void enableRebalance (bool enable, const Teuchos::RCP< const Teuchos::ParameterList > &rebalanceList=Teuchos::null)
 
void rebalance (STK_Interface &mesh) const
 

Static Public Member Functions

static void parsePeriodicBCList (const Teuchos::RCP< Teuchos::ParameterList > &pl, std::vector< Teuchos::RCP< const PeriodicBC_MatcherBase > > &periodicBC)
 

Protected Attributes

std::vector< Teuchos::RCP< const PeriodicBC_MatcherBase > > periodicBCVec_
 
bool enableRebalance_
 
Teuchos::RCP< const Teuchos::ParameterList > rebalanceList_
 

Detailed Description

Pure virtual interface that constructs a STK_Mesh interface object.

Definition at line 60 of file Panzer_STK_MeshFactory.hpp.

Constructor & Destructor Documentation

◆ STK_MeshFactory()

panzer_stk::STK_MeshFactory::STK_MeshFactory ( )
inline

Definition at line 62 of file Panzer_STK_MeshFactory.hpp.

Member Function Documentation

◆ buildMesh()

virtual Teuchos::RCP<STK_Interface> panzer_stk::STK_MeshFactory::buildMesh ( stk::ParallelMachine  parallelMach) const
pure virtual

Construct a STK_Inteface object described by this factory.

Parameters
[in]parallelMachDescriptor for machine to build this mesh on.
Returns
Pointer to STK_Interface object with isModifiable()==false.

Implemented in panzer_stk::SquareQuadMeshFactory, panzer_stk::SquareTriMeshFactory, panzer_stk::SculptMeshFactory, panzer_stk::CubeHexMeshFactory, panzer_stk::CubeTetMeshFactory, panzer_stk::CustomMeshFactory, panzer_stk::LineMeshFactory, and panzer_stk::MultiBlockMeshFactory.

◆ buildUncommitedMesh()

virtual Teuchos::RCP<STK_Interface> panzer_stk::STK_MeshFactory::buildUncommitedMesh ( stk::ParallelMachine  parallelMach) const
pure virtual

This builds all the meta data of the mesh. Does not call metaData->commit. Allows user to add solution fields and other pieces. The mesh can be "completed" by calling completeMeshConstruction.

Implemented in panzer_stk::SquareQuadMeshFactory, panzer_stk::SquareTriMeshFactory, panzer_stk::CubeHexMeshFactory, panzer_stk::SculptMeshFactory, panzer_stk::CubeTetMeshFactory, panzer_stk::CustomMeshFactory, panzer_stk::LineMeshFactory, and panzer_stk::MultiBlockMeshFactory.

◆ completeMeshConstruction()

virtual void panzer_stk::STK_MeshFactory::completeMeshConstruction ( STK_Interface mesh,
stk::ParallelMachine  parallelMach 
) const
pure virtual

◆ parsePeriodicBCList()

static void panzer_stk::STK_MeshFactory::parsePeriodicBCList ( const Teuchos::RCP< Teuchos::ParameterList > &  pl,
std::vector< Teuchos::RCP< const PeriodicBC_MatcherBase > > &  periodicBC 
)
inlinestatic

Parse the periodic boundary condition parameter list and build a vector of periodic boundary conditions (a convenience function)

Definition at line 87 of file Panzer_STK_MeshFactory.hpp.

◆ enableRebalance()

void panzer_stk::STK_MeshFactory::enableRebalance ( bool  enable,
const Teuchos::RCP< const Teuchos::ParameterList > &  rebalanceList = Teuchos::null 
)
inline

Definition at line 95 of file Panzer_STK_MeshFactory.hpp.

◆ rebalance()

void panzer_stk::STK_MeshFactory::rebalance ( STK_Interface mesh) const
inline

Definition at line 99 of file Panzer_STK_MeshFactory.hpp.

Member Data Documentation

◆ periodicBCVec_

std::vector<Teuchos::RCP<const PeriodicBC_MatcherBase> > panzer_stk::STK_MeshFactory::periodicBCVec_
protected

Definition at line 129 of file Panzer_STK_MeshFactory.hpp.

◆ enableRebalance_

bool panzer_stk::STK_MeshFactory::enableRebalance_
protected

Definition at line 132 of file Panzer_STK_MeshFactory.hpp.

◆ rebalanceList_

Teuchos::RCP<const Teuchos::ParameterList> panzer_stk::STK_MeshFactory::rebalanceList_
protected

Definition at line 133 of file Panzer_STK_MeshFactory.hpp.


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