Reference documentation for deal.II version 9.0.0
Public Member Functions | Private Attributes | List of all members
MGCoarseGridApplySmoother< VectorType > Class Template Reference

#include <deal.II/multigrid/mg_coarse.h>

Inheritance diagram for MGCoarseGridApplySmoother< VectorType >:
[legend]

Public Member Functions

 MGCoarseGridApplySmoother ()
 
 MGCoarseGridApplySmoother (const MGSmootherBase< VectorType > &coarse_smooth)
 
void clear ()
 
void initialize (const MGSmootherBase< VectorType > &coarse_smooth)
 
void operator() (const unsigned int level, VectorType &dst, const VectorType &src) const
 
- Public Member Functions inherited from MGCoarseGridBase< VectorType >
virtual ~MGCoarseGridBase ()=default
 
- Public Member Functions inherited from Subscriptor
 Subscriptor ()
 
 Subscriptor (const Subscriptor &)
 
 Subscriptor (Subscriptor &&) noexcept
 
virtual ~Subscriptor ()
 
Subscriptoroperator= (const Subscriptor &)
 
Subscriptoroperator= (Subscriptor &&) noexcept
 
void subscribe (const char *identifier=nullptr) const
 
void unsubscribe (const char *identifier=nullptr) const
 
unsigned int n_subscriptions () const
 
void list_subscribers () const
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

SmartPointer< const MGSmootherBase< VectorType >, MGCoarseGridApplySmoother< VectorType > > coarse_smooth
 

Additional Inherited Members

- Static Public Member Functions inherited from Subscriptor
static ::ExceptionBaseExcInUse (int arg1, std::string arg2, std::string arg3)
 
static ::ExceptionBaseExcNoSubscriber (std::string arg1, std::string arg2)
 

Detailed Description

template<class VectorType = Vector<double>>
class MGCoarseGridApplySmoother< VectorType >

Coarse grid solver using smoother only. This is a little wrapper, transforming a smoother into a coarse grid solver.

Author
Denis Davydov, 2016.

Definition at line 38 of file mg_coarse.h.

Constructor & Destructor Documentation

◆ MGCoarseGridApplySmoother() [1/2]

template<class VectorType = Vector<double>>
MGCoarseGridApplySmoother< VectorType >::MGCoarseGridApplySmoother ( )

Default constructor.

◆ MGCoarseGridApplySmoother() [2/2]

template<class VectorType = Vector<double>>
MGCoarseGridApplySmoother< VectorType >::MGCoarseGridApplySmoother ( const MGSmootherBase< VectorType > &  coarse_smooth)

Constructor. Store a pointer to the smoother for later use.

Member Function Documentation

◆ clear()

template<class VectorType = Vector<double>>
void MGCoarseGridApplySmoother< VectorType >::clear ( )

Clear the pointer.

◆ initialize()

template<class VectorType = Vector<double>>
void MGCoarseGridApplySmoother< VectorType >::initialize ( const MGSmootherBase< VectorType > &  coarse_smooth)

Initialize new data.

◆ operator()()

template<class VectorType = Vector<double>>
void MGCoarseGridApplySmoother< VectorType >::operator() ( const unsigned int  level,
VectorType &  dst,
const VectorType &  src 
) const
virtual

Implementation of the abstract function.

Implements MGCoarseGridBase< VectorType >.

Member Data Documentation

◆ coarse_smooth

template<class VectorType = Vector<double>>
SmartPointer<const MGSmootherBase<VectorType>, MGCoarseGridApplySmoother<VectorType> > MGCoarseGridApplySmoother< VectorType >::coarse_smooth
private

Reference to the smoother.

Definition at line 72 of file mg_coarse.h.


The documentation for this class was generated from the following file: