Dune::Copasi
Loading...
Searching...
No Matches
model_multi_compartment_traits.hh
Go to the documentation of this file.
1#ifndef DUNE_COPASI_MODEL_DIFFUSION_REACTION_MULTI_COMPARTMENT_TRAITS_HH
2#define DUNE_COPASI_MODEL_DIFFUSION_REACTION_MULTI_COMPARTMENT_TRAITS_HH
3
4// file: diffusion reaction for multi compartment models
5
7
8#include <dune/pdelab/basis/merging_strategy.hh>
9#include <dune/pdelab/finiteelementmap/pkfem.hh>
10
11#include <dune/grid/concepts/grid.hh>
12#include <dune/grid/concepts/gridview.hh>
13
14namespace Dune::Copasi {
15
16template<class BaseTraits, bool CompartmentBlocking = false>
17 requires Concept::MultiDomainGrid<typename BaseTraits::Grid> &&
18 Concept::SubDomainGrid<typename BaseTraits::CompartmentEntitySet::Grid>
19struct ModelMultiCompartmentPkTraits : public BaseTraits
20{
21 using MultiCompartmentEntitySet = typename BaseTraits::Grid::LeafGridView;
22 using MultiCompartmentMergingStrategy = PDELab::Lexicographic<CompartmentBlocking>;
23};
24
25} // namespace Dune::Copasi
26
27#endif // DUNE_COPASI_MODEL_DIFFUSION_REACTION_MULTI_COMPARTMENT_TRAITS_HH
Definition axis_names.hh:7
Definition model_multi_compartment_traits.hh:20
PDELab::Lexicographic< CompartmentBlocking > MultiCompartmentMergingStrategy
Definition model_multi_compartment_traits.hh:22
typename BaseTraits::Grid::LeafGridView MultiCompartmentEntitySet
Definition model_multi_compartment_traits.hh:21