![]() |
Reference documentation for deal.II version 8.1.0
|
#include <transpose_matrix.h>
Public Member Functions | |
TransposeMatrix (const MATRIX *M=0) | |
TransposeMatrix (const char *name) | |
TransposeMatrix (const MATRIX *M, const char *name) | |
virtual void | clear () |
bool | empty () const |
const TransposeMatrix & | operator= (const MATRIX *M) |
virtual void | vmult (VECTOR &dst, const VECTOR &src) const |
virtual void | Tvmult (VECTOR &dst, const VECTOR &src) const |
virtual void | vmult_add (VECTOR &dst, const VECTOR &src) const |
virtual void | Tvmult_add (VECTOR &dst, const VECTOR &src) const |
![]() | |
virtual | ~PointerMatrixBase () |
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 |
![]() | |
Subscriptor () | |
Subscriptor (const Subscriptor &) | |
virtual | ~Subscriptor () |
Subscriptor & | operator= (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 |
Private Attributes | |
SmartPointer< const MATRIX, TransposeMatrix< MATRIX, VECTOR > > | m |
Additional Inherited Members | |
![]() | |
typedef VECTOR::value_type | value_type |
The transpose of a given matrix. This auxiliary class swaps the effect ov vmult() and Tvmult() as well as vmult_add() and Tvmult_add().
The implementation is analogous to the class PointerMatrix.
Definition at line 42 of file transpose_matrix.h.
TransposeMatrix< MATRIX, VECTOR >::TransposeMatrix | ( | const MATRIX * | M = 0 | ) |
Constructor. The pointer in the argument is stored in this class. As usual, the lifetime of *M
must be longer than the one of the PointerMatrix.
If M
is zero, no matrix is stored.
Definition at line 138 of file transpose_matrix.h.
TransposeMatrix< MATRIX, VECTOR >::TransposeMatrix | ( | const char * | name | ) |
Constructor. The name argument is used to identify the SmartPointer for this object.
Definition at line 144 of file transpose_matrix.h.
TransposeMatrix< MATRIX, VECTOR >::TransposeMatrix | ( | const MATRIX * | M, |
const char * | name | ||
) |
Constructor. M
points to a matrix which must live longer than the TransposeMatrix. The name argument is used to identify the SmartPointer for this object.
Definition at line 150 of file transpose_matrix.h.
|
inlinevirtual |
Reset pointer and release the matrix pointed to.
Implements PointerMatrixBase< VECTOR >.
Definition at line 159 of file transpose_matrix.h.
|
inline |
Return whether the object is empty.
Definition at line 176 of file transpose_matrix.h.
|
inline |
Assign a new matrix pointer. Deletes the old pointer and releases its matrix.
Definition at line 167 of file transpose_matrix.h.
|
inlinevirtual |
Matrix-vector product.
Implements PointerMatrixBase< VECTOR >.
Definition at line 185 of file transpose_matrix.h.
|
inlinevirtual |
Tranposed matrix-vector product.
Implements PointerMatrixBase< VECTOR >.
Definition at line 195 of file transpose_matrix.h.
|
inlinevirtual |
Matrix-vector product, adding to dst
.
Implements PointerMatrixBase< VECTOR >.
Definition at line 205 of file transpose_matrix.h.
|
inlinevirtual |
Tranposed matrix-vector product, adding to dst
.
Implements PointerMatrixBase< VECTOR >.
Definition at line 215 of file transpose_matrix.h.
|
inlineprivatevirtual |
Return the address of the matrix for comparison.
Implements PointerMatrixBase< VECTOR >.
Definition at line 225 of file transpose_matrix.h.
|
private |
The pointer to the actual matrix.
Definition at line 130 of file transpose_matrix.h.