DUNE PDELab (2.8)
Representation of a coarse space intended for two-level Schwarz preconditioners. More...
#include <dune/pdelab/backend/istl/geneo/coarsespace.hh>
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. More... | |
virtual void | prolongate (const COARSE_V &coarse, X &prolongated) const =0 |
Prolongates a vector defined on the coarse space to the subdomain. More... | |
virtual std::shared_ptr< COARSE_M > | get_coarse_system ()=0 |
Returns the matrix representing the coarse basis. More... | |
virtual int | basis_size ()=0 |
Returns the size of the coarse basis. More... | |
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 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:
- dune/pdelab/backend/istl/geneo/coarsespace.hh
![Creative Commons License](https://i.creativecommons.org/l/by-sa/4.0/80x15.png)