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

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

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

Public Member Functions

 MGCoarseGridHouseholder (const FullMatrix< number > *A=0)
 
void initialize (const FullMatrix< number > &A)
 
void operator() (const unsigned int level, VectorType &dst, const VectorType &src) const
 
- Public Member Functions inherited from MGCoarseGridBase< VectorType >
virtual ~MGCoarseGridBase ()
 
- Public Member Functions inherited from Subscriptor
 Subscriptor ()
 
 Subscriptor (const Subscriptor &)
 
 Subscriptor (Subscriptor &&)
 
virtual ~Subscriptor ()
 
Subscriptoroperator= (const Subscriptor &)
 
Subscriptoroperator= (Subscriptor &&)
 
void subscribe (const char *identifier=0) const
 
void unsubscribe (const char *identifier=0) const
 
unsigned int n_subscriptions () const
 
void list_subscribers () const
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

Householder< number > householder
 

Additional Inherited Members

- Static Public Member Functions inherited from Subscriptor
static ::ExceptionBaseExcInUse (int arg1, char *arg2, std::string &arg3)
 
static ::ExceptionBaseExcNoSubscriber (char *arg1, char *arg2)
 

Detailed Description

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

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

Constructor & Destructor Documentation

◆ MGCoarseGridHouseholder()

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

Constructor, taking the coarse grid matrix.

Member Function Documentation

◆ initialize()

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

Initialize for a new matrix.

◆ operator()()

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

Solution operator.

Implements MGCoarseGridBase< VectorType >.

Member Data Documentation

◆ householder

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

Matrix for QR-factorization.

Definition at line 263 of file mg_coarse.h.


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