|
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) | |
| Construct by reading the Quad8 mesh from the given Exodus file. | |
| Quad8ToQuad4MeshFactory (const Teuchos::RCP< panzer_stk::STK_Interface > &quad8Mesh, const bool print_debug=false) | |
| Construct from an already-built Quad8 STK_Interface mesh. | |
| 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) |
| Derived from ParameterListAcceptor. | |
| Teuchos::RCP< const Teuchos::ParameterList > | getValidParameters () const |
| Derived from ParameterListAcceptor. | |
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 |
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 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. | |
| 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 |
||
| ) |
Construct by reading the Quad8 mesh from the given Exodus file.
| [in] | quad8MeshFileName | Exodus file to read the Quad8 mesh from. |
| [in] | mpi_comm | the MPI communicator to build the mesh on. |
| [in] | print_debug | if true, prints debug diagnostics while converting the mesh. |
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 |
||
| ) |
Construct from an already-built Quad8 STK_Interface mesh.
| [in] | quad8Mesh | the already-built Quad8 mesh to convert. |
| [in] | print_debug | if true, prints debug diagnostics while converting the mesh. |
Definition at line 42 of file Panzer_STK_Quad8ToQuad4MeshFactory.cpp.
|
virtual |
Build the mesh object.
Build the mesh object
| [in] | parallelMach | descriptor for the STK parallel machine to build this mesh on. |
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.
| void panzer_stk::Quad8ToQuad4MeshFactory::setParameterList | ( | const Teuchos::RCP< Teuchos::ParameterList > & | paramList | ) |
Derived from ParameterListAcceptor.
From ParameterListAcceptor.
Definition at line 132 of file Panzer_STK_Quad8ToQuad4MeshFactory.cpp.
| Teuchos::RCP< const Teuchos::ParameterList > panzer_stk::Quad8ToQuad4MeshFactory::getValidParameters | ( | ) | const |
Derived from ParameterListAcceptor.
From 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 71 of file Panzer_STK_Quad8ToQuad4MeshFactory.hpp.
|
mutableprotected |
Definition at line 73 of file Panzer_STK_Quad8ToQuad4MeshFactory.hpp.
|
protected |
Definition at line 73 of file Panzer_STK_Quad8ToQuad4MeshFactory.hpp.
|
protected |
Definition at line 75 of file Panzer_STK_Quad8ToQuad4MeshFactory.hpp.
|
protected |
If true, offset mesh GIDs to exercise 32-bit limits.
Definition at line 78 of file Panzer_STK_Quad8ToQuad4MeshFactory.hpp.
|
mutableprotected |
Definition at line 79 of file Panzer_STK_Quad8ToQuad4MeshFactory.hpp.
|
protected |
Definition at line 81 of file Panzer_STK_Quad8ToQuad4MeshFactory.hpp.
|
protected |
Definition at line 83 of file Panzer_STK_Quad8ToQuad4MeshFactory.hpp.