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<M, SGV, s_r, s_rC, F, r_r, r_rC, RGV> : 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
Method Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::copy¶
Method Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::apply_local¶
-
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>
void Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler<M, SGV, s_r, s_rC, F, r_r, r_rC, RGV>::apply_local(const ElementType &element) final override¶ No documentation provided.
Constructor Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::LocalElementOperatorFiniteDifferenceJacobianAssembler<M, SGV, s_r, s_rC, F, r_r, r_rC, RGV>¶
-
template<>
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>
Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler<M, SGV, s_r, s_rC, F, r_r, r_rC, RGV>::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 ¶m)¶ No documentation provided.
Constructor Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::LocalElementOperatorFiniteDifferenceJacobianAssembler<M, SGV, s_r, s_rC, F, r_r, r_rC, RGV>¶
-
template<>
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>
Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler<M, SGV, s_r, s_rC, F, r_r, r_rC, RGV>::LocalElementOperatorFiniteDifferenceJacobianAssembler<M, SGV, s_r, s_rC, F, r_r, r_rC, RGV>(const ThisType &other)¶ No documentation provided.
Field Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::source_space_¶
-
int Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::source_space_¶
No documentation provided.
Field Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::range_space_¶
-
int Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::range_space_¶
No documentation provided.
Field Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::matrix_¶
-
MatrixType &Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::matrix_¶
No documentation provided.
Field Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::source_vector_¶
-
const int &Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::source_vector_¶
No documentation provided.
Field Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::param_¶
-
const XT::Common::Parameter Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::param_¶
No documentation provided.
Field Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::scaling_¶
-
const double Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::scaling_¶
No documentation provided.
Field Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::eps_¶
-
const int Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::eps_¶
No documentation provided.
Field Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::source_¶
-
int Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::source_¶
No documentation provided.
Field Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::range_¶
-
int Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::range_¶
No documentation provided.
Field Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::local_source_¶
-
int Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::local_source_¶
No documentation provided.
Field Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::local_range_¶
-
int Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::local_range_¶
No documentation provided.
Field Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::global_source_indices_¶
-
int Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::global_source_indices_¶
No documentation provided.
Field Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::global_range_indices_¶
-
int Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::global_range_indices_¶
No documentation provided.
Field Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::range_DoFs_¶
-
int Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::range_DoFs_¶
No documentation provided.
Field Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::local_op_¶
-
const int Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::local_op_¶
No documentation provided.
Type alias Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::BaseType¶
-
type Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::BaseType¶
No documentation provided.
Type alias Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::ThisType¶
-
type Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::ThisType¶
No documentation provided.
Type alias Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::MatrixType¶
-
type Dune::GDT::LocalElementOperatorFiniteDifferenceJacobianAssembler::MatrixType¶
No documentation provided.