![]() |
Dune-Fufem 2.12-git
|
Loading...
Searching...
No Matches
Form language (pointwise nonlinear operators)
Description
Pointwise defined nonlinear operators.
Collaboration diagram for Form language (pointwise nonlinear operators):

Functions | |
| template<class Op > requires ((isOperatorOrSumOperator_v<Op> and (Op::arity==0) and (Dune::IsCallable<Dune::Fufem::Forms::LocalOperators::InvertOp(typename Op::Range)>::value)) or ((not isOperatorOrSumOperator_v<Op>) and Dune::IsCallable<Dune::Fufem::Forms::LocalOperators::InvertOp(Op)>::value)) | |
| auto | Dune::Fufem::Forms::inv (const Op &op) |
| Transform an operator by pointwise computation of the matrix inverse. | |
Function Documentation
◆ inv()
template<class Op >
requires ((isOperatorOrSumOperator_v<Op> and (Op::arity==0) and (Dune::IsCallable<Dune::Fufem::Forms::LocalOperators::InvertOp(typename Op::Range)>::value)) or ((not isOperatorOrSumOperator_v<Op>) and Dune::IsCallable<Dune::Fufem::Forms::LocalOperators::InvertOp(Op)>::value))
requires ((isOperatorOrSumOperator_v<Op> and (Op::arity==0) and (Dune::IsCallable<Dune::Fufem::Forms::LocalOperators::InvertOp(typename Op::Range)>::value)) or ((not isOperatorOrSumOperator_v<Op>) and Dune::IsCallable<Dune::Fufem::Forms::LocalOperators::InvertOp(Op)>::value))
| auto Dune::Fufem::Forms::inv | ( | const Op & | op | ) |
Transform an operator by pointwise computation of the matrix inverse.
- Parameters
-
op The operator to invert pointwise (should be a constant, or 0-linear MultilinearOperator or SumOperator)
Given an 0-linear operator op this returns another 0-linear operator, where a pointwise transformation is applied in the associated function space range. If op is a constant, the transformation is applied directly. The pointwise transformation computes the matrix inverse.
This only works for matrices up to size 3x3 and may throw if the matrix is found to be (close to) singular during inversion.
Since this is a nonlinear operation, it is only available if op is 0-linear, and its range type is invertible or if op is a plain value which is invertible.
