Reference documentation for deal.II version 9.2.0
|
#include <deal.II/multigrid/mg_coarse.h>
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 override |
Public Member Functions inherited from MGCoarseGridBase< Vector< double > > | |
virtual | ~MGCoarseGridBase () override=default |
virtual void | operator() (const unsigned int level, Vector< double > &dst, const Vector< double > &src) const=0 |
Public Member Functions inherited from Subscriptor | |
Subscriptor () | |
Subscriptor (const Subscriptor &) | |
Subscriptor (Subscriptor &&) noexcept | |
virtual | ~Subscriptor () |
Subscriptor & | operator= (const Subscriptor &) |
Subscriptor & | operator= (Subscriptor &&) noexcept |
void | subscribe (std::atomic< bool > *const validity, const std::string &identifier="") const |
void | unsubscribe (std::atomic< bool > *const validity, const std::string &identifier="") const |
unsigned int | n_subscriptions () const |
template<typename StreamType > | |
void | list_subscribers (StreamType &stream) 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 ::ExceptionBase & | ExcInUse (int arg1, std::string arg2, std::string arg3) |
static ::ExceptionBase & | ExcNoSubscriber (std::string arg1, std::string arg2) |
Coarse grid solver using smoother only. This is a little wrapper, transforming a smoother into a coarse grid solver.
Definition at line 40 of file mg_coarse.h.
MGCoarseGridApplySmoother< VectorType >::MGCoarseGridApplySmoother | ( | ) |
Default constructor.
MGCoarseGridApplySmoother< VectorType >::MGCoarseGridApplySmoother | ( | const MGSmootherBase< VectorType > & | coarse_smooth | ) |
Constructor. Store a pointer to the smoother for later use.
void MGCoarseGridApplySmoother< VectorType >::clear | ( | ) |
Clear the pointer.
void MGCoarseGridApplySmoother< VectorType >::initialize | ( | const MGSmootherBase< VectorType > & | coarse_smooth | ) |
Initialize new data.
|
override |
Implementation of the abstract function.
|
private |
Reference to the smoother.
Definition at line 79 of file mg_coarse.h.