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

#include <mg_coarse.h>

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

Public Member Functions

 MGCoarseGridHouseholder (const FullMatrix< number > *A=0)
 
void initialize (const FullMatrix< number > &A)
 
void operator() (const unsigned int level, VECTOR &dst, const VECTOR &src) 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

Householder< number > householder
 

Detailed Description

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

Coarse grid solver by QR factorization implemented in the class Householder.

Upon initialization, the QR decomposition of the matrix is computed. then, the operator() uses Householder::least_squares() to compute the action of the inverse.

Author
Guido Kanschat, 2003, 2012

Definition at line 129 of file mg_coarse.h.

Constructor & Destructor Documentation

template<typename number = double, class VECTOR = Vector<number>>
MGCoarseGridHouseholder< number, VECTOR >::MGCoarseGridHouseholder ( const FullMatrix< number > *  A = 0)

Constructor, taking the coarse grid matrix.

Member Function Documentation

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

Initialize for a new matrix.

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

Solution operator.

Implements MGCoarseGridBase< VECTOR >.

Member Data Documentation

template<typename number = double, class VECTOR = Vector<number>>
Householder<number> MGCoarseGridHouseholder< number, VECTOR >::householder
private

Matrix for QR-factorization.

Definition at line 151 of file mg_coarse.h.


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