Panzer Version of the Day
Loading...
Searching...
No Matches
Panzer_STK_MeshAccessor.hpp
Go to the documentation of this file.
1#ifndef PANZER_STK_MESH_ACCESSOR_HPP
2#define PANZER_STK_MESH_ACCESSOR_HPP
3
4#include "Teuchos_Assert.hpp"
6
7namespace panzer_stk {
8
17 Teuchos::RCP<panzer_stk::STK_Interface> mesh_;
18 public:
19 Teuchos::RCP<panzer_stk::STK_Interface> getMesh() const
20 {
21 TEUCHOS_ASSERT(Teuchos::nonnull(mesh_));
22 return mesh_;
23 }
24
25 void setMesh(const Teuchos::RCP<STK_Interface>& mesh){mesh_ = mesh;}
26 };
27
28}
29
30#endif
Teuchos::RCP< panzer_stk::STK_Interface > getMesh() const
void setMesh(const Teuchos::RCP< STK_Interface > &mesh)
Teuchos::RCP< panzer_stk::STK_Interface > mesh_