|
dune-pdelab 2.10-git
|
Representation of a coarse space intended for two-level Schwarz preconditioners. More...
#include <dune/pdelab/backend/istl/geneo/coarsespace.hh>

Public Types | |
| typedef Dune::BlockVector< Dune::FieldVector< double, 1 > > | COARSE_V |
| typedef Dune::BCRSMatrix< Dune::FieldMatrix< double, 1, 1 > > | COARSE_M |
Public Member Functions | |
| virtual void | restrict (const X &fine, COARSE_V &restricted) const =0 |
| Restricts a vector defined on a subdomain to the coarse space. | |
| virtual void | prolongate (const COARSE_V &coarse, X &prolongated) const =0 |
| Prolongates a vector defined on the coarse space to the subdomain. | |
| virtual std::shared_ptr< COARSE_M > | get_coarse_system ()=0 |
| Returns the matrix representing the coarse basis. | |
| virtual int | basis_size ()=0 |
| Returns the size of the coarse basis. | |
| virtual | ~CoarseSpace () |
| Virtual destructor. | |
Detailed Description
class CoarseSpace< X >
Representation of a coarse space intended for two-level Schwarz preconditioners.
- Template Parameters
-
X Vector type on the subdomain
Member Typedef Documentation
◆ COARSE_M
| typedef Dune::BCRSMatrix<Dune::FieldMatrix<double,1,1> > CoarseSpace< X >::COARSE_M |
◆ COARSE_V
| typedef Dune::BlockVector<Dune::FieldVector<double,1> > CoarseSpace< X >::COARSE_V |
Constructor & Destructor Documentation
◆ ~CoarseSpace()
|
inlinevirtual |
Virtual destructor.
Member Function Documentation
◆ basis_size()
|
pure virtual |
Returns the size of the coarse basis.
- Returns
- Size of the basis
Implemented in Dune::PDELab::SubdomainProjectedCoarseSpace< GFS, M, X, PIH >.
◆ get_coarse_system()
|
pure virtual |
Returns the matrix representing the coarse basis.
- Returns
- The coarse matrix
Implemented in Dune::PDELab::SubdomainProjectedCoarseSpace< GFS, M, X, PIH >.
◆ prolongate()
|
pure virtual |
Prolongates a vector defined on the coarse space to the subdomain.
- Parameters
-
[in] v The coarse space vector to be prolongated [out] prolongated The prolongation in subdomain space.
Implemented in Dune::PDELab::SubdomainProjectedCoarseSpace< GFS, M, X, PIH >.
◆ restrict()
|
pure virtual |
Restricts a vector defined on a subdomain to the coarse space.
- Parameters
-
[in] d The subdomain space vector to be restricted [out] restricted Resulting restriction in coarse space. Must be of size given by basis_size().
Implemented in Dune::PDELab::SubdomainProjectedCoarseSpace< GFS, M, X, PIH >.
The documentation for this class was generated from the following file:
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8