Panzer Version of the Day
|
#include <Panzer_STK_LineMeshFactory.hpp>
Public Member Functions | |
LineMeshFactory () | |
Constructor. | |
~LineMeshFactory () | |
Destructor. | |
Teuchos::RCP< STK_Interface > | buildMesh (stk::ParallelMachine parallelMach) const |
Build the mesh object. | |
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. | |
Teuchos::RCP< const Teuchos::ParameterList > | getValidParameters () const |
From ParameterListAcceptor. | |
Teuchos::Tuple< std::size_t, 2 > | procRankToProcTuple (std::size_t procRank) const |
what is the 2D tuple describe this processor distribution | |
![]() | |
STK_MeshFactory () | |
virtual Teuchos::RCP< STK_Interface > | buildMesh (stk::ParallelMachine parallelMach) const =0 |
virtual Teuchos::RCP< STK_Interface > | buildUncommitedMesh (stk::ParallelMachine parallelMach) const =0 |
virtual void | completeMeshConstruction (STK_Interface &mesh, stk::ParallelMachine parallelMach) const =0 |
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 |
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, STK_Interface &mesh) const |
std::pair< int, int > | determineXElemSizeAndStart (int xBlock, unsigned int size, unsigned int rank) const |
void | addSideSets (STK_Interface &mesh) const |
Protected Attributes | |
double | x0_ |
double | xf_ |
int | xBlocks_ |
int | nXElems_ |
unsigned int | machRank_ |
unsigned int | machSize_ |
Teuchos::Tuple< std::size_t, 2 > | procTuple_ |
![]() | |
std::vector< Teuchos::RCP< const PeriodicBC_MatcherBase > > | periodicBCVec_ |
bool | useBBoxSearch_ |
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, bool &useBBoxSearch) |
This builds a parallel mesh object. Note that the local IDs are ordered by going left to right across the X-axis.
Definition at line 57 of file Panzer_STK_LineMeshFactory.hpp.
panzer_stk::LineMeshFactory::LineMeshFactory | ( | ) |
Constructor.
Definition at line 52 of file Panzer_STK_LineMeshFactory.cpp.
panzer_stk::LineMeshFactory::~LineMeshFactory | ( | ) |
Destructor.
Definition at line 58 of file Panzer_STK_LineMeshFactory.cpp.
|
virtual |
Build the mesh object.
Implements panzer_stk::STK_MeshFactory.
Definition at line 63 of file Panzer_STK_LineMeshFactory.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_LineMeshFactory.cpp.
|
virtual |
Finishes building a mesh object started by buildUncommitedMesh
.
Implements panzer_stk::STK_MeshFactory.
Definition at line 99 of file Panzer_STK_LineMeshFactory.cpp.
void panzer_stk::LineMeshFactory::setParameterList | ( | const Teuchos::RCP< Teuchos::ParameterList > & | paramList | ) |
From ParameterListAcceptor.
Definition at line 121 of file Panzer_STK_LineMeshFactory.cpp.
Teuchos::RCP< const Teuchos::ParameterList > panzer_stk::LineMeshFactory::getValidParameters | ( | ) | const |
From ParameterListAcceptor.
Definition at line 137 of file Panzer_STK_LineMeshFactory.cpp.
Teuchos::Tuple< std::size_t, 2 > panzer_stk::LineMeshFactory::procRankToProcTuple | ( | std::size_t | procRank | ) | const |
what is the 2D tuple describe this processor distribution
Convert processor rank to a tuple.
Definition at line 303 of file Panzer_STK_LineMeshFactory.cpp.
|
protected |
Definition at line 157 of file Panzer_STK_LineMeshFactory.cpp.
|
protected |
Definition at line 166 of file Panzer_STK_LineMeshFactory.cpp.
|
protected |
Definition at line 190 of file Panzer_STK_LineMeshFactory.cpp.
|
protected |
Definition at line 200 of file Panzer_STK_LineMeshFactory.cpp.
|
protected |
Definition at line 234 of file Panzer_STK_LineMeshFactory.cpp.
|
protected |
Definition at line 257 of file Panzer_STK_LineMeshFactory.cpp.
|
protected |
Definition at line 91 of file Panzer_STK_LineMeshFactory.hpp.
|
protected |
Definition at line 92 of file Panzer_STK_LineMeshFactory.hpp.
|
protected |
Definition at line 94 of file Panzer_STK_LineMeshFactory.hpp.
|
protected |
Definition at line 96 of file Panzer_STK_LineMeshFactory.hpp.
|
mutableprotected |
Definition at line 98 of file Panzer_STK_LineMeshFactory.hpp.
|
protected |
Definition at line 98 of file Panzer_STK_LineMeshFactory.hpp.
|
mutableprotected |
Definition at line 99 of file Panzer_STK_LineMeshFactory.hpp.