dune-pdelab 2.7-git
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
Dune::PDELab::ISTLBackend_SEQ_MatrixFree_Richardson< GO, Solver > Class Template Reference

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

Inheritance diagram for Dune::PDELab::ISTLBackend_SEQ_MatrixFree_Richardson< GO, Solver >:
Inheritance graph

Public Member Functions

 ISTLBackend_SEQ_MatrixFree_Richardson (const GO &go, unsigned maxiter=5000, int verbose=1)
 make a linear solver object
 
void apply (V &z, W &r, typename Dune::template FieldTraits< typename W::ElementType >::real_type reduction)
 solve the given linear system
 
void setLinearizationPoint (const V &u)
 Set position of jacobian, ust be called before apply() for nonlinear problems.
 
template<class V >
Dune::template FieldTraits< typenameV::ElementType >::real_type norm (const V &v) const
 compute global norm of a vector
 
const Dune::PDELab::LinearSolverResult< double > & result () const
 Return access to result data.
 

Protected Attributes

Dune::PDELab::LinearSolverResult< double > res
 

Constructor & Destructor Documentation

◆ ISTLBackend_SEQ_MatrixFree_Richardson()

template<class GO , template< class > class Solver>
Dune::PDELab::ISTLBackend_SEQ_MatrixFree_Richardson< GO, Solver >::ISTLBackend_SEQ_MatrixFree_Richardson ( const GO &  go,
unsigned  maxiter = 5000,
int  verbose = 1 
)
inlineexplicit

make a linear solver object

Parameters
[in]maxiter_maximum number of iterations to do
[in]verbose_print messages if true

Member Function Documentation

◆ apply()

template<class GO , template< class > class Solver>
void Dune::PDELab::ISTLBackend_SEQ_MatrixFree_Richardson< GO, Solver >::apply ( V &  z,
W &  r,
typename Dune::template FieldTraits< typename W::ElementType >::real_type  reduction 
)
inline

solve the given linear system

Parameters
[in]Athe given matrix
[out]zthe solution vector to be computed
[in]rright hand side
[in]reductionto be achieved

◆ norm()

template<class V >
Dune::template FieldTraits< typenameV::ElementType >::real_type Dune::PDELab::SequentialNorm::norm ( const V &  v) const
inlineinherited

compute global norm of a vector

\param[in] v the given vector

◆ result()

const Dune::PDELab::LinearSolverResult< double > & Dune::PDELab::LinearResultStorage::result ( ) const
inlineinherited

Return access to result data.

◆ setLinearizationPoint()

template<class GO , template< class > class Solver>
void Dune::PDELab::ISTLBackend_SEQ_MatrixFree_Richardson< GO, Solver >::setLinearizationPoint ( const V &  u)
inline

Set position of jacobian, ust be called before apply() for nonlinear problems.

Member Data Documentation

◆ res

Dune::PDELab::LinearSolverResult<double> Dune::PDELab::LinearResultStorage::res
protectedinherited

The documentation for this class was generated from the following file: