dune-pdelab 2.7-git
|
Overlapping parallel CGS solver with SSOR preconditioner. More...
#include <dune/pdelab/backend/istl/ovlpistlsolverbackend.hh>
Public Member Functions | |
ISTLBackend_OVLP_CG_SSORk (const GFS &gfs, const CC &cc, unsigned maxiter=5000, int steps=5, int verbose=1) | |
make a linear solver object | |
void | apply (M &A, V &z, W &r, typename Dune::template FieldTraits< typename V::ElementType >::real_type reduction) |
solve the given linear system | |
template<typename X > | |
X::ElementType | dot (const X &x, const X &y) const |
Dot product of two vectors. It is assumed that the vectors are consistent on the interior+border partition. | |
template<typename X > | |
Dune::template FieldTraits< typenameX::ElementType >::real_type | norm (const X &x) const |
Norm of a right-hand side vector. The vector must be consistent on the interior+border partition. | |
const ISTL::ParallelHelper< GFS > & | parallelHelper () const |
ISTL::ParallelHelper< GFS > & | parallelHelper () |
const Dune::PDELab::LinearSolverResult< double > & | result () const |
Return access to result data. | |
Protected Attributes | |
Dune::PDELab::LinearSolverResult< double > | res |
Overlapping parallel CGS solver with SSOR preconditioner.
GFS | The Type of the GridFunctionSpace. |
CC | The Type of the Constraints Container. |
|
inline |
make a linear solver object
[in] | gfs | a grid function space |
[in] | cc | a constraints container object |
[in] | maxiter | maximum number of iterations to do |
[in] | steps | number of SSOR steps to apply as inner iteration |
[in] | verbose | print messages if true |
|
inlineinherited |
solve the given linear system
[in] | A | the given matrix |
[out] | z | the solution vector to be computed |
[in] | r | right hand side |
[in] | reduction | to be achieved |
|
inlineinherited |
Dot product of two vectors. It is assumed that the vectors are consistent on the interior+border partition.
|
inlineinherited |
Norm of a right-hand side vector. The vector must be consistent on the interior+border partition.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Return access to result data.
|
protectedinherited |