Panzer
Version of the Day
|
#include <Panzer_STK_SquareQuadMeshFactory.hpp>
Protected Member Functions | |
void | initializeWithDefaults () |
void | buildMetaData (stk::ParallelMachine parallelMach, STK_Interface &mesh) const |
void | buildElements (stk::ParallelMachine parallelMach, STK_Interface &mesh) const |
void | buildBlock (stk::ParallelMachine machRank, 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 |
void | addNodeSets (STK_Interface &mesh) const |
void | addEdgeBlocks (STK_Interface &mesh) const |
Protected Member Functions inherited from Teuchos::ParameterListAcceptorDefaultBase | |
void | setMyParamList (const RCP< ParameterList > ¶mList) |
RCP< ParameterList > | getMyNonconstParamList () |
RCP< const ParameterList > | getMyParamList () const |
Protected Attributes | |
double | x0_ |
double | y0_ |
double | xf_ |
double | yf_ |
int | xBlocks_ |
int | yBlocks_ |
int | nXElems_ |
int | nYElems_ |
int | xProcs_ |
int | yProcs_ |
unsigned int | machRank_ |
unsigned int | machSize_ |
Teuchos::Tuple< std::size_t, 2 > | procTuple_ |
bool | createEdgeBlocks_ |
bool | offsetGIDs_ |
If true, offset mesh GIDs to exercise 32-bit limits. More... | |
stk::mesh::EntityId | offset_ |
std::string | edgeBlockName_ |
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) |
This builds a parallel mesh object. Note that the local IDs are ordered by going up the y axis and across the X-axis (in that order). For a mesh with two X blocks and one Y-block, with each block composed of 3x2 elements the numbering looks like:
8 9 10 11 4 5 6 7 0 1 2 3
Definition at line 32 of file Panzer_STK_SquareQuadMeshFactory.hpp.
panzer_stk::SquareQuadMeshFactory::SquareQuadMeshFactory | ( | bool | enableRebalance = false | ) |
Constructor.
Definition at line 23 of file Panzer_STK_SquareQuadMeshFactory.cpp.
panzer_stk::SquareQuadMeshFactory::~SquareQuadMeshFactory | ( | ) |
Destructor.
Definition at line 29 of file Panzer_STK_SquareQuadMeshFactory.cpp.
|
virtual |
Build the mesh object.
Implements panzer_stk::STK_MeshFactory.
Definition at line 34 of file Panzer_STK_SquareQuadMeshFactory.cpp.
|
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 50 of file Panzer_STK_SquareQuadMeshFactory.cpp.
|
virtual |
Finishes building a mesh object started by buildUncommitedMesh
.
Implements panzer_stk::STK_MeshFactory.
Definition at line 117 of file Panzer_STK_SquareQuadMeshFactory.cpp.
|
virtual |
From ParameterListAcceptor.
Implements Teuchos::ParameterListAcceptor.
Definition at line 153 of file Panzer_STK_SquareQuadMeshFactory.cpp.
|
virtual |
From ParameterListAcceptor.
Reimplemented from Teuchos::ParameterListAcceptor.
Definition at line 183 of file Panzer_STK_SquareQuadMeshFactory.cpp.
Teuchos::Tuple< std::size_t, 2 > panzer_stk::SquareQuadMeshFactory::procRankToProcTuple | ( | std::size_t | procRank | ) | const |
what is the 2D tuple describe this processor distribution
Convert processor rank to a tuple.
Definition at line 571 of file Panzer_STK_SquareQuadMeshFactory.cpp.
|
protected |
Definition at line 220 of file Panzer_STK_SquareQuadMeshFactory.cpp.
|
protected |
Definition at line 235 of file Panzer_STK_SquareQuadMeshFactory.cpp.
|
protected |
Definition at line 288 of file Panzer_STK_SquareQuadMeshFactory.cpp.
|
protected |
Definition at line 300 of file Panzer_STK_SquareQuadMeshFactory.cpp.
|
protected |
Definition at line 357 of file Panzer_STK_SquareQuadMeshFactory.cpp.
|
protected |
Definition at line 380 of file Panzer_STK_SquareQuadMeshFactory.cpp.
|
protected |
Definition at line 403 of file Panzer_STK_SquareQuadMeshFactory.cpp.
|
protected |
Definition at line 527 of file Panzer_STK_SquareQuadMeshFactory.cpp.
|
protected |
Definition at line 552 of file Panzer_STK_SquareQuadMeshFactory.cpp.
|
protected |
Definition at line 69 of file Panzer_STK_SquareQuadMeshFactory.hpp.
|
protected |
Definition at line 69 of file Panzer_STK_SquareQuadMeshFactory.hpp.
|
protected |
Definition at line 70 of file Panzer_STK_SquareQuadMeshFactory.hpp.
|
protected |
Definition at line 70 of file Panzer_STK_SquareQuadMeshFactory.hpp.
|
protected |
Definition at line 72 of file Panzer_STK_SquareQuadMeshFactory.hpp.
|
protected |
Definition at line 72 of file Panzer_STK_SquareQuadMeshFactory.hpp.
|
protected |
Definition at line 74 of file Panzer_STK_SquareQuadMeshFactory.hpp.
|
protected |
Definition at line 74 of file Panzer_STK_SquareQuadMeshFactory.hpp.
|
mutableprotected |
Definition at line 75 of file Panzer_STK_SquareQuadMeshFactory.hpp.
|
mutableprotected |
Definition at line 75 of file Panzer_STK_SquareQuadMeshFactory.hpp.
|
mutableprotected |
Definition at line 77 of file Panzer_STK_SquareQuadMeshFactory.hpp.
|
mutableprotected |
Definition at line 77 of file Panzer_STK_SquareQuadMeshFactory.hpp.
|
mutableprotected |
Definition at line 78 of file Panzer_STK_SquareQuadMeshFactory.hpp.
|
protected |
Definition at line 80 of file Panzer_STK_SquareQuadMeshFactory.hpp.
|
protected |
If true, offset mesh GIDs to exercise 32-bit limits.
Definition at line 83 of file Panzer_STK_SquareQuadMeshFactory.hpp.
|
mutableprotected |
Definition at line 84 of file Panzer_STK_SquareQuadMeshFactory.hpp.
|
protected |
Definition at line 86 of file Panzer_STK_SquareQuadMeshFactory.hpp.