Reference documentation for deal.II version 8.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Public Types | Public Member Functions | Private Member Functions | List of all members
PointerMatrixBase< VECTOR > Class Template Referenceabstract

#include <pointer_matrix.h>

Inheritance diagram for PointerMatrixBase< VECTOR >:
[legend]

Public Types

typedef VECTOR::value_type value_type
 

Public Member Functions

virtual ~PointerMatrixBase ()
 
virtual void clear ()=0
 
bool operator== (const PointerMatrixBase< VECTOR > &) const
 
bool operator!= (const PointerMatrixBase< VECTOR > &) const
 
bool operator< (const PointerMatrixBase< VECTOR > &) const
 
bool operator<= (const PointerMatrixBase< VECTOR > &) const
 
bool operator> (const PointerMatrixBase< VECTOR > &) const
 
bool operator>= (const PointerMatrixBase< VECTOR > &) const
 
virtual void vmult (VECTOR &dst, const VECTOR &src) const =0
 
virtual void Tvmult (VECTOR &dst, const VECTOR &src) const =0
 
virtual void vmult_add (VECTOR &dst, const VECTOR &src) const =0
 
virtual void Tvmult_add (VECTOR &dst, const VECTOR &src) const =0
 
- 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 Member Functions

virtual const void * get () const =0
 

Detailed Description

template<class VECTOR>
class PointerMatrixBase< VECTOR >

Abstract class for use in iterations. This class provides the interface required by LAC solver classes. It allows to use different concrete matrix classes in the same context, as long as they apply to the same vector class.

Author
Guido Kanschat, 2000, 2001, 2002

Definition at line 53 of file pointer_matrix.h.

Member Typedef Documentation

template<class VECTOR>
typedef VECTOR::value_type PointerMatrixBase< VECTOR >::value_type

Value type of this matrix. since the matrix itself is unknown, we take the value type of the vector. Therefore, matrix entries must be convertible to vector entries.

This was defined to make this matrix a possible template argument to BlockMatrixArray.

Definition at line 70 of file pointer_matrix.h.

Constructor & Destructor Documentation

template<class VECTOR >
PointerMatrixBase< VECTOR >::~PointerMatrixBase ( )
inlinevirtual

Virtual destructor. Does nothing except making sure that the destructor of the derived class is called.

Definition at line 686 of file pointer_matrix.h.

Member Function Documentation

template<class VECTOR>
virtual void PointerMatrixBase< VECTOR >::clear ( )
pure virtual
template<class VECTOR>
bool PointerMatrixBase< VECTOR >::operator== ( const PointerMatrixBase< VECTOR > &  other) const
inline

Find out if two matrices point to the same object.

Definition at line 694 of file pointer_matrix.h.

template<class VECTOR>
bool PointerMatrixBase< VECTOR >::operator!= ( const PointerMatrixBase< VECTOR > &  other) const
inline

Find out if two matrices do not point to the same object.

Definition at line 704 of file pointer_matrix.h.

template<class VECTOR>
bool PointerMatrixBase< VECTOR >::operator< ( const PointerMatrixBase< VECTOR > &  other) const
inline

Find out if this pointer is less.

Definition at line 714 of file pointer_matrix.h.

template<class VECTOR>
bool PointerMatrixBase< VECTOR >::operator<= ( const PointerMatrixBase< VECTOR > &  other) const
inline

Find out if this pointer is less or equal.

Definition at line 724 of file pointer_matrix.h.

template<class VECTOR>
bool PointerMatrixBase< VECTOR >::operator> ( const PointerMatrixBase< VECTOR > &  other) const
inline

Find out if this pointer is greater.

Definition at line 734 of file pointer_matrix.h.

template<class VECTOR>
bool PointerMatrixBase< VECTOR >::operator>= ( const PointerMatrixBase< VECTOR > &  other) const
inline

Find out if this pointer is greater or equal.

Definition at line 744 of file pointer_matrix.h.

template<class VECTOR>
virtual void PointerMatrixBase< VECTOR >::vmult ( VECTOR &  dst,
const VECTOR &  src 
) const
pure virtual
template<class VECTOR>
virtual void PointerMatrixBase< VECTOR >::Tvmult ( VECTOR &  dst,
const VECTOR &  src 
) const
pure virtual
template<class VECTOR>
virtual void PointerMatrixBase< VECTOR >::vmult_add ( VECTOR &  dst,
const VECTOR &  src 
) const
pure virtual
template<class VECTOR>
virtual void PointerMatrixBase< VECTOR >::Tvmult_add ( VECTOR &  dst,
const VECTOR &  src 
) const
pure virtual
template<class VECTOR>
virtual const void* PointerMatrixBase< VECTOR >::get ( ) const
privatepure virtual

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