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

Rename RT prebasis from 'rt' to 'raviartThomas'

Trying to get towards a meaningful naming scheme.  Here int particular,
'rt' is not a good name, because it could mean both 'Raviart-Thomas'
and 'Rannacher-Turek'.
parent c4aff4be
No related branches found
No related tags found
No related merge requests found
...@@ -423,7 +423,7 @@ public: ...@@ -423,7 +423,7 @@ public:
* \tparam basic_type Basic geometry type * \tparam basic_type Basic geometry type
*/ */
template<std::size_t k, GeometryType::BasicType basic_type, class size_type=std::size_t> template<std::size_t k, GeometryType::BasicType basic_type, class size_type=std::size_t>
auto rt() auto raviartThomas()
{ {
return Imp::RaviartThomasPreBasisFactory<k, basic_type, size_type>(); return Imp::RaviartThomasPreBasisFactory<k, basic_type, size_type>();
} }
......
...@@ -43,7 +43,7 @@ int main (int argc, char* argv[]) ...@@ -43,7 +43,7 @@ int main (int argc, char* argv[])
// check RaviartThomasBasis created using basis builder mechanism // check RaviartThomasBasis created using basis builder mechanism
{ {
using namespace Functions::BasisBuilder; using namespace Functions::BasisBuilder;
auto basis = makeBasis(grid.leafGridView(), rt<0, GeometryType::BasicType::cube>()); auto basis = makeBasis(grid.leafGridView(), raviartThomas<0, GeometryType::BasicType::cube>());
test.subTest(checkBasis(basis)); test.subTest(checkBasis(basis));
} }
......
...@@ -361,7 +361,7 @@ int main (int argc, char *argv[]) ...@@ -361,7 +361,7 @@ int main (int argc, char *argv[])
auto basis = makeBasis( auto basis = makeBasis(
gridView, gridView,
composite( composite(
rt<k, GeometryType::BasicType::cube>(), raviartThomas<k, GeometryType::BasicType::cube>(),
pq<k>() pq<k>()
)); ));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment