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

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

Inheritance diagram for MGCoarseGridSVD< number, VectorType >:
[legend]

Public Member Functions

 MGCoarseGridSVD ()=default
 
void initialize (const FullMatrix< number > &A, const double threshold=0)
 
void operator() (const unsigned int level, VectorType &dst, const VectorType &src) const
 
void log () 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

LAPACKFullMatrix< number > matrix
 

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 number = double, class VectorType = Vector<number>>
class MGCoarseGridSVD< number, VectorType >

Coarse grid solver using singular value decomposition of LAPACK matrices.

Upon initialization, the singular value decomposition of the matrix is computed. then, the operator() uses

Author
Guido Kanschat, 2003, 2012

Definition at line 281 of file mg_coarse.h.

Constructor & Destructor Documentation

◆ MGCoarseGridSVD()

template<typename number = double, class VectorType = Vector<number>>
MGCoarseGridSVD< number, VectorType >::MGCoarseGridSVD ( )
default

Constructor leaving an uninitialized object.

Member Function Documentation

◆ initialize()

template<typename number = double, class VectorType = Vector<number>>
void MGCoarseGridSVD< number, VectorType >::initialize ( const FullMatrix< number > &  A,
const double  threshold = 0 
)

Initialize for a new matrix. This resets the dimensions to the

◆ operator()()

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

Solution operator.

Implements MGCoarseGridBase< VectorType >.

◆ log()

template<typename number = double, class VectorType = Vector<number>>
void MGCoarseGridSVD< number, VectorType >::log ( ) const

Write the singular values to deallog.

Member Data Documentation

◆ matrix

template<typename number = double, class VectorType = Vector<number>>
LAPACKFullMatrix<number> MGCoarseGridSVD< number, VectorType >::matrix
private

Matrix for singular value decomposition.

Definition at line 308 of file mg_coarse.h.


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