From 2cea473b9135ab28edcc75db0764e3c80c1a5fcd Mon Sep 17 00:00:00 2001 From: Tobias Leibner <tobias.leibner@googlemail.com> Date: Fri, 21 Nov 2014 14:40:25 +0100 Subject: [PATCH] [operators.projections] ContinuousLagrangeBase -> CGInterface --- dune/gdt/operators/projections.hh | 6 +++--- test/spaces_cg.hh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dune/gdt/operators/projections.hh b/dune/gdt/operators/projections.hh index 6172c410e..ad454b2f6 100644 --- a/dune/gdt/operators/projections.hh +++ b/dune/gdt/operators/projections.hh @@ -21,7 +21,7 @@ #include <dune/stuff/la/solver.hh> #include <dune/gdt/discretefunction/default.hh> -#include <dune/gdt/spaces/continuouslagrange/base.hh> +#include <dune/gdt/spaces/cg/interface.hh> #include <dune/gdt/spaces/cg/fem.hh> #include <dune/gdt/spaces/cg/pdelab.hh> #include <dune/gdt/playground/spaces/dg/fem.hh> @@ -491,8 +491,8 @@ class DirichletProjectionLocalizableTraits typedef typename RangeImp::RangeFieldType R; static const unsigned int r = RangeImp::dimRange; static const unsigned int rC = RangeImp::dimRangeCols; - static_assert(std::is_base_of<Spaces::ContinuousLagrangeBase<T, d, R, r, rC>, typename RangeImp::SpaceType>::value, - "The SpaceType of RangeImp has to be derived from Spaces::ContinuousLagrangeBase!"); + static_assert(std::is_base_of<Spaces::CGInterface<T, d, R, r, rC>, typename RangeImp::SpaceType>::value, + "The SpaceType of RangeImp has to be derived from Spaces::CGInterface!"); static_assert(r == 1, "Not implemeneted for higher dimensions!"); static_assert(rC == 1, "Not implemeneted for higher dimensions!"); typedef typename SourceImp::EntityType E; diff --git a/test/spaces_cg.hh b/test/spaces_cg.hh index 99ad4e130..991743370 100644 --- a/test/spaces_cg.hh +++ b/test/spaces_cg.hh @@ -47,7 +47,7 @@ struct P1Q1_CG_Space : public SpaceBase<SpaceType> } template <class T, int d, class R, int r, int rC> - void matches_signature(const Dune::GDT::Spaces::ContinuousLagrangeBase<T, d, R, r, rC>& /*space*/) + void matches_signature(const Dune::GDT::Spaces::CGInterface<T, d, R, r, rC>& /*space*/) { static_assert(std::is_same<typename SpaceType::Traits, T>::value, ""); static_assert(std::is_same<typename SpaceType::RangeFieldType, R>::value, ""); -- GitLab