Dune::Copasi
Loading...
Searching...
No Matches
model_single_compartment_traits.hh
Go to the documentation of this file.
1#ifndef DUNE_COPASI_MODEL_DIFFUSION_REACTION_SINGLE_COMAPARTMENT_TRAITS_HH
2#define DUNE_COPASI_MODEL_DIFFUSION_REACTION_SINGLE_COMAPARTMENT_TRAITS_HH
3
4#include <dune/pdelab/basis/merging_strategy.hh>
5#include <dune/pdelab/finiteelementmap/pkfem.hh>
6
7#include <dune/grid/concepts/grid.hh>
8#include <dune/grid/concepts/gridview.hh>
9
11
12template<Dune::Concept::Grid G,
13 Dune::Concept::GridView ES,
14 std::size_t Order = 1,
15 class RQ = double,
16 class TQ = double,
17 bool ScalarBlocking = false>
19{
20 using Grid = G;
22 static_assert(Order != 0);
24 PDELab::PkLocalFiniteElementMap<CompartmentEntitySet, double, double, Order>;
25
26 using ScalarMergingStrategy = PDELab::EntityGrouping<CompartmentEntitySet, false>;
27 using CompartmentMergingStrategy = PDELab::EntityGrouping<CompartmentEntitySet, ScalarBlocking>;
30};
31
32} // namespace Dune::Copasi::DiffusionReaction
33
34#endif // DUNE_COPASI_MODEL_DIFFUSION_REACTION_SINGLE_COMAPARTMENT_TRAITS_HH
Definition factory.hh:28
constexpr bool is_bitflags_v
Alias for Bitflag indicator.
Definition bit_flags.hh:24
Definition model_single_compartment_traits.hh:19
ES CompartmentEntitySet
Definition model_single_compartment_traits.hh:21
TQ TimeQuantity
Definition model_single_compartment_traits.hh:29
RQ RangeQuatinty
Definition model_single_compartment_traits.hh:28
PDELab::PkLocalFiniteElementMap< CompartmentEntitySet, double, double, Order > ScalarFiniteElementMap
Definition model_single_compartment_traits.hh:23
G Grid
Definition model_single_compartment_traits.hh:20
PDELab::EntityGrouping< CompartmentEntitySet, ScalarBlocking > CompartmentMergingStrategy
Definition model_single_compartment_traits.hh:27
PDELab::EntityGrouping< CompartmentEntitySet, false > ScalarMergingStrategy
Definition model_single_compartment_traits.hh:26