Class template Dune::GDT::LocalUnaryIntersectionIntegrandInterface

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 : 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.

int Dune::GDT::LocalUnaryIntersectionIntegrandInterface::copy_as_unary_intersection_integrand() const = 0

No documentation provided.

LocalUnaryIntersectionIntegrandSum<I, r, rC, RF, F> Dune::GDT::LocalUnaryIntersectionIntegrandInterface::operator+(const ThisType &other) const

No documentation provided.

virtual bool Dune::GDT::LocalUnaryIntersectionIntegrandInterface::inside() const

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

virtual int Dune::GDT::LocalUnaryIntersectionIntegrandInterface::order(const int &basis, const XT::Common::Parameter &param = <recovery-expr>({})) 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!

virtual void Dune::GDT::LocalUnaryIntersectionIntegrandInterface::evaluate(const int &basis, const int &point_in_reference_intersection, int &result, const XT::Common::Parameter &param = <recovery-expr>({})) 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!

int Dune::GDT::LocalUnaryIntersectionIntegrandInterface::evaluate(const int &basis, const int &point_in_reference_intersection, 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!

void Dune::GDT::LocalUnaryIntersectionIntegrandInterface::ensure_size_and_clear_results(const int &basis, int &result, const XT::Common::Parameter &param) const

No documentation provided.

template<>
Dune::GDT::LocalUnaryIntersectionIntegrandInterface::LocalUnaryIntersectionIntegrandInterface<Intersection, 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::LocalUnaryIntersectionIntegrandInterface::LocalUnaryIntersectionIntegrandInterface<Intersection, range_dim, range_dim_cols, RangeField, Field>(const ThisType&) = default

No documentation provided.

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

No documentation provided.

const size_t Dune::GDT::LocalUnaryIntersectionIntegrandInterface::d

No documentation provided.

const size_t Dune::GDT::LocalUnaryIntersectionIntegrandInterface::r

No documentation provided.

const size_t Dune::GDT::LocalUnaryIntersectionIntegrandInterface::rC

No documentation provided.

type Dune::GDT::LocalUnaryIntersectionIntegrandInterface::ThisType

No documentation provided.

type Dune::GDT::LocalUnaryIntersectionIntegrandInterface::BaseParametricType

No documentation provided.

type Dune::GDT::LocalUnaryIntersectionIntegrandInterface::BaseIntersectionBoundObjectType

No documentation provided.

type Dune::GDT::LocalUnaryIntersectionIntegrandInterface::Logger

No documentation provided.

type Dune::GDT::LocalUnaryIntersectionIntegrandInterface::I

No documentation provided.

type Dune::GDT::LocalUnaryIntersectionIntegrandInterface::F

No documentation provided.

type Dune::GDT::LocalUnaryIntersectionIntegrandInterface::RF

No documentation provided.