Class template Dune::GDT::LocalUnaryIntersectionIntegrandInterface<Intersection, range_dim, range_dim_cols, RangeField, Field>

Inherits from Dune::XT::Common::ParametricInterface, Dune::XT::Grid::IntersectionBoundObject, Dune::XT::Common::WithLogger.

template<class Intersection, size_t range_dim = 1, size_t range_dim_cols = 1, class RangeField = double, class Field = double>
class Dune::GDT::LocalUnaryIntersectionIntegrandInterface<Intersection, range_dim, range_dim_cols, RangeField, Field> : public XT::Common::ParametricInterface, public XT::Grid::IntersectionBoundObject<Intersection>, public XT::Common::WithLogger<LocalUnaryIntersectionIntegrandInterface<Intersection, range_dim, range_dim_cols, RangeField, Field>>

Interface for integrands in integrals over grid intersections, which depend on one argument (usually the test basis on the inside of the intersection in an integral-based functional).

Note

Regarding SMP: the integrand is copied for each thread, so - no shared mutable state between copies to be thread safe, but - local mutable state is ok.

Method Dune::GDT::LocalUnaryIntersectionIntegrandInterface::copy_as_unary_intersection_integrand

template<class Intersection, size_t range_dim = 1, size_t range_dim_cols = 1, class RangeField = double, class Field = double>
virtual std::unique_ptr<ThisType> Dune::GDT::LocalUnaryIntersectionIntegrandInterface<Intersection, range_dim, range_dim_cols, RangeField, Field>::copy_as_unary_intersection_integrand() const = 0

No documentation provided.

Method Dune::GDT::LocalUnaryIntersectionIntegrandInterface::operator+

template<class Intersection, size_t range_dim = 1, size_t range_dim_cols = 1, class RangeField = double, class Field = double>
LocalUnaryIntersectionIntegrandSum<I, r, rC, RF, F> Dune::GDT::LocalUnaryIntersectionIntegrandInterface<Intersection, range_dim, range_dim_cols, RangeField, Field>::operator+(const ThisType &other) const

No documentation provided.

Method Dune::GDT::LocalUnaryIntersectionIntegrandInterface::inside

template<class Intersection, size_t range_dim = 1, size_t range_dim_cols = 1, class RangeField = double, class Field = double>
virtual bool Dune::GDT::LocalUnaryIntersectionIntegrandInterface<Intersection, range_dim, range_dim_cols, RangeField, Field>::inside() const

Flag to document which element the basis is expected to be bound to.

Method Dune::GDT::LocalUnaryIntersectionIntegrandInterface::order

template<class Intersection, size_t range_dim = 1, size_t range_dim_cols = 1, class RangeField = double, class Field = double>
virtual int Dune::GDT::LocalUnaryIntersectionIntegrandInterface<Intersection, range_dim, range_dim_cols, RangeField, Field>::order(const LocalTestBasisType &basis, const XT::Common::Parameter &param = {}) const = 0

Returns the polynomial order of the integrand, given the bases.

Note

Will throw Exceptions::not_bound_to_an_element_yet error if not bound yet!

Method Dune::GDT::LocalUnaryIntersectionIntegrandInterface::evaluate

template<class Intersection, size_t range_dim = 1, size_t range_dim_cols = 1, class RangeField = double, class Field = double>
virtual void Dune::GDT::LocalUnaryIntersectionIntegrandInterface<Intersection, range_dim, range_dim_cols, RangeField, Field>::evaluate(const LocalTestBasisType &basis, const DomainType &point_in_reference_intersection, DynamicVector<F> &result, const XT::Common::Parameter &param = {}) const = 0

Computes the evaluation of this integrand at the given point for each basis function.

Note

Will throw Exceptions::not_bound_to_an_element_yet error if not bound yet!

Method Dune::GDT::LocalUnaryIntersectionIntegrandInterface::evaluate

template<class Intersection, size_t range_dim = 1, size_t range_dim_cols = 1, class RangeField = double, class Field = double>
virtual DynamicVector<F> Dune::GDT::LocalUnaryIntersectionIntegrandInterface<Intersection, range_dim, range_dim_cols, RangeField, Field>::evaluate(const LocalTestBasisType &basis, const DomainType &point_in_reference_intersection, const XT::Common::Parameter &param = {}) const

This method is provided for convenience and should not be used within library code.

Note

Will throw Exceptions::not_bound_to_an_element_yet error if not bound yet!

Method Dune::GDT::LocalUnaryIntersectionIntegrandInterface::ensure_size_and_clear_results

template<class Intersection, size_t range_dim = 1, size_t range_dim_cols = 1, class RangeField = double, class Field = double>
void Dune::GDT::LocalUnaryIntersectionIntegrandInterface<Intersection, range_dim, range_dim_cols, RangeField, Field>::ensure_size_and_clear_results(const LocalTestBasisType &basis, DynamicVector<F> &result, const XT::Common::Parameter &param) const

No documentation provided.

Constructor Dune::GDT::LocalUnaryIntersectionIntegrandInterface::LocalUnaryIntersectionIntegrandInterface

template<class Intersection, size_t range_dim = 1, size_t range_dim_cols = 1, class RangeField = double, class Field = double>
explicit Dune::GDT::LocalUnaryIntersectionIntegrandInterface<Intersection, range_dim, range_dim_cols, RangeField, Field>::LocalUnaryIntersectionIntegrandInterface(const XT::Common::ParameterType &param_type = {}, const std::string &logging_prefix = "", const std::array<bool, 3> &logging_state = XT::Common::default_logger_state())

No documentation provided.

Constructor Dune::GDT::LocalUnaryIntersectionIntegrandInterface::LocalUnaryIntersectionIntegrandInterface

template<class Intersection, size_t range_dim = 1, size_t range_dim_cols = 1, class RangeField = double, class Field = double>
Dune::GDT::LocalUnaryIntersectionIntegrandInterface<Intersection, range_dim, range_dim_cols, RangeField, Field>::LocalUnaryIntersectionIntegrandInterface(const ThisType&) = default

No documentation provided.

Destructor Dune::GDT::LocalUnaryIntersectionIntegrandInterface::~LocalUnaryIntersectionIntegrandInterface

template<class Intersection, size_t range_dim = 1, size_t range_dim_cols = 1, class RangeField = double, class Field = double>
Dune::GDT::LocalUnaryIntersectionIntegrandInterface<Intersection, range_dim, range_dim_cols, RangeField, Field>::~LocalUnaryIntersectionIntegrandInterface() override = default

No documentation provided.

Variable Dune::GDT::LocalUnaryIntersectionIntegrandInterface::d

template<class Intersection, size_t range_dim = 1, size_t range_dim_cols = 1, class RangeField = double, class Field = double>
const size_t Dune::GDT::LocalUnaryIntersectionIntegrandInterface<Intersection, range_dim, range_dim_cols, RangeField, Field>::d

No documentation provided.

Variable Dune::GDT::LocalUnaryIntersectionIntegrandInterface::r

template<class Intersection, size_t range_dim = 1, size_t range_dim_cols = 1, class RangeField = double, class Field = double>
const size_t Dune::GDT::LocalUnaryIntersectionIntegrandInterface<Intersection, range_dim, range_dim_cols, RangeField, Field>::r

No documentation provided.

Variable Dune::GDT::LocalUnaryIntersectionIntegrandInterface::rC

template<class Intersection, size_t range_dim = 1, size_t range_dim_cols = 1, class RangeField = double, class Field = double>
const size_t Dune::GDT::LocalUnaryIntersectionIntegrandInterface<Intersection, range_dim, range_dim_cols, RangeField, Field>::rC

No documentation provided.

Type alias Dune::GDT::LocalUnaryIntersectionIntegrandInterface::ThisType

template<class Intersection, size_t range_dim = 1, size_t range_dim_cols = 1, class RangeField = double, class Field = double>
using Dune::GDT::LocalUnaryIntersectionIntegrandInterface<Intersection, range_dim, range_dim_cols, RangeField, Field>::ThisType = LocalUnaryIntersectionIntegrandInterface<Intersection, range_dim, range_dim_cols, RangeField, Field>

No documentation provided.

Type alias Dune::GDT::LocalUnaryIntersectionIntegrandInterface::BaseParametricType

template<class Intersection, size_t range_dim = 1, size_t range_dim_cols = 1, class RangeField = double, class Field = double>
using Dune::GDT::LocalUnaryIntersectionIntegrandInterface<Intersection, range_dim, range_dim_cols, RangeField, Field>::BaseParametricType = XT::Common::ParametricInterface

No documentation provided.

Type alias Dune::GDT::LocalUnaryIntersectionIntegrandInterface::BaseIntersectionBoundObjectType

template<class Intersection, size_t range_dim = 1, size_t range_dim_cols = 1, class RangeField = double, class Field = double>
using Dune::GDT::LocalUnaryIntersectionIntegrandInterface<Intersection, range_dim, range_dim_cols, RangeField, Field>::BaseIntersectionBoundObjectType = XT::Grid::IntersectionBoundObject<Intersection>

No documentation provided.

Type alias Dune::GDT::LocalUnaryIntersectionIntegrandInterface::Logger

template<class Intersection, size_t range_dim = 1, size_t range_dim_cols = 1, class RangeField = double, class Field = double>
using Dune::GDT::LocalUnaryIntersectionIntegrandInterface<Intersection, range_dim, range_dim_cols, RangeField, Field>::Logger = XT::Common::WithLogger<ThisType>

No documentation provided.

Type alias Dune::GDT::LocalUnaryIntersectionIntegrandInterface::ElementType

template<class Intersection, size_t range_dim = 1, size_t range_dim_cols = 1, class RangeField = double, class Field = double>
using Dune::GDT::LocalUnaryIntersectionIntegrandInterface<Intersection, range_dim, range_dim_cols, RangeField, Field>::ElementType = XT::Grid::extract_inside_element_t<Intersection>

No documentation provided.

Type alias Dune::GDT::LocalUnaryIntersectionIntegrandInterface::I

template<class Intersection, size_t range_dim = 1, size_t range_dim_cols = 1, class RangeField = double, class Field = double>
using Dune::GDT::LocalUnaryIntersectionIntegrandInterface<Intersection, range_dim, range_dim_cols, RangeField, Field>::I = Intersection

No documentation provided.

Type alias Dune::GDT::LocalUnaryIntersectionIntegrandInterface::E

template<class Intersection, size_t range_dim = 1, size_t range_dim_cols = 1, class RangeField = double, class Field = double>
using Dune::GDT::LocalUnaryIntersectionIntegrandInterface<Intersection, range_dim, range_dim_cols, RangeField, Field>::E = ElementType

No documentation provided.

Type alias Dune::GDT::LocalUnaryIntersectionIntegrandInterface::D

template<class Intersection, size_t range_dim = 1, size_t range_dim_cols = 1, class RangeField = double, class Field = double>
using Dune::GDT::LocalUnaryIntersectionIntegrandInterface<Intersection, range_dim, range_dim_cols, RangeField, Field>::D = typename ElementType::Geometry::ctype

No documentation provided.

Type alias Dune::GDT::LocalUnaryIntersectionIntegrandInterface::F

template<class Intersection, size_t range_dim = 1, size_t range_dim_cols = 1, class RangeField = double, class Field = double>
using Dune::GDT::LocalUnaryIntersectionIntegrandInterface<Intersection, range_dim, range_dim_cols, RangeField, Field>::F = Field

No documentation provided.

Type alias Dune::GDT::LocalUnaryIntersectionIntegrandInterface::RF

template<class Intersection, size_t range_dim = 1, size_t range_dim_cols = 1, class RangeField = double, class Field = double>
using Dune::GDT::LocalUnaryIntersectionIntegrandInterface<Intersection, range_dim, range_dim_cols, RangeField, Field>::RF = RangeField

No documentation provided.

Type alias Dune::GDT::LocalUnaryIntersectionIntegrandInterface::DomainType

template<class Intersection, size_t range_dim = 1, size_t range_dim_cols = 1, class RangeField = double, class Field = double>
using Dune::GDT::LocalUnaryIntersectionIntegrandInterface<Intersection, range_dim, range_dim_cols, RangeField, Field>::DomainType = FieldVector<D, d - 1>

No documentation provided.

Type alias Dune::GDT::LocalUnaryIntersectionIntegrandInterface::LocalTestBasisType

template<class Intersection, size_t range_dim = 1, size_t range_dim_cols = 1, class RangeField = double, class Field = double>
using Dune::GDT::LocalUnaryIntersectionIntegrandInterface<Intersection, range_dim, range_dim_cols, RangeField, Field>::LocalTestBasisType = XT::Functions::ElementFunctionSetInterface<E, r, rC, RF>

No documentation provided.