DUNE PDELab (git)

CoarseSpace< X > Class Template Referenceabstract

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_Mget_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

template<class X>
class CoarseSpace< X >

Representation of a coarse space intended for two-level Schwarz preconditioners.

Template Parameters
XVector type on the subdomain

Member Function Documentation

◆ basis_size()

template<class X >
virtual int CoarseSpace< X >::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()

template<class X >
virtual std::shared_ptr< COARSE_M > CoarseSpace< X >::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()

template<class X >
virtual void CoarseSpace< X >::prolongate ( const COARSE_V coarse,
X &  prolongated 
) const
pure virtual

Prolongates a vector defined on the coarse space to the subdomain.

Parameters
[in]vThe coarse space vector to be prolongated
[out]prolongatedThe prolongation in subdomain space.

Implemented in Dune::PDELab::SubdomainProjectedCoarseSpace< GFS, M, X, PIH >.

◆ restrict()

template<class X >
virtual void CoarseSpace< X >::restrict ( const X &  fine,
COARSE_V restricted 
) const
pure virtual

Restricts a vector defined on a subdomain to the coarse space.

Parameters
[in]dThe subdomain space vector to be restricted
[out]restrictedResulting 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:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 24, 23:30, 2024)