Panzer
Version of the Day
|
#include <Panzer_STK_CubeTetMeshFactory.hpp>
Public Member Functions | |
CubeTetMeshFactory () | |
Constructor. More... | |
virtual | ~CubeTetMeshFactory () |
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< 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 |
std::pair< int, int > | determineZElemSizeAndStart (int zBlock, unsigned int size, unsigned int rank) const |
void | addSideSets (STK_Interface &mesh) const |
void | buildTetsOnHex (const Teuchos::Tuple< int, 3 > &meshDesc, const Teuchos::Tuple< int, 3 > &element, stk::mesh::Part *block, const std::vector< stk::mesh::EntityId > &h_nodes, STK_Interface &mesh) const |
Protected Attributes | |
double | x0_ |
double | y0_ |
double | z0_ |
double | xf_ |
double | yf_ |
double | zf_ |
int | xBlocks_ |
int | yBlocks_ |
int | zBlocks_ |
int | nXElems_ |
int | nYElems_ |
int | nZElems_ |
int | xProcs_ |
int | yProcs_ |
int | zProcs_ |
unsigned int | machRank_ |
unsigned int | machSize_ |
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 58 of file Panzer_STK_CubeTetMeshFactory.hpp.
panzer_stk::CubeTetMeshFactory::CubeTetMeshFactory | ( | ) |
Constructor.
Definition at line 52 of file Panzer_STK_CubeTetMeshFactory.cpp.
|
virtual |
Destructor.
Definition at line 58 of file Panzer_STK_CubeTetMeshFactory.cpp.
|
virtual |
Build the mesh object.
Implements panzer_stk::STK_MeshFactory.
Definition at line 63 of file Panzer_STK_CubeTetMeshFactory.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_CubeTetMeshFactory.cpp.
|
virtual |
Finishes building a mesh object started by buildUncommitedMesh
.
Implements panzer_stk::STK_MeshFactory.
Definition at line 107 of file Panzer_STK_CubeTetMeshFactory.cpp.
void panzer_stk::CubeTetMeshFactory::setParameterList | ( | const Teuchos::RCP< Teuchos::ParameterList > & | paramList | ) |
From ParameterListAcceptor.
Definition at line 129 of file Panzer_STK_CubeTetMeshFactory.cpp.
Teuchos::RCP< const Teuchos::ParameterList > panzer_stk::CubeTetMeshFactory::getValidParameters | ( | ) | const |
From ParameterListAcceptor.
Definition at line 160 of file Panzer_STK_CubeTetMeshFactory.cpp.
Teuchos::Tuple< std::size_t, 3 > panzer_stk::CubeTetMeshFactory::procRankToProcTuple | ( | std::size_t | procRank | ) | const |
what is the 3D tuple describe this processor distribution
Convert processor rank to a tuple.
Definition at line 537 of file Panzer_STK_CubeTetMeshFactory.cpp.
|
protected |
Definition at line 195 of file Panzer_STK_CubeTetMeshFactory.cpp.
|
protected |
Definition at line 204 of file Panzer_STK_CubeTetMeshFactory.cpp.
|
protected |
Definition at line 234 of file Panzer_STK_CubeTetMeshFactory.cpp.
|
protected |
Definition at line 248 of file Panzer_STK_CubeTetMeshFactory.cpp.
|
protected |
Definition at line 375 of file Panzer_STK_CubeTetMeshFactory.cpp.
|
protected |
Definition at line 398 of file Panzer_STK_CubeTetMeshFactory.cpp.
|
protected |
Definition at line 424 of file Panzer_STK_CubeTetMeshFactory.cpp.
|
protected |
Definition at line 449 of file Panzer_STK_CubeTetMeshFactory.cpp.
|
protected |
Definition at line 312 of file Panzer_STK_CubeTetMeshFactory.cpp.
|
protected |
Definition at line 100 of file Panzer_STK_CubeTetMeshFactory.hpp.
|
protected |
Definition at line 100 of file Panzer_STK_CubeTetMeshFactory.hpp.
|
protected |
Definition at line 100 of file Panzer_STK_CubeTetMeshFactory.hpp.
|
protected |
Definition at line 101 of file Panzer_STK_CubeTetMeshFactory.hpp.
|
protected |
Definition at line 101 of file Panzer_STK_CubeTetMeshFactory.hpp.
|
protected |
Definition at line 101 of file Panzer_STK_CubeTetMeshFactory.hpp.
|
protected |
Definition at line 103 of file Panzer_STK_CubeTetMeshFactory.hpp.
|
protected |
Definition at line 103 of file Panzer_STK_CubeTetMeshFactory.hpp.
|
protected |
Definition at line 103 of file Panzer_STK_CubeTetMeshFactory.hpp.
|
protected |
Definition at line 105 of file Panzer_STK_CubeTetMeshFactory.hpp.
|
protected |
Definition at line 105 of file Panzer_STK_CubeTetMeshFactory.hpp.
|
protected |
Definition at line 105 of file Panzer_STK_CubeTetMeshFactory.hpp.
|
mutableprotected |
Definition at line 107 of file Panzer_STK_CubeTetMeshFactory.hpp.
|
mutableprotected |
Definition at line 107 of file Panzer_STK_CubeTetMeshFactory.hpp.
|
mutableprotected |
Definition at line 107 of file Panzer_STK_CubeTetMeshFactory.hpp.
|
mutableprotected |
Definition at line 109 of file Panzer_STK_CubeTetMeshFactory.hpp.
|
mutableprotected |
Definition at line 109 of file Panzer_STK_CubeTetMeshFactory.hpp.
|
mutableprotected |
Definition at line 111 of file Panzer_STK_CubeTetMeshFactory.hpp.