Class template Dune::XT::Functions::GenericElementFunction<E, r, rC, R>

Inherits from Dune::XT::Functions::ElementFunctionInterface.

template<class E, size_t r, size_t rC, class R = double>
class Dune::XT::Functions::GenericElementFunction<E, r, rC, R> : public ElementFunctionInterface<E, r, rC, R>

Element function you can pass lambda expressions or std::functions to that get evaluated.

Method Dune::XT::Functions::GenericElementFunction::post_bind

template<class E, size_t r, size_t rC, class R = double>
void Dune::XT::Functions::GenericElementFunction<E, r, rC, R>::post_bind(const ElementType &element) final

\ {

´´These methods are required by XT::Grid::ElementBoundObject.‘’

Method Dune::XT::Functions::GenericElementFunction::order

template<class E, size_t r, size_t rC, class R = double>
int Dune::XT::Functions::GenericElementFunction<E, r, rC, R>::order(const Common::Parameter &param = {}) const final

\ }

´´These methods are required by ElementFunctionInterface.‘’

\ {

Method Dune::XT::Functions::GenericElementFunction::evaluate

template<class E, size_t r, size_t rC, class R = double>
RangeReturnType Dune::XT::Functions::GenericElementFunction<E, r, rC, R>::evaluate(const DomainType &point_in_reference_element, const Common::Parameter &param = {}) const final

No documentation provided.

Method Dune::XT::Functions::GenericElementFunction::jacobian

template<class E, size_t r, size_t rC, class R = double>
DerivativeRangeReturnType Dune::XT::Functions::GenericElementFunction<E, r, rC, R>::jacobian(const DomainType &point_in_reference_element, const Common::Parameter &param = {}) const final

No documentation provided.

Method Dune::XT::Functions::GenericElementFunction::derivative

template<class E, size_t r, size_t rC, class R = double>
DerivativeRangeReturnType Dune::XT::Functions::GenericElementFunction<E, r, rC, R>::derivative(const std::array<size_t, d> &alpha, const DomainType &point_in_reference_element, const Common::Parameter &param = {}) const final

No documentation provided.

Method Dune::XT::Functions::GenericElementFunction::default_evaluate_function

template<class E, size_t r, size_t rC, class R = double>
static GenericEvaluateFunctionType Dune::XT::Functions::GenericElementFunction<E, r, rC, R>::default_evaluate_function()

\ }

´´These methods may be used to provide defaults on construction.‘’

\ {

Method Dune::XT::Functions::GenericElementFunction::default_jacobian_function

template<class E, size_t r, size_t rC, class R = double>
static GenericJacobianFunctionType Dune::XT::Functions::GenericElementFunction<E, r, rC, R>::default_jacobian_function()

No documentation provided.

Method Dune::XT::Functions::GenericElementFunction::default_derivative_function

template<class E, size_t r, size_t rC, class R = double>
static GenericDerivativeFunctionType Dune::XT::Functions::GenericElementFunction<E, r, rC, R>::default_derivative_function()

No documentation provided.

Constructor Dune::XT::Functions::GenericElementFunction::GenericElementFunction

template<class E, size_t r, size_t rC, class R = double>
explicit Dune::XT::Functions::GenericElementFunction<E, r, rC, R>::GenericElementFunction(GenericOrderFunctionType order_func, GenericEvaluateFunctionType evaluate_func = default_evaluate_function(), const Common::ParameterType &param_type = {}, GenericJacobianFunctionType jacobian_func = default_jacobian_function(), GenericDerivativeFunctionType derivative_func = default_derivative_function(), GenericPostBindFunctionType post_bind_func = [](const auto &) {})

No documentation provided.

Constructor Dune::XT::Functions::GenericElementFunction::GenericElementFunction

template<class E, size_t r, size_t rC, class R = double>
explicit Dune::XT::Functions::GenericElementFunction<E, r, rC, R>::GenericElementFunction(const int ord, GenericEvaluateFunctionType evaluate_lambda = default_evaluate_function(), const Common::ParameterType &param_type = {}, GenericJacobianFunctionType jacobian_lambda = default_jacobian_function(), GenericDerivativeFunctionType derivative_lambda = default_derivative_function(), GenericPostBindFunctionType post_bind_func = [](const auto &) {})

No documentation provided.

Field Dune::XT::Functions::GenericElementFunction::order_

template<class E, size_t r, size_t rC, class R = double>
const GenericOrderFunctionType Dune::XT::Functions::GenericElementFunction<E, r, rC, R>::order_

\ }

Field Dune::XT::Functions::GenericElementFunction::evaluate_

template<class E, size_t r, size_t rC, class R = double>
const GenericEvaluateFunctionType Dune::XT::Functions::GenericElementFunction<E, r, rC, R>::evaluate_

No documentation provided.

Field Dune::XT::Functions::GenericElementFunction::jacobian_

template<class E, size_t r, size_t rC, class R = double>
const GenericJacobianFunctionType Dune::XT::Functions::GenericElementFunction<E, r, rC, R>::jacobian_

No documentation provided.

Field Dune::XT::Functions::GenericElementFunction::derivative_

template<class E, size_t r, size_t rC, class R = double>
const GenericDerivativeFunctionType Dune::XT::Functions::GenericElementFunction<E, r, rC, R>::derivative_

No documentation provided.

Field Dune::XT::Functions::GenericElementFunction::post_bind_

template<class E, size_t r, size_t rC, class R = double>
const GenericPostBindFunctionType Dune::XT::Functions::GenericElementFunction<E, r, rC, R>::post_bind_

No documentation provided.

Type alias Dune::XT::Functions::GenericElementFunction::BaseType

template<class E, size_t r, size_t rC, class R = double>
using Dune::XT::Functions::GenericElementFunction<E, r, rC, R>::BaseType = ElementFunctionInterface<E, r, rC, R>

No documentation provided.

Type alias Dune::XT::Functions::GenericElementFunction::GenericOrderFunctionType

template<class E, size_t r, size_t rC, class R = double>
using Dune::XT::Functions::GenericElementFunction<E, r, rC, R>::GenericOrderFunctionType = std::function<int(const Common::Parameter&)>

No documentation provided.

Type alias Dune::XT::Functions::GenericElementFunction::GenericEvaluateFunctionType

template<class E, size_t r, size_t rC, class R = double>
using Dune::XT::Functions::GenericElementFunction<E, r, rC, R>::GenericEvaluateFunctionType = std::function<RangeReturnType(const DomainType&, const Common::Parameter&)>

No documentation provided.

Type alias Dune::XT::Functions::GenericElementFunction::GenericJacobianFunctionType

template<class E, size_t r, size_t rC, class R = double>
using Dune::XT::Functions::GenericElementFunction<E, r, rC, R>::GenericJacobianFunctionType = std::function<DerivativeRangeReturnType(const DomainType&, const Common::Parameter&)>

No documentation provided.

Type alias Dune::XT::Functions::GenericElementFunction::GenericDerivativeFunctionType

template<class E, size_t r, size_t rC, class R = double>
using Dune::XT::Functions::GenericElementFunction<E, r, rC, R>::GenericDerivativeFunctionType = std::function<DerivativeRangeReturnType(const std::array<size_t, d>&, const DomainType&, const Common::Parameter&)>

No documentation provided.

Type alias Dune::XT::Functions::GenericElementFunction::GenericPostBindFunctionType

template<class E, size_t r, size_t rC, class R = double>
using Dune::XT::Functions::GenericElementFunction<E, r, rC, R>::GenericPostBindFunctionType = std::function<void(const ElementType&)>

No documentation provided.