![]() |
Reference documentation for deal.II version 8.4.2
|
#include <deal.II/lac/matrix_lib.h>
Public Types | |
| typedef types::global_dof_index | size_type |
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 &) | |
| 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."<< "\"<< "(Additional information: "<< arg3<< ")\"<< "See the entry in the Frequently Asked Questions of "<< "deal.II (linked to from http://www.dealii.org/) for "<< "a lot more information on what this error means and "<< "how to fix programs in which it happens.") | |
| DeclException2 (ExcNoSubscriber, char *, char *,<< "No subscriber with identifier <"<< arg2<< "> subscribes to this object of class "<< arg1<< ". Consequently, it cannot be unsubscribed.") | |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
| const size_type | component |
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 321 of file matrix_lib.h.
Declare type for container size.
Definition at line 327 of file matrix_lib.h.
| MeanValueFilter::MeanValueFilter | ( | const size_type | component = numbers::invalid_size_type | ) |
Constructor, optionally selecting a component.
Definition at line 21 of file matrix_lib.cc.
| void MeanValueFilter::filter | ( | Vector< number > & | v | ) | const |
Subtract mean value from v.
| void MeanValueFilter::filter | ( | BlockVector< number > & | v | ) | const |
Subtract mean value from v.
| void MeanValueFilter::vmult | ( | Vector< number > & | dst, |
| const Vector< number > & | src | ||
| ) | const |
Return the source vector with subtracted mean value.
| void MeanValueFilter::vmult_add | ( | Vector< number > & | dst, |
| const Vector< number > & | src | ||
| ) | const |
Add source vector with subtracted mean value to dest.
| void MeanValueFilter::vmult | ( | BlockVector< number > & | dst, |
| const BlockVector< number > & | src | ||
| ) | const |
Return the source vector with subtracted mean value in selected component.
| void MeanValueFilter::vmult_add | ( | BlockVector< number > & | dst, |
| const BlockVector< number > & | src | ||
| ) | const |
Add a source to dest, where the mean value in the selected component is subtracted.
|
inline |
Not implemented.
Definition at line 722 of file matrix_lib.h.
|
inline |
Not implemented.
Definition at line 730 of file matrix_lib.h.
|
private |
Component for filtering block vectors.
Definition at line 393 of file matrix_lib.h.
1.8.12