dune-pdelab 2.7-git
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
Dune::PDELab::ISTLBackend_OVLP_CG_SuperLU< GFS, CC > Class Template Reference

Overlapping parallel CG solver with SuperLU preconditioner. More...

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

Inheritance diagram for Dune::PDELab::ISTLBackend_OVLP_CG_SuperLU< GFS, CC >:
Inheritance graph

Public Member Functions

 ISTLBackend_OVLP_CG_SuperLU (const GFS &gfs_, const CC &cc_, unsigned maxiter_=5000, 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
 

Detailed Description

template<class GFS, class CC>
class Dune::PDELab::ISTLBackend_OVLP_CG_SuperLU< GFS, CC >

Overlapping parallel CG solver with SuperLU preconditioner.

Template Parameters
GFSThe Type of the GridFunctionSpace.
CCThe Type of the Constraints Container.

Constructor & Destructor Documentation

◆ ISTLBackend_OVLP_CG_SuperLU()

template<class GFS , class CC >
Dune::PDELab::ISTLBackend_OVLP_CG_SuperLU< GFS, CC >::ISTLBackend_OVLP_CG_SuperLU ( const GFS &  gfs_,
const CC &  cc_,
unsigned  maxiter_ = 5000,
int  verbose_ = 1 
)
inline

make a linear solver object

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

Member Function Documentation

◆ apply()

void Dune::PDELab::ISTLBackend_OVLP_SuperLU_Base< GFS, CC , Dune::CGSolver >::apply ( M &  A,
V &  z,
W &  r,
typename Dune::template FieldTraits< typename V::ElementType >::real_type  reduction 
)
inlineinherited

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

◆ dot()

template<typename GFS >
template<typename X >
X::ElementType Dune::PDELab::OVLPScalarProductImplementation< GFS >::dot ( const X &  x,
const X &  y 
) const
inlineinherited

Dot product of two vectors. It is assumed that the vectors are consistent on the interior+border partition.

◆ norm()

template<typename GFS >
template<typename X >
Dune::template FieldTraits< typenameX::ElementType >::real_type Dune::PDELab::OVLPScalarProductImplementation< GFS >::norm ( const X &  x) const
inlineinherited

Norm of a right-hand side vector. The vector must be consistent on the interior+border partition.

◆ parallelHelper() [1/2]

template<typename GFS >
ISTL::ParallelHelper< GFS > & Dune::PDELab::OVLPScalarProductImplementation< GFS >::parallelHelper ( )
inlineinherited

◆ parallelHelper() [2/2]

template<typename GFS >
const ISTL::ParallelHelper< GFS > & Dune::PDELab::OVLPScalarProductImplementation< GFS >::parallelHelper ( ) const
inlineinherited

◆ 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: