Reference documentation for deal.II version 9.1.1
\(\newcommand{\dealcoloneq}{\mathrel{\vcenter{:}}=}\)
Public Member Functions | List of all members
MGSmootherIdentity< VectorType > Class Template Reference

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

Inheritance diagram for MGSmootherIdentity< VectorType >:
[legend]

Public Member Functions

virtual void smooth (const unsigned int level, VectorType &u, const VectorType &rhs) const
 
virtual void clear ()
 
- Public Member Functions inherited from MGSmootherBase< VectorType >
virtual ~MGSmootherBase () override=default
 
virtual void apply (const unsigned int level, VectorType &u, const VectorType &rhs) const
 
- Public Member Functions inherited from Subscriptor
 Subscriptor ()
 
 Subscriptor (const Subscriptor &)
 
 Subscriptor (Subscriptor &&) noexcept
 
virtual ~Subscriptor ()
 
Subscriptoroperator= (const Subscriptor &)
 
Subscriptoroperator= (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)
 

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<typename VectorType>
class MGSmootherIdentity< VectorType >

Smoother doing nothing. This class is not useful for many applications other than for testing some multigrid procedures. Also some applications might get convergence without smoothing and then this class brings you the cheapest possible multigrid.

Author
Guido Kanschat, 1999, 2002

Definition at line 142 of file mg_smoother.h.

Member Function Documentation

◆ smooth()

template<typename VectorType >
virtual void MGSmootherIdentity< VectorType >::smooth ( const unsigned int  level,
VectorType &  u,
const VectorType &  rhs 
) const
virtual

Implementation of the interface for Multigrid. This function does nothing, which by comparison with the definition of this function means that the smoothing operator equals the null operator.

Implements MGSmootherBase< VectorType >.

◆ clear()

template<typename VectorType >
virtual void MGSmootherIdentity< VectorType >::clear ( )
virtual

Release matrices.

Implements MGSmootherBase< VectorType >.


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