Class template Dune::XT::Functions::IndicatorGridFunction<E, r, rC, R>¶
Inherits from Dune::XT::Functions::GridFunctionInterface.
-
template<class E, size_t r, size_t rC = 1, class R = double>
class Dune::XT::Functions::IndicatorGridFunction<E, r, rC, R> : public GridFunctionInterface<E, r, rC, R>¶ Grid function that sums the values of all axis-aligned subdomains containing an element’s center.
Class Dune::XT::Functions::IndicatorGridFunction::LocalIndicatorGridFunction¶
Inherits from Dune::XT::Functions::ElementFunctionInterface.
-
template<class E, size_t r, size_t rC = 1, class R = double>
class Dune::XT::Functions::IndicatorGridFunction<E, r, rC, R>::LocalIndicatorGridFunction : public ElementFunctionInterface<E, r, rC, R>¶ No documentation provided.
Method Dune::XT::Functions::IndicatorGridFunction::LocalIndicatorGridFunction::post_bind¶
Method Dune::XT::Functions::IndicatorGridFunction::LocalIndicatorGridFunction::order¶
Method Dune::XT::Functions::IndicatorGridFunction::LocalIndicatorGridFunction::evaluate¶
-
template<class E, size_t r, size_t rC = 1, class R = double>
RangeReturnType Dune::XT::Functions::IndicatorGridFunction<E, r, rC, R>::LocalIndicatorGridFunction::evaluate(const DomainType &point_in_reference_element, const Common::Parameter& = {}) const final¶ No documentation provided.
Method Dune::XT::Functions::IndicatorGridFunction::LocalIndicatorGridFunction::jacobian¶
-
template<class E, size_t r, size_t rC = 1, class R = double>
DerivativeRangeReturnType Dune::XT::Functions::IndicatorGridFunction<E, r, rC, R>::LocalIndicatorGridFunction::jacobian(const DomainType &point_in_reference_element, const Common::Parameter& = {}) const final¶ No documentation provided.
Constructor Dune::XT::Functions::IndicatorGridFunction::LocalIndicatorGridFunction::LocalIndicatorGridFunction¶
No documentation provided.
Field Dune::XT::Functions::IndicatorGridFunction::LocalIndicatorGridFunction::subdomain_and_value_tuples_¶
-
template<class E, size_t r, size_t rC = 1, class R = double>
const std::shared_ptr<std::vector<std::tuple<DomainType, DomainType, RangeType>>> Dune::XT::Functions::IndicatorGridFunction<E, r, rC, R>::LocalIndicatorGridFunction::subdomain_and_value_tuples_¶ No documentation provided.
Field Dune::XT::Functions::IndicatorGridFunction::LocalIndicatorGridFunction::current_value_¶
Type alias Dune::XT::Functions::IndicatorGridFunction::LocalIndicatorGridFunction::InterfaceType¶
Type alias Dune::XT::Functions::IndicatorGridFunction::LocalIndicatorGridFunction::GeometryType¶
Method Dune::XT::Functions::IndicatorGridFunction::static_id¶
Method Dune::XT::Functions::IndicatorGridFunction::defaults¶
-
template<class E, size_t r, size_t rC = 1, class R = double>
static Common::Configuration Dune::XT::Functions::IndicatorGridFunction<E, r, rC, R>::defaults()¶ No documentation provided.
Method Dune::XT::Functions::IndicatorGridFunction::copy_as_grid_function_impl¶
Method Dune::XT::Functions::IndicatorGridFunction::copy_as_grid_function¶
Method Dune::XT::Functions::IndicatorGridFunction::name¶
Method Dune::XT::Functions::IndicatorGridFunction::local_function¶
Method Dune::XT::Functions::IndicatorGridFunction::convert_from_domains¶
No documentation provided.
Constructor Dune::XT::Functions::IndicatorGridFunction::IndicatorGridFunction¶
No documentation provided.
Constructor Dune::XT::Functions::IndicatorGridFunction::IndicatorGridFunction¶
-
template<class E, size_t r, size_t rC = 1, class R = double>
explicit Dune::XT::Functions::IndicatorGridFunction<E, r, rC, R>::IndicatorGridFunction(const std::vector<std::tuple<DomainType, DomainType, RangeType>> &values, const std::string &nm = "IndicatorGridFunction")¶ Can be used for declaration of lower left corner and upper right corner of the desired domains.
FunctionType function({{lowerleft_1, upperright_1, value_1}, {lowerleft_2, upperright_2, value_2}});
Constructor Dune::XT::Functions::IndicatorGridFunction::IndicatorGridFunction¶
-
template<class E, size_t r, size_t rC = 1, class R = double>
explicit Dune::XT::Functions::IndicatorGridFunction<E, r, rC, R>::IndicatorGridFunction(const std::vector<std::pair<Common::FieldMatrix<D, d, 2>, RangeType>> &values, const std::string &nm = "IndicatorGridFunction")¶ Convenience ctor.
Can be used as in
FunctionType function({{{{0., 1.}, {0., 1.}}, 0.7}, {{{6., 10.}, {8., 10.}}, 0.9}});
if you want to set indicator intervals [0,1] x [0,1] with value 0.7 and [6,10] x [8,10] with value 0.9.
Constructor Dune::XT::Functions::IndicatorGridFunction::IndicatorGridFunction¶
Constructor Dune::XT::Functions::IndicatorGridFunction::IndicatorGridFunction¶
Field Dune::XT::Functions::IndicatorGridFunction::subdomain_and_value_tuples_¶
-
template<class E, size_t r, size_t rC = 1, class R = double>
const std::shared_ptr<std::vector<std::tuple<DomainType, DomainType, RangeType>>> Dune::XT::Functions::IndicatorGridFunction<E, r, rC, R>::subdomain_and_value_tuples_¶ No documentation provided.
Field Dune::XT::Functions::IndicatorGridFunction::name_¶
Variable Dune::XT::Functions::IndicatorGridFunction::available¶
Type alias Dune::XT::Functions::IndicatorGridFunction::BaseType¶
Type alias Dune::XT::Functions::IndicatorGridFunction::ThisType¶
Type alias Dune::XT::Functions::IndicatorGridFunction::DomainType¶
-
template<class E, size_t r, size_t rC = 1, class R = double>
using Dune::XT::Functions::IndicatorGridFunction<E, r, rC, R>::DomainType = typename LocalIndicatorGridFunction::DomainType¶ No documentation provided.
Type alias Dune::XT::Functions::IndicatorGridFunction::RangeType¶
-
template<class E, size_t r, size_t rC = 1, class R = double>
using Dune::XT::Functions::IndicatorGridFunction<E, r, rC, R>::RangeType = typename LocalIndicatorGridFunction::RangeType¶ No documentation provided.