11 #ifndef __Panzer_STK_QuadraticToLinearMeshFactory_hpp__
12 #define __Panzer_STK_QuadraticToLinearMeshFactory_hpp__
19 namespace panzer_stk {
31 stk::ParallelMachine mpi_comm = MPI_COMM_WORLD,
32 const bool print_debug =
false);
35 const bool print_debug =
false);
85 shards::CellTopology(shards::getCellTopologyData<shards::Quadrilateral<8>>()),
86 shards::CellTopology(shards::getCellTopologyData<shards::Triangle<6>>()),
87 shards::CellTopology(shards::getCellTopologyData<shards::Tetrahedron<10>>()),
88 shards::CellTopology(shards::getCellTopologyData<shards::Hexahedron<20>>())
94 {shards::getCellTopologyData<shards::Quadrilateral<8>>()->name,
95 shards::getCellTopologyData<shards::Quadrilateral<4>>()},
96 {shards::getCellTopologyData<shards::Triangle<6>>()->name,
97 shards::getCellTopologyData<shards::Triangle<3>>()},
98 {shards::getCellTopologyData<shards::Tetrahedron<10>>()->name,
99 shards::getCellTopologyData<shards::Tetrahedron<4>>()},
100 {shards::getCellTopologyData<shards::Hexahedron<20>>()->name,
101 shards::getCellTopologyData<shards::Hexahedron<8>>()}
QuadraticToLinearMeshFactory(const std::string &quadMeshFileName, stk::ParallelMachine mpi_comm=MPI_COMM_WORLD, const bool print_debug=false)
const CellTopologyData * outputTopoData_
unsigned int nNodes_
Dimension of the mesh.
std::map< const std::string, const CellTopologyData * > outputTopoMap_
void buildElements(stk::ParallelMachine parallelMach, STK_Interface &mesh) const
Teuchos::RCP< panzer_stk::STK_Interface > quadMesh_
std::string edgeBlockName_
unsigned int nDim_
Output mesh topology data.
Teuchos::RCP< STK_Interface > buildMesh(stk::ParallelMachine parallelMach) const
Build the mesh object.
Teuchos::RCP< const Teuchos::ParameterList > getValidParameters() const
Derived from ParameterListAcceptor.
stk::mesh::EntityId offset_
void addNodeSets(STK_Interface &mesh) const
void buildMetaData(stk::ParallelMachine parallelMach, STK_Interface &mesh) const
void addSideSets(STK_Interface &mesh) const
void setParameterList(const Teuchos::RCP< Teuchos::ParameterList > ¶mList)
Derived from ParameterListAcceptor.
bool offsetGIDs_
If true, offset mesh GIDs to exercise 32-bit limits.
virtual void completeMeshConstruction(STK_Interface &mesh, stk::ParallelMachine parallelMach) const
void addEdgeBlocks(STK_Interface &mesh) const
void copyCellFieldData(STK_Interface &mesh) const
unsigned int machRank_
Second order mesh.
virtual Teuchos::RCP< STK_Interface > buildUncommitedMesh(stk::ParallelMachine parallelMach) const
std::vector< shards::CellTopology > supportedInputTopos_
Nodes in one element of the linear basis.