Skip to content
Snippets Groups Projects
Commit 14740253 authored by Oliver Sander's avatar Oliver Sander Committed by sander@FU-BERLIN.DE
Browse files

also store Dirichlet boundaries and Dirichlet values

[[Imported from SVN: r6753]]
parent 63474bfe
Branches
No related tags found
No related merge requests found
......@@ -6,19 +6,47 @@
#include <dune/common/shared_ptr.hh>
#include <dune/istl/bvector.hh>
#include <dune/gfe/rigidbodymotion.hh>
/** \brief A set of rods and a set of continua, all coupled to each other
*/
template <class RodGrid, class ContinuumGrid>
class RodContinuumComplex
{
typedef std::vector<RigidBodyMotion<3> > RodConfiguration;
typedef Dune::BlockVector<Dune::FieldVector<double,3> > ContinuumConfiguration;
public:
/////////////////////////////////////////////////////////////////////
// Data concerning the individual rod problems
/////////////////////////////////////////////////////////////////////
/** \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) */
/** \brief A Dirichlet boundary for each rod */
std::map<std::string, LeafBoundaryPatch<RodGrid> > rodDirichletBoundaries_;
/** \brief The Dirichlet values for each rod */
std::map<std::string, RodConfiguration> rodDirichletValues_;
/////////////////////////////////////////////////////////////////////
// Data concerning the individual continuum problems
/////////////////////////////////////////////////////////////////////
/** \brief The set of continua, accessible by name (string) */
std::map<std::string, Dune::shared_ptr<ContinuumGrid> > continuumGrids_;
/** \brief A Dirichlet boundary for each continuum */
std::map<std::string, LeafBoundaryPatch<ContinuumGrid> > continuumDirichletBoundaries_;
/** \brief The Dirichlet values for each continuum */
std::map<std::string, ContinuumConfiguration> continuumDirichletValues_;
};
#endif // ROD_CONTINUUM_COMPLEX_HH
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment