Class template Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler

Inherits from Dune::XT::Grid::ElementFunctor.

template<class M, class SGV, size_t s_r = 1, size_t s_rC = 1, class F = double, size_t r_r = s_r, size_t r_rC = s_rC, class RGV = SGV>
class Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler : public XT::Grid::ElementFunctor<SGV>

Computes a finite-difference approximation of the jacobian of an operator induced by a local element operator.

See also LocalElementOperatorInterface for a description of the template arguments.

Note

Presumes that the nonlinearity in the first argument of the operator does not suffer from restriction to the neighborhood.

Note

This implementation is not optimal, since it requires a full source and range vector. This can only be fixed after refactoring local discrete functions and local dof vectors.

See also: LocalElementOperatorInterface

BaseType *Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::copy() final override

No documentation provided.

void Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::apply_local(const ElementType &element) final override

No documentation provided.

template<>
Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::LocalElementOperatorFiniteDifferenceJacobianAssembler<M, SGV, s_r, s_rC, F, r_r, r_rC, RGV>(const int &source_space, const int &range_space, MatrixType &matrix, const int &source_vector, const int &local_operator, const XT::Common::Parameter &param = <recovery-expr>({}))

No documentation provided.

template<>
Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::LocalElementOperatorFiniteDifferenceJacobianAssembler<M, SGV, s_r, s_rC, F, r_r, r_rC, RGV>(const ThisType &other)

No documentation provided.

int Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::source_space_

No documentation provided.

int Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::range_space_

No documentation provided.

MatrixType &Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::matrix_

No documentation provided.

const int &Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::source_vector_

No documentation provided.

const XT::Common::Parameter Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::param_

No documentation provided.

const double Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::scaling_

No documentation provided.

const int Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::eps_

No documentation provided.

int Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::source_

No documentation provided.

int Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::range_

No documentation provided.

int Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::local_source_

No documentation provided.

int Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::local_range_

No documentation provided.

int Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::global_source_indices_

No documentation provided.

int Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::global_range_indices_

No documentation provided.

int Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::range_DoFs_

No documentation provided.

const int Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::local_op_

No documentation provided.

type Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::BaseType

No documentation provided.

type Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::ThisType

No documentation provided.

type Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::MatrixType

No documentation provided.