43 #ifndef Panzer_STK_PamgenReaderFactory_hpp__
44 #define Panzer_STK_PamgenReaderFactory_hpp__
48 #include "PanzerAdaptersSTK_config.hpp"
51 #ifdef PANZER_HAVE_IOSS
53 #include <stk_io/StkMeshIoBroker.hpp>
69 class STK_PamgenReaderFactory :
public STK_MeshFactory {
72 STK_PamgenReaderFactory();
74 STK_PamgenReaderFactory(
const std::string & fileName,
int restartIndex=0);
84 virtual Teuchos::RCP<STK_Interface> buildMesh(stk::ParallelMachine parallelMach)
const;
90 virtual Teuchos::RCP<STK_Interface> buildUncommitedMesh(stk::ParallelMachine parallelMach)
const;
94 virtual void completeMeshConstruction(STK_Interface & mesh,stk::ParallelMachine parallelMach)
const;
97 void setParameterList(
const Teuchos::RCP<Teuchos::ParameterList> & paramList);
100 Teuchos::RCP<const Teuchos::ParameterList> getValidParameters()
const;
103 const std::string & getFileName()
const
104 {
return fileName_; }
108 void registerElementBlocks(STK_Interface & mesh,stk::io::StkMeshIoBroker & meshData)
const;
109 void registerSidesets(STK_Interface & mesh)
const;
110 void registerNodesets(STK_Interface & mesh)
const;
112 std::string fileName_;