1#ifndef PANZER_STK_MESH_ACCESSOR_HPP
2#define PANZER_STK_MESH_ACCESSOR_HPP
4#include "Teuchos_Assert.hpp"
17 Teuchos::RCP<panzer_stk::STK_Interface>
mesh_;
20 Teuchos::RCP<panzer_stk::STK_Interface>
getMesh()
const
22 TEUCHOS_ASSERT(Teuchos::nonnull(
mesh_));
27 void setMesh(
const Teuchos::RCP<STK_Interface>& mesh){
mesh_ = mesh;}
Teuchos::RCP< panzer_stk::STK_Interface > getMesh() const
Returns the mesh set by setMesh(). Asserts that a mesh has been set.
void setMesh(const Teuchos::RCP< STK_Interface > &mesh)
Sets the mesh to be returned by getMesh().
Teuchos::RCP< panzer_stk::STK_Interface > mesh_