DUNE PDELab (git)

coarsespace.hh
1#ifndef DUNE_PDELAB_BACKEND_ISTL_GENEO_COARSESPACE_HH
2#define DUNE_PDELAB_BACKEND_ISTL_GENEO_COARSESPACE_HH
3
7template <class X>
9
10public:
13
18 virtual void restrict (const X& fine, COARSE_V& restricted) const = 0;
19
24 virtual void prolongate (const COARSE_V& coarse, X& prolongated) const = 0;
25
29 virtual std::shared_ptr<COARSE_M> get_coarse_system () = 0;
30
34 virtual int basis_size() = 0;
35};
36
37#endif //DUNE_PDELAB_BACKEND_ISTL_GENEO_COARSESPACE_HH
Representation of a coarse space intended for two-level Schwarz preconditioners.
Definition: coarsespace.hh:8
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 void restrict(const X &fine, COARSE_V &restricted) const =0
Restricts a vector defined on a subdomain to the coarse space.
A sparse block matrix with compressed row storage.
Definition: bcrsmatrix.hh:466
A vector of blocks with memory management.
Definition: bvector.hh:392
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Jul 15, 22:36, 2024)