43 #ifndef Panzer_STK_ExodusReaderFactory_hpp__ 44 #define Panzer_STK_ExodusReaderFactory_hpp__ 48 #include "PanzerAdaptersSTK_config.hpp" 51 #ifdef PANZER_HAVE_IOSS 53 #include <stk_io/StkMeshIoBroker.hpp> 73 int getMeshDimension(
const std::string & meshStr,stk::ParallelMachine parallelMach,
74 const bool isExodus =
true);
86 class STK_ExodusReaderFactory :
public STK_MeshFactory {
89 STK_ExodusReaderFactory();
98 STK_ExodusReaderFactory(
const std::string & fileName,
const int restartIndex=0,
const bool isExodus =
true);
108 virtual Teuchos::RCP<STK_Interface> buildMesh(stk::ParallelMachine parallelMach)
const;
114 virtual Teuchos::RCP<STK_Interface> buildUncommitedMesh(stk::ParallelMachine parallelMach)
const;
118 virtual void completeMeshConstruction(STK_Interface & mesh,stk::ParallelMachine parallelMach)
const;
121 void setParameterList(
const Teuchos::RCP<Teuchos::ParameterList> & paramList);
124 Teuchos::RCP<const Teuchos::ParameterList> getValidParameters()
const;
127 const std::string & getFileName()
const 128 {
return fileName_; }
132 void registerElementBlocks(STK_Interface & mesh,stk::io::StkMeshIoBroker & meshData)
const;
133 void registerSidesets(STK_Interface & mesh)
const;
134 void registerNodesets(STK_Interface & mesh)
const;
136 std::string fileName_;
143 bool userMeshScaling_;
146 double meshScaleFactor_;
149 int levelsOfRefinement_;