Panzer
Version of the Day
|
#include <Panzer_STK_CubeHexMeshFactory.hpp>
Public Member Functions | |
CubeHexMeshFactory () | |
Constructor. More... | |
virtual | ~CubeHexMeshFactory () |
Destructor. More... | |
Teuchos::RCP< STK_Interface > | buildMesh (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 > ¶mList) |
From ParameterListAcceptor. More... | |
Teuchos::RCP< const Teuchos::ParameterList > | getValidParameters () const |
From ParameterListAcceptor. More... | |
Teuchos::Tuple< std::size_t, 3 > | procRankToProcTuple (std::size_t procRank) const |
what is the 3D tuple describe this processor distribution More... | |
![]() | |
STK_MeshFactory () | |
void | enableRebalance (bool enable, const Teuchos::RCP< const Teuchos::ParameterList > &rebalanceList=Teuchos::null) |
void | rebalance (STK_Interface &mesh) const |
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, int zBlock, STK_Interface &mesh) const |
std::pair< panzer::Ordinal64, panzer::Ordinal64 > | determineXElemSizeAndStart (int xBlock, unsigned int size, unsigned int rank) const |
std::pair< panzer::Ordinal64, panzer::Ordinal64 > | determineYElemSizeAndStart (int yBlock, unsigned int size, unsigned int rank) const |
std::pair< panzer::Ordinal64, panzer::Ordinal64 > | determineZElemSizeAndStart (int zBlock, unsigned int size, unsigned int rank) const |
void | addSides (STK_Interface &mesh) const |
void | addSideSets (STK_Interface &mesh) const |
void | addNodeSets (STK_Interface &mesh) const |
Protected Attributes | |
double | x0_ |
double | y0_ |
double | z0_ |
double | xf_ |
double | yf_ |
double | zf_ |
int | xBlocks_ |
int | yBlocks_ |
int | zBlocks_ |
panzer::Ordinal64 | nXElems_ |
panzer::Ordinal64 | nYElems_ |
panzer::Ordinal64 | nZElems_ |
int | xProcs_ |
int | yProcs_ |
int | zProcs_ |
unsigned int | machRank_ |
unsigned int | machSize_ |
bool | buildInterfaceSidesets_ |
bool | buildSubcells_ |
Teuchos::Tuple< std::size_t, 3 > | procTuple_ |
![]() | |
std::vector< Teuchos::RCP< const PeriodicBC_MatcherBase > > | periodicBCVec_ |
bool | enableRebalance_ |
Teuchos::RCP< const Teuchos::ParameterList > | rebalanceList_ |
Additional Inherited Members | |
![]() | |
static void | parsePeriodicBCList (const Teuchos::RCP< Teuchos::ParameterList > &pl, std::vector< Teuchos::RCP< const PeriodicBC_MatcherBase > > &periodicBC) |
This builds a parallel mesh object. Note that the local IDs are ordered by going up the z, then y axis and across the X-axis (in that order). See the SquareQuad mesh factory for more information.
Definition at line 59 of file Panzer_STK_CubeHexMeshFactory.hpp.
panzer_stk::CubeHexMeshFactory::CubeHexMeshFactory | ( | ) |
Constructor.
Definition at line 52 of file Panzer_STK_CubeHexMeshFactory.cpp.
|
virtual |
Destructor.
Definition at line 58 of file Panzer_STK_CubeHexMeshFactory.cpp.
|
virtual |
Build the mesh object.
Implements panzer_stk::STK_MeshFactory.
Definition at line 63 of file Panzer_STK_CubeHexMeshFactory.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 79 of file Panzer_STK_CubeHexMeshFactory.cpp.
|
virtual |
Finishes building a mesh object started by buildUncommitedMesh
.
Implements panzer_stk::STK_MeshFactory.
Definition at line 107 of file Panzer_STK_CubeHexMeshFactory.cpp.
void panzer_stk::CubeHexMeshFactory::setParameterList | ( | const Teuchos::RCP< Teuchos::ParameterList > & | paramList | ) |
From ParameterListAcceptor.
Definition at line 144 of file Panzer_STK_CubeHexMeshFactory.cpp.
Teuchos::RCP< const Teuchos::ParameterList > panzer_stk::CubeHexMeshFactory::getValidParameters | ( | ) | const |
From ParameterListAcceptor.
Definition at line 179 of file Panzer_STK_CubeHexMeshFactory.cpp.
Teuchos::Tuple< std::size_t, 3 > panzer_stk::CubeHexMeshFactory::procRankToProcTuple | ( | std::size_t | procRank | ) | const |
what is the 3D tuple describe this processor distribution
Convert processor rank to a tuple.
Definition at line 680 of file Panzer_STK_CubeHexMeshFactory.cpp.
|
protected |
Definition at line 218 of file Panzer_STK_CubeHexMeshFactory.cpp.
|
protected |
Definition at line 227 of file Panzer_STK_CubeHexMeshFactory.cpp.
|
protected |
Definition at line 278 of file Panzer_STK_CubeHexMeshFactory.cpp.
|
protected |
Definition at line 292 of file Panzer_STK_CubeHexMeshFactory.cpp.
|
protected |
Definition at line 355 of file Panzer_STK_CubeHexMeshFactory.cpp.
|
protected |
Definition at line 378 of file Panzer_STK_CubeHexMeshFactory.cpp.
|
protected |
Definition at line 404 of file Panzer_STK_CubeHexMeshFactory.cpp.
|
protected |
Definition at line 430 of file Panzer_STK_CubeHexMeshFactory.cpp.
|
protected |
Definition at line 508 of file Panzer_STK_CubeHexMeshFactory.cpp.
|
protected |
Definition at line 661 of file Panzer_STK_CubeHexMeshFactory.cpp.
|
protected |
Definition at line 97 of file Panzer_STK_CubeHexMeshFactory.hpp.
|
protected |
Definition at line 97 of file Panzer_STK_CubeHexMeshFactory.hpp.
|
protected |
Definition at line 97 of file Panzer_STK_CubeHexMeshFactory.hpp.
|
protected |
Definition at line 98 of file Panzer_STK_CubeHexMeshFactory.hpp.
|
protected |
Definition at line 98 of file Panzer_STK_CubeHexMeshFactory.hpp.
|
protected |
Definition at line 98 of file Panzer_STK_CubeHexMeshFactory.hpp.
|
protected |
Definition at line 100 of file Panzer_STK_CubeHexMeshFactory.hpp.
|
protected |
Definition at line 100 of file Panzer_STK_CubeHexMeshFactory.hpp.
|
protected |
Definition at line 100 of file Panzer_STK_CubeHexMeshFactory.hpp.
|
protected |
Definition at line 102 of file Panzer_STK_CubeHexMeshFactory.hpp.
|
protected |
Definition at line 102 of file Panzer_STK_CubeHexMeshFactory.hpp.
|
protected |
Definition at line 102 of file Panzer_STK_CubeHexMeshFactory.hpp.
|
mutableprotected |
Definition at line 104 of file Panzer_STK_CubeHexMeshFactory.hpp.
|
mutableprotected |
Definition at line 104 of file Panzer_STK_CubeHexMeshFactory.hpp.
|
mutableprotected |
Definition at line 104 of file Panzer_STK_CubeHexMeshFactory.hpp.
|
mutableprotected |
Definition at line 106 of file Panzer_STK_CubeHexMeshFactory.hpp.
|
mutableprotected |
Definition at line 106 of file Panzer_STK_CubeHexMeshFactory.hpp.
|
protected |
Definition at line 108 of file Panzer_STK_CubeHexMeshFactory.hpp.
|
protected |
Definition at line 109 of file Panzer_STK_CubeHexMeshFactory.hpp.
|
mutableprotected |
Definition at line 111 of file Panzer_STK_CubeHexMeshFactory.hpp.