Class template Dune::GDT::LocalUnaryElementIntegrandInterface

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

template<class Element, size_t range_dim = 1, size_t range_dim_cols = 1, class RangeField = double, class Field = double>
class Dune::GDT::LocalUnaryElementIntegrandInterface : public XT::Common::ParametricInterface, public XT::Grid::ElementBoundObject<Element>, public XT::Common::WithLogger<LocalUnaryElementIntegrandInterface<Element, range_dim, range_dim_cols, RangeField, Field>>

Interface for integrands in integrals over grid elements, which depend on one argument only (usually the test basis 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.

int Dune::GDT::LocalUnaryElementIntegrandInterface::copy_as_unary_element_integrand() const = 0

No documentation provided.

LocalUnaryElementIntegrandSum<E, r, rC, R, F> Dune::GDT::LocalUnaryElementIntegrandInterface::operator+(const ThisType &other) const

No documentation provided.

virtual int Dune::GDT::LocalUnaryElementIntegrandInterface::order(const LocalTestBasisType &basis, const XT::Common::Parameter &param = <recovery-expr>({})) const = 0

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

Note

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

virtual void Dune::GDT::LocalUnaryElementIntegrandInterface::evaluate(const LocalTestBasisType &basis, const DomainType &point_in_reference_element, int &result, const XT::Common::Parameter &param = <recovery-expr>({})) const = 0

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

Note

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

int Dune::GDT::LocalUnaryElementIntegrandInterface::evaluate(const LocalTestBasisType &basis, const DomainType &point_in_reference_element, const XT::Common::Parameter &param = <recovery-expr>({})) 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!

template<>
Dune::GDT::LocalUnaryElementIntegrandInterface::LocalUnaryElementIntegrandInterface<Element, range_dim, range_dim_cols, RangeField, Field>(const XT::Common::ParameterType &param_type = {}, const std::string &logging_prefix = <recovery-expr>(""), const std::array<bool, 3> &logging_state = <recovery-expr>())

No documentation provided.

template<>
Dune::GDT::LocalUnaryElementIntegrandInterface::~LocalUnaryElementIntegrandInterface<Element, range_dim, range_dim_cols, RangeField, Field>() override = default

No documentation provided.

const size_t Dune::GDT::LocalUnaryElementIntegrandInterface::d

No documentation provided.

const size_t Dune::GDT::LocalUnaryElementIntegrandInterface::r

No documentation provided.

const size_t Dune::GDT::LocalUnaryElementIntegrandInterface::rC

No documentation provided.

type Dune::GDT::LocalUnaryElementIntegrandInterface::ThisType

No documentation provided.

type Dune::GDT::LocalUnaryElementIntegrandInterface::Logger

No documentation provided.

type Dune::GDT::LocalUnaryElementIntegrandInterface::E

No documentation provided.

type Dune::GDT::LocalUnaryElementIntegrandInterface::D

No documentation provided.

type Dune::GDT::LocalUnaryElementIntegrandInterface::F

No documentation provided.

type Dune::GDT::LocalUnaryElementIntegrandInterface::R

No documentation provided.

type Dune::GDT::LocalUnaryElementIntegrandInterface::DomainType

No documentation provided.

type Dune::GDT::LocalUnaryElementIntegrandInterface::LocalTestBasisType

No documentation provided.