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::CustomMeshFactory Class Reference

#include <Panzer_STK_CustomMeshFactory.hpp>

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

Public Member Functions

 CustomMeshFactory ()
 Constructor. More...
 
virtual ~CustomMeshFactory ()
 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...
 
- 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 initializeWithDefaults ()
 
void buildMetaData (STK_Interface &mesh) const
 
void buildElements (STK_Interface &mesh) const
 
void addSideSets (STK_Interface &mesh) const
 
void fillSolutionFieldData (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 Dimension_
 
int NumBlocks_
 
int NumNodesPerProc_
 
int * Nodes_
 
double * Coords_
 
int NumElementsPerProc_
 
int * BlockIDs_
 
int * Element2Nodes_
 
int OffsetToGlobalElementIDs_
 
double * ChargeDensity_
 
double * ElectricPotential_
 
unsigned int machRank_
 
unsigned int machSize_
 
- Protected Attributes inherited from panzer_stk::STK_MeshFactory
std::vector< Teuchos::RCP
< const PeriodicBC_MatcherBase > > 
periodicBCVec_
 
bool useBBoxSearch_
 
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, bool &useBBoxSearch)
 

Detailed Description

This builds a parallel mesh object with given mesh array structures Parameters

Definition at line 25 of file Panzer_STK_CustomMeshFactory.hpp.

Constructor & Destructor Documentation

panzer_stk::CustomMeshFactory::CustomMeshFactory ( )

Constructor.

Definition at line 20 of file Panzer_STK_CustomMeshFactory.cpp.

panzer_stk::CustomMeshFactory::~CustomMeshFactory ( )
virtual

Destructor.

Definition at line 26 of file Panzer_STK_CustomMeshFactory.cpp.

Member Function Documentation

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

Build the mesh object.

Implements panzer_stk::STK_MeshFactory.

Definition at line 32 of file Panzer_STK_CustomMeshFactory.cpp.

Teuchos::RCP< STK_Interface > panzer_stk::CustomMeshFactory::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 49 of file Panzer_STK_CustomMeshFactory.cpp.

void panzer_stk::CustomMeshFactory::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 68 of file Panzer_STK_CustomMeshFactory.cpp.

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

From ParameterListAcceptor.

Implements Teuchos::ParameterListAcceptor.

Definition at line 97 of file Panzer_STK_CustomMeshFactory.cpp.

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

From ParameterListAcceptor.

Reimplemented from Teuchos::ParameterListAcceptor.

Definition at line 129 of file Panzer_STK_CustomMeshFactory.cpp.

void panzer_stk::CustomMeshFactory::initializeWithDefaults ( )
protected

Definition at line 164 of file Panzer_STK_CustomMeshFactory.cpp.

void panzer_stk::CustomMeshFactory::buildMetaData ( STK_Interface mesh) const
protected

Definition at line 174 of file Panzer_STK_CustomMeshFactory.cpp.

void panzer_stk::CustomMeshFactory::buildElements ( STK_Interface mesh) const
protected

Definition at line 202 of file Panzer_STK_CustomMeshFactory.cpp.

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

Definition at line 243 of file Panzer_STK_CustomMeshFactory.cpp.

void panzer_stk::CustomMeshFactory::fillSolutionFieldData ( STK_Interface mesh) const
protected

Definition at line 296 of file Panzer_STK_CustomMeshFactory.cpp.

Member Data Documentation

int panzer_stk::CustomMeshFactory::Dimension_
protected

Definition at line 55 of file Panzer_STK_CustomMeshFactory.hpp.

int panzer_stk::CustomMeshFactory::NumBlocks_
protected

Definition at line 57 of file Panzer_STK_CustomMeshFactory.hpp.

int panzer_stk::CustomMeshFactory::NumNodesPerProc_
protected

Definition at line 59 of file Panzer_STK_CustomMeshFactory.hpp.

int* panzer_stk::CustomMeshFactory::Nodes_
protected

Definition at line 60 of file Panzer_STK_CustomMeshFactory.hpp.

double* panzer_stk::CustomMeshFactory::Coords_
protected

Definition at line 62 of file Panzer_STK_CustomMeshFactory.hpp.

int panzer_stk::CustomMeshFactory::NumElementsPerProc_
protected

Definition at line 64 of file Panzer_STK_CustomMeshFactory.hpp.

int* panzer_stk::CustomMeshFactory::BlockIDs_
protected

Definition at line 65 of file Panzer_STK_CustomMeshFactory.hpp.

int* panzer_stk::CustomMeshFactory::Element2Nodes_
protected

Definition at line 66 of file Panzer_STK_CustomMeshFactory.hpp.

int panzer_stk::CustomMeshFactory::OffsetToGlobalElementIDs_
protected

Definition at line 68 of file Panzer_STK_CustomMeshFactory.hpp.

double* panzer_stk::CustomMeshFactory::ChargeDensity_
protected

Definition at line 70 of file Panzer_STK_CustomMeshFactory.hpp.

double* panzer_stk::CustomMeshFactory::ElectricPotential_
protected

Definition at line 71 of file Panzer_STK_CustomMeshFactory.hpp.

unsigned int panzer_stk::CustomMeshFactory::machRank_
mutableprotected

Definition at line 73 of file Panzer_STK_CustomMeshFactory.hpp.

unsigned int panzer_stk::CustomMeshFactory::machSize_
mutableprotected

Definition at line 73 of file Panzer_STK_CustomMeshFactory.hpp.


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