dune-pdelab 2.7-git
|
#include <dune/pdelab/backend/istl/seqistlsolverbackend.hh>
Public Types | |
typedef X | domain_type |
typedef Y | range_type |
typedef X::field_type | field_type |
Public Member Functions | |
OnTheFlyOperator (const GO &go_) | |
void | setLinearizationPoint (const X &u) |
virtual void | apply (const X &x, Y &y) const override |
virtual void | applyscaleadd (field_type alpha, const X &x, Y &y) const override |
SolverCategory::Category | category () const override |
Static Public Attributes | |
static constexpr bool | isLinear = GO::LocalAssembler::isLinear() |
Create ISTL operator from a grid operator object
In the nonlinear case the operator need to be linearized by setting a linearization point before it can be used.
X | Trial vector. |
Y | Test vector. |
GO | Grid operator that implements the jacobian apply |
typedef X Dune::PDELab::OnTheFlyOperator< X, Y, GO >::domain_type |
typedef X::field_type Dune::PDELab::OnTheFlyOperator< X, Y, GO >::field_type |
typedef Y Dune::PDELab::OnTheFlyOperator< X, Y, GO >::range_type |
|
inline |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverride |
|
inline |
Set linearization point. Must be called before apply() and applyscaleadd() for nonlinear problems.
|
staticconstexpr |