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

#include <mg_coarse.h>

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

Public Member Functions

 MGCoarseGridSVD ()
 
void initialize (const FullMatrix< number > &A, const double threshold=0)
 
void operator() (const unsigned int level, VECTOR &dst, const VECTOR &src) const
 
void log () const
 
- Public Member Functions inherited from MGCoarseGridBase< VECTOR >
virtual ~MGCoarseGridBase ()
 
- Public Member Functions inherited from Subscriptor
 Subscriptor ()
 
 Subscriptor (const Subscriptor &)
 
virtual ~Subscriptor ()
 
Subscriptoroperator= (const Subscriptor &)
 
void subscribe (const char *identifier=0) const
 
void unsubscribe (const char *identifier=0) const
 
unsigned int n_subscriptions () const
 
void list_subscribers () const
 
 DeclException3 (ExcInUse, int, char *, std::string &,<< "Object of class "<< arg2<< " is still used by "<< arg1<< " other objects.\n"<< "(Additional information: "<< arg3<< ")\n"<< "Note the entry in the Frequently Asked Questions of "<< "deal.II (linked to from http://www.dealii.org/) for "<< "more information on what this error means.")
 
 DeclException2 (ExcNoSubscriber, char *, char *,<< "No subscriber with identifier \""<< arg2<< "\" did subscribe to this object of class "<< arg1)
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

LAPACKFullMatrix< number > matrix
 

Detailed Description

template<typename number = double, class VECTOR = Vector<number>>
class MGCoarseGridSVD< number, VECTOR >

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 163 of file mg_coarse.h.

Constructor & Destructor Documentation

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

Constructor leaving an uninitialized object.

Member Function Documentation

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

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

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

Solution operator.

Implements MGCoarseGridBase< VECTOR >.

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

Write the singular values to deallog.

Member Data Documentation

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

Matrix for singular value decomposition.

Definition at line 193 of file mg_coarse.h.


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