DUNE PDELab (git)
Dune::PDELab::ISTLBackend_SEQ_AMG_4_DG< DGGO, CGGFS, TransferLOP, DGPrec, Solver > Class Template Reference
#include <dune/pdelab/backend/istl/seq_amg_dg_backend.hh>
Public Member Functions | |
V::ElementType | norm (const V &v) const |
compute global norm of a vector More... | |
void | setParameters (const Parameters &amg_parameters_) |
set AMG parameters More... | |
const Parameters & | parameters () const |
Get the parameters describing the behaviuour of AMG. More... | |
void | setReuse (bool reuse_) |
Set whether the AMG should be reused again during call to apply(). | |
bool | getReuse () const |
Return whether the AMG is reused during call to apply() | |
void | setDGSmootherRelaxation (double relaxation_) |
set number of presmoothing steps on the DG level | |
void | setNoDGPreSmoothSteps (int n1_) |
set number of presmoothing steps on the DG level | |
void | setNoDGPostSmoothSteps (int n2_) |
set number of postsmoothing steps on the DG level | |
void | apply (M &A, V &z, V &r, typename Dune::template FieldTraits< typename V::ElementType >::real_type reduction) |
solve the given linear system More... | |
const Dune::PDELab::LinearSolverResult< double > & | result () const |
Return access to result data. | |
Detailed Description
template<class DGGO, class CGGFS, class TransferLOP, template< class, class, class, int > class DGPrec, template< class > class Solver>
class Dune::PDELab::ISTLBackend_SEQ_AMG_4_DG< DGGO, CGGFS, TransferLOP, DGPrec, Solver >
class Dune::PDELab::ISTLBackend_SEQ_AMG_4_DG< DGGO, CGGFS, TransferLOP, DGPrec, Solver >
Sequential solver backend for using AMG for DG in PDELab
The template parameters are: DGGO GridOperator for DG discretization, allows access to matrix, vector and grid function space CGGFS grid function space for CG subspace DGPrec preconditioner for DG problem Solver solver to be used on the complete problem
Member Function Documentation
◆ apply()
template<class DGGO , class CGGFS , class TransferLOP , template< class, class, class, int > class DGPrec, template< class > class Solver>
|
inline |
solve the given linear system
- Parameters
-
[in] A the given matrix [out] z the solution vector to be computed [in] r right hand side [in] reduction to be achieved
◆ norm()
template<class DGGO , class CGGFS , class TransferLOP , template< class, class, class, int > class DGPrec, template< class > class Solver>
|
inline |
compute global norm of a vector
- Parameters
-
[in] v the given vector
◆ parameters()
template<class DGGO , class CGGFS , class TransferLOP , template< class, class, class, int > class DGPrec, template< class > class Solver>
|
inline |
Get the parameters describing the behaviuour of AMG.
The returned object can be adjusted to ones needs and then can be reset using setParameters.
- Returns
- The object holding the parameters of AMG.
◆ setParameters()
template<class DGGO , class CGGFS , class TransferLOP , template< class, class, class, int > class DGPrec, template< class > class Solver>
|
inline |
set AMG parameters
- Parameters
-
[in] amg_parameters_ a parameter object of Type Dune::Amg::Parameters
The documentation for this class was generated from the following file:
- dune/pdelab/backend/istl/seq_amg_dg_backend.hh
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 24, 23:30, 2024)