Class template Dune::GDT::LocalBinaryElementIntegrandInterface

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

template<class Element, size_t test_range_dim = 1, size_t test_range_dim_cols = 1, class TestRangeField = double, class Field = double, size_t ansatz_range_dim = test_range_dim, size_t ansatz_range_dim_cols = test_range_dim_cols, class AnsatzRangeField = TestRangeField>
class Dune::GDT::LocalBinaryElementIntegrandInterface : public XT::Common::ParametricInterface, public XT::Grid::ElementBoundObject<Element>, public XT::Common::WithLogger<LocalBinaryElementIntegrandInterface<Element, test_range_dim, test_range_dim_cols, TestRangeField, Field, ansatz_range_dim, ansatz_range_dim_cols, AnsatzRangeField>>

Interface for integrands in integrals over grid elements, which depend on two arguments (usually the test and ansatz bases in an integral-based operator, aka two-form).

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::LocalBinaryElementIntegrandInterface::copy_as_binary_element_integrand() const = 0

No documentation provided.

LocalBinaryElementIntegrandSum<E, t_r, t_rC, TR, F, a_r, a_rC, AR> Dune::GDT::LocalBinaryElementIntegrandInterface::operator+(const ThisType &other) const

No documentation provided.

virtual int Dune::GDT::LocalBinaryElementIntegrandInterface::order(const LocalTestBasisType &test_basis, const LocalAnsatzBasisType &ansatz_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::LocalBinaryElementIntegrandInterface::evaluate(const LocalTestBasisType &test_basis, const LocalAnsatzBasisType &ansatz_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 combination of functions from the two bases.

Note

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

int Dune::GDT::LocalBinaryElementIntegrandInterface::evaluate(const LocalTestBasisType &test_basis, const LocalAnsatzBasisType &ansatz_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!

void Dune::GDT::LocalBinaryElementIntegrandInterface::ensure_size_and_clear_results(const LocalTestBasisType &test_basis, const LocalAnsatzBasisType &ansatz_basis, int &result, const XT::Common::Parameter &param) const

No documentation provided.

template<>
Dune::GDT::LocalBinaryElementIntegrandInterface::LocalBinaryElementIntegrandInterface<Element, test_range_dim, test_range_dim_cols, TestRangeField, Field, ansatz_range_dim, ansatz_range_dim_cols, AnsatzRangeField>(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::LocalBinaryElementIntegrandInterface::LocalBinaryElementIntegrandInterface<Element, test_range_dim, test_range_dim_cols, TestRangeField, Field, ansatz_range_dim, ansatz_range_dim_cols, AnsatzRangeField>(const LocalBinaryElementIntegrandInterface<Element, test_range_dim, test_range_dim_cols, TestRangeField, Field, ansatz_range_dim, ansatz_range_dim_cols, AnsatzRangeField> &other) = default

No documentation provided.

template<>
Dune::GDT::LocalBinaryElementIntegrandInterface::LocalBinaryElementIntegrandInterface<Element, test_range_dim, test_range_dim_cols, TestRangeField, Field, ansatz_range_dim, ansatz_range_dim_cols, AnsatzRangeField>(LocalBinaryElementIntegrandInterface<Element, test_range_dim, test_range_dim_cols, TestRangeField, Field, ansatz_range_dim, ansatz_range_dim_cols, AnsatzRangeField> &&other) noexcept = default

No documentation provided.

template<>
Dune::GDT::LocalBinaryElementIntegrandInterface::~LocalBinaryElementIntegrandInterface<Element, test_range_dim, test_range_dim_cols, TestRangeField, Field, ansatz_range_dim, ansatz_range_dim_cols, AnsatzRangeField>() override = default

No documentation provided.

const size_t Dune::GDT::LocalBinaryElementIntegrandInterface::d

No documentation provided.

const size_t Dune::GDT::LocalBinaryElementIntegrandInterface::t_r

No documentation provided.

const size_t Dune::GDT::LocalBinaryElementIntegrandInterface::t_rC

No documentation provided.

const size_t Dune::GDT::LocalBinaryElementIntegrandInterface::a_r

No documentation provided.

const size_t Dune::GDT::LocalBinaryElementIntegrandInterface::a_rC

No documentation provided.

type Dune::GDT::LocalBinaryElementIntegrandInterface::ThisType

No documentation provided.

type Dune::GDT::LocalBinaryElementIntegrandInterface::Logger

No documentation provided.

type Dune::GDT::LocalBinaryElementIntegrandInterface::E

No documentation provided.

type Dune::GDT::LocalBinaryElementIntegrandInterface::D

No documentation provided.

type Dune::GDT::LocalBinaryElementIntegrandInterface::F

No documentation provided.

type Dune::GDT::LocalBinaryElementIntegrandInterface::TR

No documentation provided.

type Dune::GDT::LocalBinaryElementIntegrandInterface::AR

No documentation provided.

type Dune::GDT::LocalBinaryElementIntegrandInterface::DomainType

No documentation provided.

type Dune::GDT::LocalBinaryElementIntegrandInterface::LocalTestBasisType

No documentation provided.

type Dune::GDT::LocalBinaryElementIntegrandInterface::LocalAnsatzBasisType

No documentation provided.

template<class ...Args>
LocalBinaryToUnaryElementIntegrand<E, t_r, t_rC, TR, F, a_r, a_rC, AR> Dune::GDT::LocalBinaryElementIntegrandInterface::with_ansatz(Args&&... args) const

No documentation provided.