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>
55 namespace panzer_stk {
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);
118 virtual void completeMeshConstruction(STK_Interface & mesh,stk::ParallelMachine parallelMach)
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_;