diff --git a/MeshLib/MeshSubset.h b/MeshLib/MeshSubset.h
index b00b928ef12ebe80ab69a1ea1e83ff929d3bba28..30e0a776cd5a5c679b99e124fedbea1127a43552 100644
--- a/MeshLib/MeshSubset.h
+++ b/MeshLib/MeshSubset.h
@@ -150,6 +150,11 @@ public:
         return new MeshSubset(_msh, active_nodes, true);
     }
 
+    Mesh const& getMesh() const
+    {
+        return _msh;
+    }
+
 private:
     Mesh const& _msh;
     std::vector<Node*> const* _nodes;