dune-pdelab  2.5-dev
Public Member Functions | Protected Attributes | List of all members
Dune::PDELab::ISTLBackend_SEQ_ExplicitDiagonal Class Reference

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

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

Inheritance diagram for Dune::PDELab::ISTLBackend_SEQ_ExplicitDiagonal:
Inheritance graph

Public Member Functions

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

Protected Attributes

Dune::PDELab::LinearSolverResult< double > res
 

Detailed Description

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

Constructor & Destructor Documentation

§ ISTLBackend_SEQ_ExplicitDiagonal()

Dune::PDELab::ISTLBackend_SEQ_ExplicitDiagonal::ISTLBackend_SEQ_ExplicitDiagonal ( )
inline

make a linear solver object

Member Function Documentation

§ apply()

template<class M , class V , class W >
void Dune::PDELab::ISTLBackend_SEQ_ExplicitDiagonal::apply ( M &  A,
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<typename V::ElementType >::real_type Dune::PDELab::SequentialNorm::norm ( const V &  v) const
inlineinherited

compute global norm of a vector

Parameters
[in]vthe given vector

§ result()

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

Return access to result data.

Member Data Documentation

§ res

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

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