Reference documentation for deal.II version 9.1.1
|
#include <deal.II/lac/pointer_matrix.h>
Public Types | |
using | value_type = typename VectorType::value_type |
Public Member Functions | |
virtual | ~PointerMatrixBase () override=default |
virtual void | clear ()=0 |
virtual void | vmult (VectorType &dst, const VectorType &src) const =0 |
virtual void | Tvmult (VectorType &dst, const VectorType &src) const =0 |
virtual void | vmult_add (VectorType &dst, const VectorType &src) const =0 |
virtual void | Tvmult_add (VectorType &dst, const VectorType &src) const =0 |
Public Member Functions inherited from Subscriptor | |
Subscriptor () | |
Subscriptor (const Subscriptor &) | |
Subscriptor (Subscriptor &&) noexcept | |
virtual | ~Subscriptor () |
Subscriptor & | operator= (const Subscriptor &) |
Subscriptor & | operator= (Subscriptor &&) noexcept |
void | subscribe (std::atomic< bool > *const validity, const std::string &identifier="") const |
void | unsubscribe (std::atomic< bool > *const validity, const std::string &identifier="") const |
unsigned int | n_subscriptions () const |
template<typename StreamType > | |
void | list_subscribers (StreamType &stream) const |
void | list_subscribers () const |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Additional Inherited Members | |
Static Public Member Functions inherited from Subscriptor | |
static ::ExceptionBase & | ExcInUse (int arg1, std::string arg2, std::string arg3) |
static ::ExceptionBase & | ExcNoSubscriber (std::string arg1, std::string arg2) |
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.
Definition at line 63 of file pointer_matrix.h.
using PointerMatrixBase< VectorType >::value_type = typename VectorType::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 74 of file pointer_matrix.h.
|
overridevirtualdefault |
Virtual destructor. Does nothing except making sure that the destructor of any derived class is called whenever a pointer-to-base-class object is destroyed.
|
pure virtual |
Reset the object to its original state.
Implemented in PointerMatrixVector< number >, PointerMatrixAux< MatrixType, VectorType >, and PointerMatrix< MatrixType, VectorType >.
|
pure virtual |
Matrix-vector product.
Implemented in PointerMatrixVector< number >, PointerMatrixAux< MatrixType, VectorType >, and PointerMatrix< MatrixType, VectorType >.
|
pure virtual |
Transposed matrix-vector product.
Implemented in PointerMatrixVector< number >, PointerMatrixAux< MatrixType, VectorType >, and PointerMatrix< MatrixType, VectorType >.
|
pure virtual |
Matrix-vector product, adding to dst
.
Implemented in PointerMatrixVector< number >, PointerMatrixAux< MatrixType, VectorType >, and PointerMatrix< MatrixType, VectorType >.
|
pure virtual |
Transposed matrix-vector product, adding to dst
.
Implemented in PointerMatrixVector< number >, PointerMatrixAux< MatrixType, VectorType >, and PointerMatrix< MatrixType, VectorType >.