Reference documentation for deal.II version 9.4.1
\(\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\}}\)
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
mg::SparseMatrixCollection< number > Class Template Reference

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

Inheritance diagram for mg::SparseMatrixCollection< number >:
[legend]

Public Member Functions

void resize (const unsigned int minlevel, const unsigned int maxlevel)
 
template<int dim, int spacedim>
void reinit (const DoFHandler< dim, spacedim > &dof_handler)
 
void set_zero ()
 

Public Attributes

MGLevelObject< SparsityPatternsparsity
 
MGLevelObject< SparsityPatternsparsity_edge
 
MGLevelObject< SparseMatrix< number > > matrix
 
MGLevelObject< SparseMatrix< number > > matrix_down
 
MGLevelObject< SparseMatrix< number > > matrix_up
 
MGLevelObject< SparseMatrix< number > > matrix_in
 
MGLevelObject< SparseMatrix< number > > matrix_out
 

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 number>
class mg::SparseMatrixCollection< number >

Handler and storage for all five SparseMatrix object involved in using multigrid with local refinement.

Definition at line 41 of file sparse_matrix_collection.h.

Member Function Documentation

◆ resize()

template<typename number >
void mg::SparseMatrixCollection< number >::resize ( const unsigned int  minlevel,
const unsigned int  maxlevel 
)

Definition at line 67 of file sparse_matrix_collection.h.

◆ reinit()

template<typename number >
template<int dim, int spacedim>
void mg::SparseMatrixCollection< number >::reinit ( const DoFHandler< dim, spacedim > &  dof_handler)

Definition at line 88 of file sparse_matrix_collection.h.

◆ set_zero()

template<typename number >
void mg::SparseMatrixCollection< number >::set_zero

Definition at line 121 of file sparse_matrix_collection.h.

Member Data Documentation

◆ sparsity

template<typename number >
MGLevelObject<SparsityPattern> mg::SparseMatrixCollection< number >::sparsity

Definition at line 54 of file sparse_matrix_collection.h.

◆ sparsity_edge

template<typename number >
MGLevelObject<SparsityPattern> mg::SparseMatrixCollection< number >::sparsity_edge

Definition at line 55 of file sparse_matrix_collection.h.

◆ matrix

template<typename number >
MGLevelObject<SparseMatrix<number> > mg::SparseMatrixCollection< number >::matrix

Definition at line 57 of file sparse_matrix_collection.h.

◆ matrix_down

template<typename number >
MGLevelObject<SparseMatrix<number> > mg::SparseMatrixCollection< number >::matrix_down

Definition at line 58 of file sparse_matrix_collection.h.

◆ matrix_up

template<typename number >
MGLevelObject<SparseMatrix<number> > mg::SparseMatrixCollection< number >::matrix_up

Definition at line 59 of file sparse_matrix_collection.h.

◆ matrix_in

template<typename number >
MGLevelObject<SparseMatrix<number> > mg::SparseMatrixCollection< number >::matrix_in

Definition at line 60 of file sparse_matrix_collection.h.

◆ matrix_out

template<typename number >
MGLevelObject<SparseMatrix<number> > mg::SparseMatrixCollection< number >::matrix_out

Definition at line 61 of file sparse_matrix_collection.h.


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