VertexCFD  0.0-dev
VertexCFD_MeshManager.hpp
1 #ifndef VERTEXCFD_MESHMANAGER_HPP
2 #define VERTEXCFD_MESHMANAGER_HPP
3 
4 #include "parameters/VertexCFD_ParameterDatabase.hpp"
5 
6 #include <PanzerAdaptersSTK_config.hpp>
7 #include <Panzer_STKConnManager.hpp>
8 #include <Panzer_STK_CubeHexMeshFactory.hpp>
9 #include <Panzer_STK_CubeTetMeshFactory.hpp>
10 #include <Panzer_STK_IOClosureModel_Factory_TemplateBuilder.hpp>
11 #include <Panzer_STK_SetupLOWSFactory.hpp>
12 #include <Panzer_STK_SquareQuadMeshFactory.hpp>
13 #include <Panzer_STK_SquareTriMeshFactory.hpp>
14 #include <Panzer_STK_WorksetFactory.hpp>
15 
16 #include <Teuchos_DefaultComm.hpp>
17 #include <Teuchos_ParameterList.hpp>
18 #include <Teuchos_RCP.hpp>
19 
20 namespace VertexCFD
21 {
22 //---------------------------------------------------------------------------//
24 {
25  public:
26  MeshManager(const Parameter::ParameterDatabase& parameter_db,
27  const Teuchos::RCP<const Teuchos::MpiComm<int>>& comm);
28 
29  void completeMeshConstruction();
30 
31  Teuchos::RCP<const Teuchos::MpiComm<int>> comm() const;
32  Teuchos::RCP<panzer_stk::STK_Interface> mesh() const;
33  Teuchos::RCP<panzer_stk::STKConnManager> connectivityManager() const;
34 
35  int spaceDimension() const;
36 
37  private:
38  Teuchos::RCP<const Teuchos::MpiComm<int>> _comm;
39  Teuchos::RCP<panzer_stk::STK_MeshFactory> _mesh_factory;
40  Teuchos::RCP<panzer_stk::STK_Interface> _mesh;
41  Teuchos::RCP<panzer_stk::STKConnManager> _conn_manager;
42 };
43 
44 //---------------------------------------------------------------------------//
45 
46 } // end namespace VertexCFD
47 
48 #endif // end VERTEXCFD_MESHMANAGER_HPP
VertexCFD
Definition: tstMethodManufacturedSolutionBC.cpp:23
VertexCFD::Parameter::ParameterDatabase
Definition: VertexCFD_ParameterDatabase.hpp:16
VertexCFD::MeshManager
Definition: VertexCFD_MeshManager.hpp:24