Panzer  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | 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]

Classes

struct  FieldContainer
 

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 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

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

Definition at line 57 of file Panzer_STK_CustomMeshFactory.hpp.

Constructor & Destructor Documentation

panzer_stk::CustomMeshFactory::CustomMeshFactory ( )

Constructor.

Definition at line 52 of file Panzer_STK_CustomMeshFactory.cpp.

panzer_stk::CustomMeshFactory::~CustomMeshFactory ( )
virtual

Destructor.

Definition at line 58 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 64 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 81 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 99 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 128 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 160 of file Panzer_STK_CustomMeshFactory.cpp.

void panzer_stk::CustomMeshFactory::initializeWithDefaults ( )
protected

Definition at line 195 of file Panzer_STK_CustomMeshFactory.cpp.

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

Definition at line 205 of file Panzer_STK_CustomMeshFactory.cpp.

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

Definition at line 233 of file Panzer_STK_CustomMeshFactory.cpp.

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

Definition at line 274 of file Panzer_STK_CustomMeshFactory.cpp.

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

Definition at line 327 of file Panzer_STK_CustomMeshFactory.cpp.

Member Data Documentation

int panzer_stk::CustomMeshFactory::Dimension_
protected

Definition at line 87 of file Panzer_STK_CustomMeshFactory.hpp.

int panzer_stk::CustomMeshFactory::NumBlocks_
protected

Definition at line 89 of file Panzer_STK_CustomMeshFactory.hpp.

int panzer_stk::CustomMeshFactory::NumNodesPerProc_
protected

Definition at line 91 of file Panzer_STK_CustomMeshFactory.hpp.

int* panzer_stk::CustomMeshFactory::Nodes_
protected

Definition at line 92 of file Panzer_STK_CustomMeshFactory.hpp.

double* panzer_stk::CustomMeshFactory::Coords_
protected

Definition at line 94 of file Panzer_STK_CustomMeshFactory.hpp.

int panzer_stk::CustomMeshFactory::NumElementsPerProc_
protected

Definition at line 96 of file Panzer_STK_CustomMeshFactory.hpp.

int* panzer_stk::CustomMeshFactory::BlockIDs_
protected

Definition at line 97 of file Panzer_STK_CustomMeshFactory.hpp.

int* panzer_stk::CustomMeshFactory::Element2Nodes_
protected

Definition at line 98 of file Panzer_STK_CustomMeshFactory.hpp.

int panzer_stk::CustomMeshFactory::OffsetToGlobalElementIDs_
protected

Definition at line 100 of file Panzer_STK_CustomMeshFactory.hpp.

double* panzer_stk::CustomMeshFactory::ChargeDensity_
protected

Definition at line 102 of file Panzer_STK_CustomMeshFactory.hpp.

double* panzer_stk::CustomMeshFactory::ElectricPotential_
protected

Definition at line 103 of file Panzer_STK_CustomMeshFactory.hpp.

unsigned int panzer_stk::CustomMeshFactory::machRank_
mutableprotected

Definition at line 122 of file Panzer_STK_CustomMeshFactory.hpp.

unsigned int panzer_stk::CustomMeshFactory::machSize_
mutableprotected

Definition at line 122 of file Panzer_STK_CustomMeshFactory.hpp.


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