diff --git a/dune/gfe/Makefile.am b/dune/gfe/Makefile.am index 5fd2dac2c1f4f03280596ab01b6555cd60003201..691111f72be0761a1ba7459001455a376d8c91b2 100644 --- a/dune/gfe/Makefile.am +++ b/dune/gfe/Makefile.am @@ -20,6 +20,7 @@ srcinclude_HEADERS = averagedistanceassembler.hh \ riemanniantrsolver.hh \ rigidbodymotion.hh \ rodassembler.hh \ + rodcontinuumcomplex.hh \ rodlocalstiffness.hh \ rodwriter.hh \ rotation.hh \ diff --git a/dune/gfe/rodcontinuumcomplex.hh b/dune/gfe/rodcontinuumcomplex.hh new file mode 100644 index 0000000000000000000000000000000000000000..2e9aab63237027e574469da55a5c8492ddc8a3b4 --- /dev/null +++ b/dune/gfe/rodcontinuumcomplex.hh @@ -0,0 +1,24 @@ +#ifndef ROD_CONTINUUM_COMPLEX_HH +#define ROD_CONTINUUM_COMPLEX_HH + +#include <map> +#include <string> + +#include <dune/common/shared_ptr.hh> + +/** \brief A set of rods and a set of continua, all coupled to each other + */ +template <class RodGrid, class ContinuumGrid> +class RodContinuumComplex +{ +public: + + /** \brief The set of rods, accessible by name (string) */ + std::map<std::string, Dune::shared_ptr<RodGrid> > rodGrids_; + + /** \brief The set of rods, accessible by name (string) */ + std::map<std::string, Dune::shared_ptr<ContinuumGrid> > continuumGrids_; + +}; + +#endif // ROD_CONTINUUM_COMPLEX_HH \ No newline at end of file