Panzer  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
panzer_stk::MultiBlockMeshFactory Class Reference

#include <Panzer_STK_MultiBlockMeshFactory.hpp>

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

Public Member Functions

 MultiBlockMeshFactory ()
 Constructor. More...
 
 ~MultiBlockMeshFactory ()
 Destructor. More...
 
Teuchos::RCP< STK_InterfacebuildMesh (stk::ParallelMachine parallelMach) const
 Build the mesh object. More...
 
virtual Teuchos::RCP
< STK_Interface
buildUncommitedMesh (stk::ParallelMachine parallelMach) const
 
virtual void completeMeshConstruction (STK_Interface &mesh, stk::ParallelMachine parallelMach) const
 
void setParameterList (const Teuchos::RCP< Teuchos::ParameterList > &paramList)
 From ParameterListAcceptor. More...
 
Teuchos::RCP< const
Teuchos::ParameterList
getValidParameters () const
 From ParameterListAcceptor. More...
 
void initializeWithDefaults ()
 
- Public Member Functions inherited from panzer_stk::STK_MeshFactory
 STK_MeshFactory ()
 
void enableRebalance (bool enable, const Teuchos::RCP< const Teuchos::ParameterList > &rebalanceList=Teuchos::null)
 
void rebalance (STK_Interface &mesh) const
 
double getMeshCoord (const int nx, const double deltaX, const double x0) const
 
- Public Member Functions inherited from Teuchos::ParameterListAcceptorDefaultBase
RCP< ParameterListgetNonconstParameterList ()
 
RCP< ParameterListunsetParameterList ()
 
RCP< const ParameterListgetParameterList () const
 

Protected Member Functions

void buildMetaData (stk::ParallelMachine parallelMach, STK_Interface &mesh) const
 
void buildElements (stk::ParallelMachine parallelMach, STK_Interface &mesh) const
 
void buildBlock (stk::ParallelMachine parallelMach, int xBlock, int yBlock, STK_Interface &mesh) const
 
std::pair< int, int > determineXElemSizeAndStart (int xBlock, unsigned int size, unsigned int rank) const
 
std::pair< int, int > determineYElemSizeAndStart (int yBlock, unsigned int size, unsigned int rank) const
 
void addSideSets (STK_Interface &mesh) const
 
- Protected Member Functions inherited from Teuchos::ParameterListAcceptorDefaultBase
void setMyParamList (const RCP< ParameterList > &paramList)
 
RCP< ParameterListgetMyNonconstParamList ()
 
RCP< const ParameterListgetMyParamList () const
 

Protected Attributes

int nXElems_
 
int nYElems_
 
unsigned int machRank_
 
unsigned int machSize_
 
- Protected Attributes inherited from panzer_stk::STK_MeshFactory
std::vector< Teuchos::RCP
< const PeriodicBC_MatcherBase > > 
periodicBCVec_
 
bool enableRebalance_
 
Teuchos::RCP< const
Teuchos::ParameterList
rebalanceList_
 

Additional Inherited Members

- Static Public Member Functions inherited from panzer_stk::STK_MeshFactory
static void parsePeriodicBCList (const Teuchos::RCP< Teuchos::ParameterList > &pl, std::vector< Teuchos::RCP< const PeriodicBC_MatcherBase > > &periodicBC)
 

Detailed Description

Definition at line 53 of file Panzer_STK_MultiBlockMeshFactory.hpp.

Constructor & Destructor Documentation

panzer_stk::MultiBlockMeshFactory::MultiBlockMeshFactory ( )

Constructor.

Definition at line 50 of file Panzer_STK_MultiBlockMeshFactory.cpp.

panzer_stk::MultiBlockMeshFactory::~MultiBlockMeshFactory ( )

Destructor.

Definition at line 56 of file Panzer_STK_MultiBlockMeshFactory.cpp.

Member Function Documentation

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

Build the mesh object.

Implements panzer_stk::STK_MeshFactory.

Definition at line 61 of file Panzer_STK_MultiBlockMeshFactory.cpp.

Teuchos::RCP< STK_Interface > panzer_stk::MultiBlockMeshFactory::buildUncommitedMesh ( stk::ParallelMachine  parallelMach) const
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.

Implements panzer_stk::STK_MeshFactory.

Definition at line 75 of file Panzer_STK_MultiBlockMeshFactory.cpp.

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

Finishes building a mesh object started by buildUncommitedMesh.

Implements panzer_stk::STK_MeshFactory.

Definition at line 88 of file Panzer_STK_MultiBlockMeshFactory.cpp.

void panzer_stk::MultiBlockMeshFactory::setParameterList ( const Teuchos::RCP< Teuchos::ParameterList > &  paramList)
virtual

From ParameterListAcceptor.

Implements Teuchos::ParameterListAcceptor.

Definition at line 108 of file Panzer_STK_MultiBlockMeshFactory.cpp.

Teuchos::RCP< const Teuchos::ParameterList > panzer_stk::MultiBlockMeshFactory::getValidParameters ( ) const
virtual

From ParameterListAcceptor.

Reimplemented from Teuchos::ParameterListAcceptor.

Definition at line 113 of file Panzer_STK_MultiBlockMeshFactory.cpp.

void panzer_stk::MultiBlockMeshFactory::initializeWithDefaults ( )

Definition at line 128 of file Panzer_STK_MultiBlockMeshFactory.cpp.

void panzer_stk::MultiBlockMeshFactory::buildMetaData ( stk::ParallelMachine  parallelMach,
STK_Interface mesh 
) const
protected

Definition at line 134 of file Panzer_STK_MultiBlockMeshFactory.cpp.

void panzer_stk::MultiBlockMeshFactory::buildElements ( stk::ParallelMachine  parallelMach,
STK_Interface mesh 
) const
protected

Definition at line 158 of file Panzer_STK_MultiBlockMeshFactory.cpp.

void panzer_stk::MultiBlockMeshFactory::buildBlock ( stk::ParallelMachine  parallelMach,
int  xBlock,
int  yBlock,
STK_Interface mesh 
) const
protected

Definition at line 173 of file Panzer_STK_MultiBlockMeshFactory.cpp.

std::pair< int, int > panzer_stk::MultiBlockMeshFactory::determineXElemSizeAndStart ( int  xBlock,
unsigned int  size,
unsigned int  rank 
) const
protected

Definition at line 221 of file Panzer_STK_MultiBlockMeshFactory.cpp.

std::pair< int, int > panzer_stk::MultiBlockMeshFactory::determineYElemSizeAndStart ( int  yBlock,
unsigned int  size,
unsigned int  rank 
) const
protected

Definition at line 243 of file Panzer_STK_MultiBlockMeshFactory.cpp.

void panzer_stk::MultiBlockMeshFactory::addSideSets ( STK_Interface mesh) const
protected

Definition at line 250 of file Panzer_STK_MultiBlockMeshFactory.cpp.

Member Data Documentation

int panzer_stk::MultiBlockMeshFactory::nXElems_
protected

Definition at line 83 of file Panzer_STK_MultiBlockMeshFactory.hpp.

int panzer_stk::MultiBlockMeshFactory::nYElems_
protected

Definition at line 84 of file Panzer_STK_MultiBlockMeshFactory.hpp.

unsigned int panzer_stk::MultiBlockMeshFactory::machRank_
mutableprotected

Definition at line 85 of file Panzer_STK_MultiBlockMeshFactory.hpp.

unsigned int panzer_stk::MultiBlockMeshFactory::machSize_
mutableprotected

Definition at line 85 of file Panzer_STK_MultiBlockMeshFactory.hpp.


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