Reference documentation for deal.II version 9.3.3
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Public Member Functions | List of all members
MGCoarseGridBase< VectorType > Class Template Referenceabstract

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

Inheritance diagram for MGCoarseGridBase< VectorType >:
[legend]

Public Member Functions

virtual ~MGCoarseGridBase () override=default
 
virtual void operator() (const unsigned int level, VectorType &dst, const VectorType &src) const =0
 

Subscriptor functionality

Classes derived from Subscriptor provide a facility to subscribe to this object. This is mostly used by the SmartPointer class.

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)
 
using map_value_type = decltype(counter_map)::value_type
 
using map_iterator = decltype(counter_map)::iterator
 
std::atomic< unsigned intcounter
 
std::map< std::string, unsigned intcounter_map
 
std::vector< std::atomic< bool > * > validity_pointers
 
const std::type_info * object_info
 
static std::mutex mutex
 
static ::ExceptionBaseExcInUse (int arg1, std::string arg2, std::string arg3)
 
static ::ExceptionBaseExcNoSubscriber (std::string arg1, std::string arg2)
 
void check_no_subscribers () const noexcept
 

Detailed Description

template<typename VectorType>
class MGCoarseGridBase< VectorType >

Base class for coarse grid solvers. This defines the virtual parenthesis operator, being the interface used by multigrid methods. Any implementation will be done by derived classes.

Definition at line 107 of file mg_base.h.

Constructor & Destructor Documentation

◆ ~MGCoarseGridBase()

template<typename VectorType >
virtual MGCoarseGridBase< VectorType >::~MGCoarseGridBase ( )
overridevirtualdefault

Virtual destructor.

Member Function Documentation

◆ operator()()

template<typename VectorType >
virtual void MGCoarseGridBase< VectorType >::operator() ( const unsigned int  level,
VectorType &  dst,
const VectorType &  src 
) const
pure virtual

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