From c8229582d5c8fbb4f3604d956dbac77050137d3b Mon Sep 17 00:00:00 2001 From: Oliver Sander <sander@igpm.rwth-aachen.de> Date: Mon, 24 Jan 2011 11:10:47 +0000 Subject: [PATCH] export iterators over rods and continua [[Imported from SVN: r6862]] --- dune/gfe/coupling/rodcontinuumcomplex.hh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dune/gfe/coupling/rodcontinuumcomplex.hh b/dune/gfe/coupling/rodcontinuumcomplex.hh index 8562a549..2f29b2fa 100644 --- a/dune/gfe/coupling/rodcontinuumcomplex.hh +++ b/dune/gfe/coupling/rodcontinuumcomplex.hh @@ -56,6 +56,14 @@ class RodContinuumComplex public: + /** \brief Iterator over the rods */ + typedef typename std::map<std::string, RodData>::iterator RodIterator; + typedef typename std::map<std::string, RodData>::const_iterator ConstRodIterator; + + /** \brief Iterator over the continua */ + typedef typename std::map<std::string, ContinuumData>::iterator ContinuumIterator; + typedef typename std::map<std::string, ContinuumData>::const_iterator ConstContinuumIterator; + /** \brief Iterator over the couplings */ typedef typename std::map<std::pair<std::string,std::string>, Coupling>::const_iterator ConstCouplingIterator; -- GitLab