dune-pdelab  2.4.1
Public Member Functions | List of all members
Dune::PDELab::StationaryMatrixLinearSolver< GOS, SB, Coeff > Class Template Reference

A class for solving linear problems with stationary matrices. More...

#include <dune/pdelab/linearsolver/stationarymatrix.hh>

Public Member Functions

 StationaryMatrixLinearSolver (const GOS &gos_, SB &sb_, Coeff reduction_, Coeff mindefect_=1e-99)
 
void apply (VectorU &x)
 

Detailed Description

template<class GOS, class SB, class Coeff>
class Dune::PDELab::StationaryMatrixLinearSolver< GOS, SB, Coeff >

A class for solving linear problems with stationary matrices.

In apply() it first check whether the marix has already been assembled. If it hasn't,it assembles the matrix and stores it for future applications. Then it computes the right hand side and solves the problem.

Template Parameters
GOSGridOperatorSpace to use.
SBSolver backend.
CoeffType of the matrix/vector entries

Constructor & Destructor Documentation

template<class GOS , class SB , class Coeff >
Dune::PDELab::StationaryMatrixLinearSolver< GOS, SB, Coeff >::StationaryMatrixLinearSolver ( const GOS &  gos_,
SB &  sb_,
Coeff  reduction_,
Coeff  mindefect_ = 1e-99 
)
inline

Member Function Documentation

template<class GOS , class SB , class Coeff >
void Dune::PDELab::StationaryMatrixLinearSolver< GOS, SB, Coeff >::apply ( VectorU &  x)
inline

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