Panzer
Version of the Day
|
#include <Panzer_STK_Quad8ToQuad4MeshFactory.hpp>
Public Member Functions | |
Quad8ToQuad4MeshFactory (const std::string &quad8MeshFileName, stk::ParallelMachine mpi_comm=MPI_COMM_WORLD, const bool print_debug=false) | |
Quad8ToQuad4MeshFactory (const Teuchos::RCP< panzer_stk::STK_Interface > &quad8Mesh, const bool print_debug=false) | |
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) |
Derived from ParameterListAcceptor. More... | |
Teuchos::RCP< const Teuchos::ParameterList > | getValidParameters () const |
Derived 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< ParameterList > | getNonconstParameterList () |
RCP< ParameterList > | unsetParameterList () |
RCP< const ParameterList > | getParameterList () const |
Protected Member Functions | |
void | buildMetaData (stk::ParallelMachine parallelMach, STK_Interface &mesh) const |
void | buildElements (stk::ParallelMachine parallelMach, STK_Interface &mesh) const |
void | addSideSets (STK_Interface &mesh) const |
void | addNodeSets (STK_Interface &mesh) const |
void | addEdgeBlocks (STK_Interface &mesh) const |
void | copyCellFieldData (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 | |
Teuchos::RCP < panzer_stk::STK_Interface > | quad8Mesh_ |
unsigned int | machRank_ |
unsigned int | machSize_ |
bool | createEdgeBlocks_ |
bool | offsetGIDs_ |
If true, offset mesh GIDs to exercise 32-bit limits. More... | |
stk::mesh::EntityId | offset_ |
bool | print_debug_ |
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 class reads in a Quad8 mesh and converts it to a Quad4 mesh. It will create the cells/nodes/edges, copy the sideset and nodeset data, and copy a list of user provided cell (not nodal) field data into the mesh.
Definition at line 28 of file Panzer_STK_Quad8ToQuad4MeshFactory.hpp.
panzer_stk::Quad8ToQuad4MeshFactory::Quad8ToQuad4MeshFactory | ( | const std::string & | quad8MeshFileName, |
stk::ParallelMachine | mpi_comm = MPI_COMM_WORLD , |
||
const bool | print_debug = false |
||
) |
Definition at line 27 of file Panzer_STK_Quad8ToQuad4MeshFactory.cpp.
panzer_stk::Quad8ToQuad4MeshFactory::Quad8ToQuad4MeshFactory | ( | const Teuchos::RCP< panzer_stk::STK_Interface > & | quad8Mesh, |
const bool | print_debug = false |
||
) |
Definition at line 42 of file Panzer_STK_Quad8ToQuad4MeshFactory.cpp.
|
virtual |
Build the mesh object.
Implements panzer_stk::STK_MeshFactory.
Definition at line 52 of file Panzer_STK_Quad8ToQuad4MeshFactory.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 75 of file Panzer_STK_Quad8ToQuad4MeshFactory.cpp.
|
virtual |
Finishes building a mesh object started by buildUncommitedMesh
.
Implements panzer_stk::STK_MeshFactory.
Definition at line 93 of file Panzer_STK_Quad8ToQuad4MeshFactory.cpp.
|
virtual |
Derived from ParameterListAcceptor.
From ParameterListAcceptor.
Implements Teuchos::ParameterListAcceptor.
Definition at line 132 of file Panzer_STK_Quad8ToQuad4MeshFactory.cpp.
|
virtual |
Derived from ParameterListAcceptor.
From ParameterListAcceptor.
Reimplemented from Teuchos::ParameterListAcceptor.
Definition at line 147 of file Panzer_STK_Quad8ToQuad4MeshFactory.cpp.
|
protected |
Definition at line 169 of file Panzer_STK_Quad8ToQuad4MeshFactory.cpp.
|
protected |
Definition at line 255 of file Panzer_STK_Quad8ToQuad4MeshFactory.cpp.
|
protected |
Definition at line 320 of file Panzer_STK_Quad8ToQuad4MeshFactory.cpp.
|
protected |
Definition at line 349 of file Panzer_STK_Quad8ToQuad4MeshFactory.cpp.
|
protected |
Definition at line 352 of file Panzer_STK_Quad8ToQuad4MeshFactory.cpp.
|
protected |
Definition at line 370 of file Panzer_STK_Quad8ToQuad4MeshFactory.cpp.
|
protected |
Definition at line 58 of file Panzer_STK_Quad8ToQuad4MeshFactory.hpp.
|
mutableprotected |
Definition at line 60 of file Panzer_STK_Quad8ToQuad4MeshFactory.hpp.
|
mutableprotected |
Definition at line 60 of file Panzer_STK_Quad8ToQuad4MeshFactory.hpp.
|
protected |
Definition at line 62 of file Panzer_STK_Quad8ToQuad4MeshFactory.hpp.
|
protected |
If true, offset mesh GIDs to exercise 32-bit limits.
Definition at line 65 of file Panzer_STK_Quad8ToQuad4MeshFactory.hpp.
|
mutableprotected |
Definition at line 66 of file Panzer_STK_Quad8ToQuad4MeshFactory.hpp.
|
protected |
Definition at line 68 of file Panzer_STK_Quad8ToQuad4MeshFactory.hpp.
|
protected |
Definition at line 70 of file Panzer_STK_Quad8ToQuad4MeshFactory.hpp.