dune-pdelab
2.0.0
|
#include <dune/pdelab/backend/istl/ovlp_amg_dg_backend.hh>
Public Types | |
enum | { category =Dune::SolverCategory::overlapping } |
typedef Dune::PDELab::BackendVectorSelector < DGGFS, typename DGPrec::domain_type::field_type > ::Type | V |
typedef Dune::PDELab::BackendVectorSelector < DGGFS, typename DGPrec::range_type::field_type > ::Type | W |
typedef V::BaseT | X |
typedef W::BaseT | Y |
typedef Dune::PDELab::BackendVectorSelector < CGGFS, typename CGPrec::domain_type::field_type > ::Type | CGV |
typedef Dune::PDELab::BackendVectorSelector < CGGFS, typename CGPrec::range_type::field_type > ::Type | CGW |
Public Member Functions | |
OvlpDGAMGPrec (const DGGFS &dggfs_, DGMatrix &dgmatrix_, DGPrec &dgprec_, const DGCC &dgcc_, const CGGFS &cggfs_, CGPrec &cgprec_, const CGCC &cgcc_, P &p_, const DGHelper &dghelper_, const Comm &comm_, int n1_, int n2_) | |
Constructor. More... | |
virtual void | pre (V &x, W &b) |
Prepare the preconditioner. More... | |
virtual void | apply (V &x, const W &b) |
Apply the precondioner. More... | |
virtual void | post (V &x) |
Clean up. More... | |
An ISTL preconditioner for DG based on AMG applied to CG subspace
The template parameters are: DGGFS DG space DGMatrix BCRSMatrix assembled with DG DGPrec preconditioner to be used for DG CGPrec preconditioner to be used on CG subspace P BCRSMatrix for grid transfer
typedef Dune::PDELab::BackendVectorSelector<CGGFS,typename CGPrec::domain_type::field_type>::Type Dune::PDELab::OvlpDGAMGPrec< DGGFS, DGMatrix, DGPrec, DGCC, CGGFS, CGPrec, CGCC, P, DGHelper, Comm >::CGV |
typedef Dune::PDELab::BackendVectorSelector<CGGFS,typename CGPrec::range_type::field_type>::Type Dune::PDELab::OvlpDGAMGPrec< DGGFS, DGMatrix, DGPrec, DGCC, CGGFS, CGPrec, CGCC, P, DGHelper, Comm >::CGW |
typedef Dune::PDELab::BackendVectorSelector<DGGFS,typename DGPrec::domain_type::field_type>::Type Dune::PDELab::OvlpDGAMGPrec< DGGFS, DGMatrix, DGPrec, DGCC, CGGFS, CGPrec, CGCC, P, DGHelper, Comm >::V |
typedef Dune::PDELab::BackendVectorSelector<DGGFS,typename DGPrec::range_type::field_type>::Type Dune::PDELab::OvlpDGAMGPrec< DGGFS, DGMatrix, DGPrec, DGCC, CGGFS, CGPrec, CGCC, P, DGHelper, Comm >::W |
typedef V::BaseT Dune::PDELab::OvlpDGAMGPrec< DGGFS, DGMatrix, DGPrec, DGCC, CGGFS, CGPrec, CGCC, P, DGHelper, Comm >::X |
typedef W::BaseT Dune::PDELab::OvlpDGAMGPrec< DGGFS, DGMatrix, DGPrec, DGCC, CGGFS, CGPrec, CGCC, P, DGHelper, Comm >::Y |
anonymous enum |
|
inline |
Constructor.
Constructor gets all parameters to operate the prec.
A | The matrix to operate on. |
n | The number of iterations to perform. |
w | The relaxation factor. |
|
inlinevirtual |
Apply the precondioner.
References Dune::PDELab::istl::raw(), and Dune::PDELab::set_constrained_dofs().
|
inlinevirtual |
Clean up.
References Dune::PDELab::istl::raw().
|
inlinevirtual |
Prepare the preconditioner.
References Dune::PDELab::istl::raw().