DUNE PDELab (git)

Dune::PDELab::OnTheFlyOperator< X, Y, GO > Class Template Reference

#include <dune/pdelab/backend/istl/seqistlsolverbackend.hh>

Public Member Functions

void setLinearizationPoint (const X &u)
 
virtual void apply (const X &x, Y &y) const override
 apply operator to x: \( y = A(x) \) The input vector is consistent and the output must also be consistent on the interior+border partition.
 
virtual void applyscaleadd (field_type alpha, const X &x, Y &y) const override
 apply operator to x, scale and add: \( y = y + \alpha A(x) \)
 
SolverCategory::Category category () const override
 Category of the linear operator (see SolverCategory::Category)
 

Detailed Description

template<typename X, typename Y, typename GO>
class Dune::PDELab::OnTheFlyOperator< X, Y, GO >

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.

Template Parameters
XTrial vector.
YTest vector.
GOGrid operator that implements the jacobian apply

Member Function Documentation

◆ setLinearizationPoint()

template<typename X , typename Y , typename GO >
void Dune::PDELab::OnTheFlyOperator< X, Y, GO >::setLinearizationPoint ( const X &  u)
inline

Set linearization point. Must be called before apply() and applyscaleadd() for nonlinear problems.

Referenced by Dune::PDELab::ISTLBackend_SEQ_MatrixFree_Base< GO, PrecGO, Solver >::setLinearizationPoint().


The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 12, 23:30, 2024)