|
dune-pdelab 2.7-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. | |
Representation of a coarse space intended for two-level Schwarz preconditioners.
| X | Vector type on the subdomain |
| typedef Dune::BCRSMatrix<Dune::FieldMatrix<double,1,1> > CoarseSpace< X >::COARSE_M |
| typedef Dune::BlockVector<Dune::FieldVector<double,1> > CoarseSpace< X >::COARSE_V |
|
pure virtual |
Returns the size of the coarse basis.
Implemented in Dune::PDELab::SubdomainProjectedCoarseSpace< GFS, M, X, PIH >.
|
pure virtual |
Returns the matrix representing the coarse basis.
Implemented in Dune::PDELab::SubdomainProjectedCoarseSpace< GFS, M, X, PIH >.
|
pure virtual |
Prolongates a vector defined on the coarse space to the subdomain.
| [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 >.
|
pure virtual |
Restricts a vector defined on a subdomain to the coarse space.
| [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 >.