Class template Dune::GDT::LocalBinaryIntersectionIntegrandInterface

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

template<class Intersection, 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::LocalBinaryIntersectionIntegrandInterface : public XT::Common::ParametricInterface, public XT::Grid::IntersectionBoundObject<Intersection>, public XT::Common::WithLogger<LocalBinaryIntersectionIntegrandInterface<Intersection, test_range_dim, test_range_dim_cols, TestRangeField, Field, ansatz_range_dim, ansatz_range_dim_cols, AnsatzRangeField>>

Interface for integrands in integrals over grid intersections, which depend on two arguments (usually the test and ansatz bases 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::LocalBinaryIntersectionIntegrandInterface::copy_as_binary_intersection_integrand() const = 0

No documentation provided.

LocalBinaryIntersectionIntegrandSum<I, t_r, t_rC, TR, F, a_r, a_rC, AR> Dune::GDT::LocalBinaryIntersectionIntegrandInterface::operator+(const ThisType &other) const

No documentation provided.

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

Flag to document which element the bases are expected to be bound to.

virtual int Dune::GDT::LocalBinaryIntersectionIntegrandInterface::order(const int &test_basis, const int &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::LocalBinaryIntersectionIntegrandInterface::evaluate(const int &test_basis, const int &ansatz_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 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::LocalBinaryIntersectionIntegrandInterface::evaluate(const int &test_basis, const int &ansatz_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::LocalBinaryIntersectionIntegrandInterface::ensure_size_and_clear_results(const int &test_basis, const int &ansatz_basis, int &result, const XT::Common::Parameter &param) const

No documentation provided.

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

No documentation provided.

template<>
Dune::GDT::LocalBinaryIntersectionIntegrandInterface::~LocalBinaryIntersectionIntegrandInterface<Intersection, 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::LocalBinaryIntersectionIntegrandInterface::d

No documentation provided.

const size_t Dune::GDT::LocalBinaryIntersectionIntegrandInterface::t_r

No documentation provided.

const size_t Dune::GDT::LocalBinaryIntersectionIntegrandInterface::t_rC

No documentation provided.

const size_t Dune::GDT::LocalBinaryIntersectionIntegrandInterface::a_r

No documentation provided.

const size_t Dune::GDT::LocalBinaryIntersectionIntegrandInterface::a_rC

No documentation provided.

type Dune::GDT::LocalBinaryIntersectionIntegrandInterface::ThisType

No documentation provided.

type Dune::GDT::LocalBinaryIntersectionIntegrandInterface::BaseParametricType

No documentation provided.

type Dune::GDT::LocalBinaryIntersectionIntegrandInterface::BaseIntersectionBoundObjectType

No documentation provided.

type Dune::GDT::LocalBinaryIntersectionIntegrandInterface::Logger

No documentation provided.

type Dune::GDT::LocalBinaryIntersectionIntegrandInterface::I

No documentation provided.

type Dune::GDT::LocalBinaryIntersectionIntegrandInterface::F

No documentation provided.

type Dune::GDT::LocalBinaryIntersectionIntegrandInterface::TR

No documentation provided.

type Dune::GDT::LocalBinaryIntersectionIntegrandInterface::AR

No documentation provided.

template<class ...Args>
LocalBinaryToUnaryIntersectionIntegrand<I, t_r, t_rC, TR, F, a_r, a_rC, AR> Dune::GDT::LocalBinaryIntersectionIntegrandInterface::with_ansatz(Args&&... args) const

No documentation provided.