diff --git a/dune/gfe/coupling/rodcontinuumcomplex.hh b/dune/gfe/coupling/rodcontinuumcomplex.hh index 4aa41d40c8533d2194d25cdbe12ee0e3d68f559d..f4edddb2c6fc002f5a2155aef735a899c4cc8a6b 100644 --- a/dune/gfe/coupling/rodcontinuumcomplex.hh +++ b/dune/gfe/coupling/rodcontinuumcomplex.hh @@ -43,6 +43,12 @@ public: assert(continuumGrids_.find(name) != continuumGrids_.end()); return continuumGrids_.find(name)->second; } + + const LeafBoundaryPatch<ContinuumGrid> continuumDirichletBoundary(const std::string& name) const + { + assert(continuumDirichletBoundaries_.find(name) != continuumDirichletBoundaries_.end()); + return continuumDirichletBoundaries_.find(name)->second; + } /** \brief Simple const access to couplings */ const Coupling& coupling(const std::pair<std::string,std::string>& name) const