Panzer  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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_Interface
buildMesh (stk::ParallelMachine parallelMach) const =0
 
virtual Teuchos::RCP
< STK_Interface
buildUncommitedMesh (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
 
- Public Member Functions inherited from Teuchos::ParameterListAcceptorDefaultBase
RCP< ParameterListgetNonconstParameterList ()
 
RCP< ParameterListunsetParameterList ()
 
RCP< const ParameterListgetParameterList () const
 
- Public Member Functions inherited from Teuchos::ParameterListAcceptor
virtual void setParameterList (const RCP< ParameterList > &paramList)=0
 
virtual RCP< const ParameterListgetValidParameters () 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_
 

Additional Inherited Members

- Protected Member Functions inherited from Teuchos::ParameterListAcceptorDefaultBase
void setMyParamList (const RCP< ParameterList > &paramList)
 
RCP< ParameterListgetMyNonconstParamList ()
 
RCP< const ParameterListgetMyParamList () const
 

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

panzer_stk::STK_MeshFactory::STK_MeshFactory ( )
inline

Definition at line 62 of file Panzer_STK_MeshFactory.hpp.

Member Function Documentation

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.

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.

virtual void panzer_stk::STK_MeshFactory::completeMeshConstruction ( STK_Interface mesh,
stk::ParallelMachine  parallelMach 
) const
pure virtual
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.

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.

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

Definition at line 99 of file Panzer_STK_MeshFactory.hpp.

Member Data Documentation

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

Definition at line 129 of file Panzer_STK_MeshFactory.hpp.

bool panzer_stk::STK_MeshFactory::enableRebalance_
protected

Definition at line 132 of file Panzer_STK_MeshFactory.hpp.

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: