![]() |
Reference documentation for deal.II version 9.1.1
|
#include <deal.II/lac/matrix_lib.h>
Public Types | |
| using | size_type = types::global_dof_index |
Public Member Functions | |
| MeanValueFilter (const size_type component=numbers::invalid_size_type) | |
| template<typename number > | |
| void | filter (Vector< number > &v) const |
| template<typename number > | |
| void | filter (BlockVector< number > &v) const |
| template<typename number > | |
| void | vmult (Vector< number > &dst, const Vector< number > &src) const |
| template<typename number > | |
| void | vmult_add (Vector< number > &dst, const Vector< number > &src) const |
| template<typename number > | |
| void | vmult (BlockVector< number > &dst, const BlockVector< number > &src) const |
| template<typename number > | |
| void | vmult_add (BlockVector< number > &dst, const BlockVector< number > &src) const |
| template<typename VectorType > | |
| void | Tvmult (VectorType &, const VectorType &) const |
| template<typename VectorType > | |
| void | Tvmult_add (VectorType &, const VectorType &) const |
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 | |
| const size_type | component |
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) |
Mean value filter. The vmult() functions of this matrix filter out mean values of the vector. If the vector is of type BlockVector, then an additional parameter selects a single component for this operation.
In mathematical terms, this class acts as if it was the matrix
where
is a vector of size
that has only ones as its entries. Thus, taking the dot product between a vector
and
yields the mean value of the entries of
. Consequently,
subtracts from every vector element the mean value of all elements.
Definition at line 58 of file matrix_lib.h.
1.8.16