6#include <dune/functions/functionspacebases/defaultglobalbasis.hh>
7#include <amdis/functions/BlockedPreBasis.hpp>
16 template <
class Basis>
19 template <
class Basis>
23 struct BlockedBasis<Dune::Functions::DefaultGlobalBasis<PB>>
25 using type = Dune::Functions::DefaultGlobalBasis<typename BlockedPreBasis<PB>::type>;
27 template <
class Basis>
28 static type create(Basis
const& basis)
30 return type{blockedPreBasis(basis.preBasis())};
37 using type = Dune::Functions::DefaultGlobalBasis<typename BlockedPreBasis<PB>::type>;
39 template <
class Basis>
40 static type create(Basis
const& basis)
42 return type{blockedPreBasis(basis.preBasis())};
48 template <
class Basis>
49 auto blockedBasis(Basis
const& basis)
55 template <
class Basis>
56 auto blockedBasis(Basis&& basis)
58 return BlockedBasis<remove_cvref_t<Basis>>::create(std::move(basis));
Global basis defined on a pre-basis.
Definition GlobalBasis.hpp:47
constexpr bool GlobalBasis
A Dune::Functions::GlobalBasis type.
Definition Concepts.hpp:189
Definition BlockedBasis.hpp:17