DUNE PDELab (git)

Dune::PDELab::ISTLBackend_NOVLP_CG_NOPREC< GFS > Class Template Reference

Nonoverlapping parallel CG solver without preconditioner. More...

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

Public Member Functions

 ISTLBackend_NOVLP_CG_NOPREC (const GFS &gfs_, unsigned maxiter_=5000, int verbose_=1)
 make a linear solver object More...
 
template<class V >
V::ElementType norm (const V &v) const
 compute global norm of a vector More...
 
template<class M , class V , class W >
void apply (M &A, V &z, W &r, typename Dune::template FieldTraits< typename V::ElementType >::real_type reduction)
 solve the given linear system More...
 
const Dune::PDELab::LinearSolverResult< double > & result () const
 Return access to result data.
 

Detailed Description

template<class GFS>
class Dune::PDELab::ISTLBackend_NOVLP_CG_NOPREC< GFS >

Nonoverlapping parallel CG solver without preconditioner.

Constructor & Destructor Documentation

◆ ISTLBackend_NOVLP_CG_NOPREC()

template<class GFS >
Dune::PDELab::ISTLBackend_NOVLP_CG_NOPREC< GFS >::ISTLBackend_NOVLP_CG_NOPREC ( const GFS &  gfs_,
unsigned  maxiter_ = 5000,
int  verbose_ = 1 
)
inlineexplicit

make a linear solver object

Parameters
[in]gfs_a grid function space
[in]maxiter_maximum number of iterations to do
[in]verbose_print messages if true

Member Function Documentation

◆ apply()

template<class GFS >
template<class M , class V , class W >
void Dune::PDELab::ISTLBackend_NOVLP_CG_NOPREC< GFS >::apply ( M &  A,
V &  z,
W &  r,
typename Dune::template FieldTraits< typename V::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 GFS >
template<class V >
V::ElementType Dune::PDELab::ISTLBackend_NOVLP_CG_NOPREC< GFS >::norm ( const V &  v) const
inline

compute global norm of a vector

Parameters
[in]vthe given vector

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)