dune-pdelab  2.0.0
Public Member Functions | List of all members
Dune::PDELab::ISTLBackend_NOVLP_ExplicitDiagonal< GFS > Class Template Reference

Solver to be used for explicit time-steppers with (block-)diagonal mass matrix. More...

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

Public Member Functions

 ISTLBackend_NOVLP_ExplicitDiagonal (const GFS &gfs_)
 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 W::ElementType reduction)
 solve the given linear system More...
 
const
Dune::PDELab::LinearSolverResult
< double > & 
result () const
 Return access to result data. More...
 

Detailed Description

template<typename GFS>
class Dune::PDELab::ISTLBackend_NOVLP_ExplicitDiagonal< GFS >

Solver to be used for explicit time-steppers with (block-)diagonal mass matrix.

Constructor & Destructor Documentation

template<typename GFS >
Dune::PDELab::ISTLBackend_NOVLP_ExplicitDiagonal< GFS >::ISTLBackend_NOVLP_ExplicitDiagonal ( const GFS &  gfs_)
inlineexplicit

make a linear solver object

Parameters
[in]gfs_GridFunctionSpace, used to identify DoFs for parallel communication

Member Function Documentation

template<typename GFS >
template<class M , class V , class W >
void Dune::PDELab::ISTLBackend_NOVLP_ExplicitDiagonal< GFS >::apply ( M &  A,
V &  z,
W &  r,
typename W::ElementType  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

References Dune::PDELab::LinearSolverResult< RFType >::conv_rate, Dune::PDELab::LinearSolverResult< RFType >::converged, Dune::PDELab::LinearSolverResult< RFType >::elapsed, Dune::PDELab::LinearSolverResult< RFType >::iterations, and Dune::PDELab::LinearSolverResult< RFType >::reduction.

template<typename GFS >
template<class V >
V::ElementType Dune::PDELab::ISTLBackend_NOVLP_ExplicitDiagonal< GFS >::norm ( const V &  v) const
inline

compute global norm of a vector

Parameters
[in]vthe given vector
template<typename GFS >
const Dune::PDELab::LinearSolverResult<double>& Dune::PDELab::ISTLBackend_NOVLP_ExplicitDiagonal< GFS >::result ( ) const
inline

Return access to result data.


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