diff --git a/dune/functions/functionspacebases/raviartthomasbasis.hh b/dune/functions/functionspacebases/raviartthomasbasis.hh index 7893e8a8e217bfb5f22bf4dd570b6f8c6a805be1..268bc0864e59a19ed9363c664246015fb2334034 100644 --- a/dune/functions/functionspacebases/raviartthomasbasis.hh +++ b/dune/functions/functionspacebases/raviartthomasbasis.hh @@ -367,7 +367,7 @@ public: // throw if Element is not of predefined type if (not(basic_type==GeometryType::BasicType::cube and element.type().isCube()) and - not(basic_type==GeometryType::BasicType::simplex and element.type().isSimplex())) DUNE_THROW(Dune::NotImplemented, "RaviartThomasNodalBasis only implemented for cube and simplex elements."); + not(basic_type==GeometryType::BasicType::simplex and element.type().isSimplex())) DUNE_THROW(Dune::NotImplemented, "RaviartThomasBasis only implemented for cube and simplex elements."); for(std::size_t i=0, end=size(); i<end; ++i, ++it) { @@ -436,7 +436,7 @@ auto rt() // This is the actual global basis implementation based on the reusable parts. // ***************************************************************************** -/** \brief Nodal basis of a scalar k-th-order Raviart Thomas finite element space +/** \brief Basis of a k-th-order Raviart Thomas finite element space * * TODO * @@ -444,7 +444,7 @@ auto rt() * \tparam k The order of the basis */ template<typename GV, int k, GeometryType::BasicType basic_type, class ST = std::size_t> -using RaviartThomasNodalBasis = DefaultGlobalBasis<RaviartThomasPreBasis<GV, k, FlatMultiIndex<ST>, ST, basic_type> >; +using RaviartThomasBasis = DefaultGlobalBasis<RaviartThomasPreBasis<GV, k, FlatMultiIndex<ST>, ST, basic_type> >; } // end namespace Functions } // end namespace Dune diff --git a/dune/functions/functionspacebases/test/raviartthomasbasistest.cc b/dune/functions/functionspacebases/test/raviartthomasbasistest.cc index 99e0dd4e9a024e5594da0fce8d11ce07ba9a6af6..6171540006335821af6d76bd03cb51f943b398aa 100644 --- a/dune/functions/functionspacebases/test/raviartthomasbasistest.cc +++ b/dune/functions/functionspacebases/test/raviartthomasbasistest.cc @@ -34,7 +34,7 @@ int main (int argc, char* argv[]) { typedef GridType::LeafGridView GridView; const GridView& gridView = grid.leafGridView(); - Functions::RaviartThomasNodalBasis<GridView,0,GeometryType::BasicType::cube> basis(gridView); + Functions::RaviartThomasBasis<GridView,0,GeometryType::BasicType::cube> basis(gridView); test.subTest(checkBasis(basis)); }