Commit 5e74d1d8 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

Merge branch 'feature/concepts_in_bc' into 'master'

use concept aliases in BoundaryConditions

See merge request !170
parents 929b656c 10536d3b
......@@ -110,8 +110,8 @@ namespace AMDiS
/// Make a DirichletBC from a row- and colbasis with treepath arguments
template <class Mat, class Sol, class Rhs, class RB, class RTP, class CB, class CTP, class Values,
REQUIRES(Dune::models<Dune::Functions::Concept::GlobalBasis<typename RB::GridView>, RB>()),
REQUIRES(Dune::models<Dune::Functions::Concept::GlobalBasis<typename CB::GridView>, CB>())>
REQUIRES(Concepts::GlobalBasis<RB>),
REQUIRES(Concepts::GlobalBasis<CB>)>
auto makeDirichletBC(RB const& rowBasis, RTP const& rowTreePath,
CB const& colBasis, CTP const& colTreePath,
BoundarySubset<typename RB::GridView::Intersection> boundarySubset,
......@@ -124,8 +124,8 @@ namespace AMDiS
/// Make a DirichletBC from a global row- and colbasis
template <class Mat, class Sol, class Rhs, class RB, class CB, class Values,
REQUIRES(Dune::models<Dune::Functions::Concept::GlobalBasis<typename RB::GridView>, RB>()),
REQUIRES(Dune::models<Dune::Functions::Concept::GlobalBasis<typename CB::GridView>, CB>())>
REQUIRES(Concepts::GlobalBasis<RB>),
REQUIRES(Concepts::GlobalBasis<CB>)>
auto makeDirichletBC(RB const& rowBasis, CB const& colBasis,
BoundarySubset<typename RB::GridView::Intersection> boundarySubset,
Values&& values)
......
......@@ -145,7 +145,7 @@ namespace AMDiS
/// Make a PeriodicBC from a global basis and treepath
template <class Mat, class Sol, class Rhs, class B, class TP,
REQUIRES(Dune::models<Dune::Functions::Concept::GlobalBasis<typename B::GridView>, B>())>
REQUIRES(Concepts::GlobalBasis<B>)>
auto makePeriodicBC(B const& basis, TP const& tp,
BoundarySubset<typename B::GridView::Intersection> boundarySubset,
Impl::FaceTrafo<B> trafo)
......@@ -156,7 +156,7 @@ namespace AMDiS
/// Make a PeriodicBC from a global basis
template <class Mat, class Sol, class Rhs, class B,
REQUIRES(Dune::models<Dune::Functions::Concept::GlobalBasis<typename B::GridView>, B>())>
REQUIRES(Concepts::GlobalBasis<B>)>
auto makePeriodicBC(B const& basis,
BoundarySubset<typename B::GridView::Intersection> boundarySubset,
Impl::FaceTrafo<B> trafo)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment