Class template Dune::GDT::Test::RaviartThomasInterpolationOnLeafViewTest¶
Inherits from ::testing::Test.
-
template<class G>
class Dune::GDT::Test::RaviartThomasInterpolationOnLeafViewTest<G> : public ::testing::Test¶ Tests the Raviart-Thomas interpolation (interpolations/raviart-thomas.hh).
The Raviart-Thomas space is H(div)-conforming and vector-valued (range dimension d). We test: - exact reproduction of a constant vector field v = e_0 = (1, 0, …) [contained in RT0 on affine elements], checked as full pointwise reproduction and as reproduction of the normal component v.n at facet quadrature points (the quantity the RT interpolation is defined through); - the H(div) invariant that the interpolant of an arbitrary (here linear) field has continuous normal components across interior intersections; - that all interpolation overloads (fill existing vs. create new, explicit vs. default vector type, explicit vs. implicit interpolation grid view) produce the same exactly-reproducing result.
Note
Only order 0 is exercised, since RaviartThomasSpace currently only supports order 0. A general linear field is therefore not exactly reproducible by RT0, so for the linear field only the normal-component continuity invariant is asserted (not exact reproduction).
Method Dune::GDT::Test::RaviartThomasInterpolationOnLeafViewTest::make_grid¶
No documentation provided.
Method Dune::GDT::Test::RaviartThomasInterpolationOnLeafViewTest::SetUp¶
-
template<class G>
void Dune::GDT::Test::RaviartThomasInterpolationOnLeafViewTest<G>::SetUp() override¶ No documentation provided.
Method Dune::GDT::Test::RaviartThomasInterpolationOnLeafViewTest::interpolates_constant_field_correctly¶
-
template<class G>
void Dune::GDT::Test::RaviartThomasInterpolationOnLeafViewTest<G>::interpolates_constant_field_correctly()¶ No documentation provided.
Method Dune::GDT::Test::RaviartThomasInterpolationOnLeafViewTest::all_overloads_reproduce_constant_field¶
-
template<class G>
void Dune::GDT::Test::RaviartThomasInterpolationOnLeafViewTest<G>::all_overloads_reproduce_constant_field()¶ No documentation provided.
Method Dune::GDT::Test::RaviartThomasInterpolationOnLeafViewTest::interpolant_has_continuous_normal_components¶
-
template<class G>
void Dune::GDT::Test::RaviartThomasInterpolationOnLeafViewTest<G>::interpolant_has_continuous_normal_components()¶ No documentation provided.
Field Dune::GDT::Test::RaviartThomasInterpolationOnLeafViewTest::grid_provider¶
-
std::shared_ptr<XT::Grid::GridProvider<G>> Dune::GDT::Test::RaviartThomasInterpolationOnLeafViewTest::grid_provider¶
No documentation provided.
Field Dune::GDT::Test::RaviartThomasInterpolationOnLeafViewTest::space¶
-
std::shared_ptr<SpaceType> Dune::GDT::Test::RaviartThomasInterpolationOnLeafViewTest::space¶
No documentation provided.
Field Dune::GDT::Test::RaviartThomasInterpolationOnLeafViewTest::constant_source¶
-
int Dune::GDT::Test::RaviartThomasInterpolationOnLeafViewTest::constant_source¶
No documentation provided.
Field Dune::GDT::Test::RaviartThomasInterpolationOnLeafViewTest::linear_source¶
-
int Dune::GDT::Test::RaviartThomasInterpolationOnLeafViewTest::linear_source¶
No documentation provided.
Variable Dune::GDT::Test::RaviartThomasInterpolationOnLeafViewTest::d¶
-
const int Dune::GDT::Test::RaviartThomasInterpolationOnLeafViewTest::d¶
No documentation provided.
Type alias Dune::GDT::Test::RaviartThomasInterpolationOnLeafViewTest::GV¶
-
type Dune::GDT::Test::RaviartThomasInterpolationOnLeafViewTest::GV¶
No documentation provided.
Type alias Dune::GDT::Test::RaviartThomasInterpolationOnLeafViewTest::D¶
-
type Dune::GDT::Test::RaviartThomasInterpolationOnLeafViewTest::D¶
No documentation provided.
Type alias Dune::GDT::Test::RaviartThomasInterpolationOnLeafViewTest::V¶
-
type Dune::GDT::Test::RaviartThomasInterpolationOnLeafViewTest::V¶
No documentation provided.
Type alias Dune::GDT::Test::RaviartThomasInterpolationOnLeafViewTest::SpaceType¶
-
type Dune::GDT::Test::RaviartThomasInterpolationOnLeafViewTest::SpaceType¶
No documentation provided.
Function template Dune::GDT::Test::RaviartThomasInterpolationOnLeafViewTest::check_reproduces_constant¶
-
template<class G>
template<class DiscreteFunctionImp>
void Dune::GDT::Test::RaviartThomasInterpolationOnLeafViewTest<G>::check_reproduces_constant(DiscreteFunctionImp &range, const double tolerance = 9.9999999999999998E-13)¶ No documentation provided.