Skip to content
Snippets Groups Projects
Commit 16e83589 authored by oliver.sander_at_tu-dresden.de's avatar oliver.sander_at_tu-dresden.de
Browse files

Rename RaviartThomasNodalBasis to RaviartThomasBasis

It is just the standard Raviart-Thomas basis.  There is nothing
particularly 'nodal' about it.
parent 2aade3f1
No related branches found
No related tags found
No related merge requests found
...@@ -367,7 +367,7 @@ public: ...@@ -367,7 +367,7 @@ public:
// throw if Element is not of predefined type // throw if Element is not of predefined type
if (not(basic_type==GeometryType::BasicType::cube and element.type().isCube()) and 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) for(std::size_t i=0, end=size(); i<end; ++i, ++it)
{ {
...@@ -436,7 +436,7 @@ auto rt() ...@@ -436,7 +436,7 @@ auto rt()
// This is the actual global basis implementation based on the reusable parts. // 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 * TODO
* *
...@@ -444,7 +444,7 @@ auto rt() ...@@ -444,7 +444,7 @@ auto rt()
* \tparam k The order of the basis * \tparam k The order of the basis
*/ */
template<typename GV, int k, GeometryType::BasicType basic_type, class ST = std::size_t> 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 Functions
} // end namespace Dune } // end namespace Dune
......
...@@ -34,7 +34,7 @@ int main (int argc, char* argv[]) ...@@ -34,7 +34,7 @@ int main (int argc, char* argv[])
{ {
typedef GridType::LeafGridView GridView; typedef GridType::LeafGridView GridView;
const GridView& gridView = grid.leafGridView(); 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)); test.subTest(checkBasis(basis));
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment