#include <ProjMatSparse.h>
Inheritance diagram for ProjMatSparse::

Public Methods | |
| ProjMatSparse (const char *description_="Projecton operator") | |
| ProjMatSparse (const Proj_prm &prm, const char *description_="Projection operator") | |
| virtual | ~ProjMatSparse () |
| virtual void | scale (const LinEqVector &s, TransposeMode tpmode) |
| virtual void | scale (real s) |
| virtual bool | rebindMatSparse (MatSparse(NUMT) &m) |
| virtual String | description () const |
| virtual void | print (Os os, int output=1) const |
Protected Attributes | |
| int | counter |
| int | row |
| Handle(MatSparse(NUMT)) | mat |
NAME: ProjMatSparse - sparse projection operators between grids
DESCRIPTION:
This projection operator uses a "MatSparse" representation. The "MatSparse" object must be filled by the user.
|
|
See class "Proj". Notice that a "MatSparse" object must be supplied by use of "rebindMatSparse". |
|
|
See documentation of one of the overloaded constructor. |
|
|
|
|
|
returns the "String" description of the projection operator. Reimplemented from ProjMatrix. Reimplemented in ProjInterpSparse, MxProj, and ProjInterpSparseHier. |
|
|
Reimplemented from ProjMatrix. Reimplemented in ProjInterpSparse, and MxProj. |
|
|
connects the projection operator to a "MatSparse" object, i.e., a sparse matrix, which will be used to store the projection. Reimplemented from Proj. |
|
|
See documentation of one of the overloaded functions. Reimplemented from ProjMatrix. |
|
|
scales the projection operator according to input values. If the a scalar constant "s" is applied, all entries in the operator is scaled by the constant value, "P(i,j)=s*P(i,j)". If the input sepcifies a "LinEqVector", the operator is scaled row- or columnwise. That is, for "tpmode=TRANSPOSED" the rows are scaled, "P(i,j) = s(i)*P(i,j)". Similarly, for "tpmode=NOT_TRANSPOSED" the wolumns are scaled as "P(i,j)=s(j)*P(i,j)". Reimplemented from ProjMatrix. |
|
|
|
|
|
|
|
|
|