![]() |
Reference documentation for deal.II version 9.1.1
|
#include <deal.II/lac/pointer_matrix.h>
Public Member Functions | |
| PointerMatrixAux (VectorMemory< VectorType > *mem=0, const MatrixType *M=0) | |
| PointerMatrixAux (VectorMemory< VectorType > *mem, const char *name) | |
| PointerMatrixAux (VectorMemory< VectorType > *mem, const MatrixType *M, const char *name) | |
| virtual void | clear () override |
| bool | empty () const |
| void | set_memory (VectorMemory< VectorType > *mem) |
| const PointerMatrixAux & | operator= (const MatrixType *M) |
| virtual void | vmult (VectorType &dst, const VectorType &src) const override |
| virtual void | Tvmult (VectorType &dst, const VectorType &src) const override |
| virtual void | vmult_add (VectorType &dst, const VectorType &src) const override |
| virtual void | Tvmult_add (VectorType &dst, const VectorType &src) const override |
Public Member Functions inherited from PointerMatrixBase< VectorType > | |
| virtual | ~PointerMatrixBase () override=default |
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) |
Private Attributes | |
| GrowingVectorMemory< VectorType > | my_memory |
| SmartPointer< VectorMemory< VectorType >, PointerMatrixAux< MatrixType, VectorType > > | mem |
| SmartPointer< const MatrixType, PointerMatrixAux< MatrixType, VectorType > > | m |
Related Functions | |
(Note that these are not member functions.) | |
| template<typename VectorType , typename MatrixType > | |
| PointerMatrixBase< VectorType > * | new_pointer_matrix_base (MatrixType &matrix, const VectorType &, const char *name="PointerMatrixAux") |
Additional Inherited Members | |
Public Types inherited from PointerMatrixBase< VectorType > | |
| using | value_type = typename VectorType::value_type |
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) |
A pointer to be used as a matrix. This class stores a pointer to a matrix and can be used as a matrix itself in iterative methods.
The main purpose for the existence of this class is its base class, which only has a vector as template argument. Therefore, this interface provides an abstract base class for matrices.
This class differs form PointerMatrix by its additional VectorMemory object and by the fact that it implements the functions vmult_add() and Tvmult_add() only using vmult() and Tvmult() of the MatrixType.
Definition at line 232 of file pointer_matrix.h.
1.8.16