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

Public Methods | |
| ProjInterp (const char *description_="Projection operator") | |
| ProjInterp (const Proj_prm &, const char *description_="Projection operator") | |
| virtual | ~ProjInterp () |
| virtual bool | rebindDOF (DegFreeFE &coarse, DegFreeFE &fine) |
| virtual String | description () const |
| virtual void | apply (const LinEqVector &c, LinEqVector &d, TransposeMode tpmode, bool add_to_d=false) |
| virtual bool | ok () const |
| virtual int | getWork () const |
| virtual real | getStorage () const |
| virtual LinEqMatrix& | A () |
| virtual void | scale (const LinEqVector &s, TransposeMode tpmode) |
| virtual void | scale (real s) |
Protected Methods | |
| virtual void | interpolate (GridFE &coarse, GridFE &fine) |
| virtual void | valuePt (GridFE &coarse, int &element, Ptv(real)&loc_pt, const Ptv(real) &x) |
Protected Attributes | |
| real | eps |
| int | ndpn |
| int | row |
| int | counter |
| int | nhits |
| VecSimple(int) | from |
| VecSimple(int) | to |
| int | nde |
NAME: ProjInterp - projection operators between matching grids
DESCRIPTION:
This projection operator interpolates a field using a compact vector-based representation. The operator is filled automatically once given access to the "DegFreeFE" objects for the two involved grids.
|
|
See class "Proj". Notice that two "DegFreeFE" objects must be supplied by use of "rebindDOF". |
|
|
See documentation of one of the overloaded constructor. |
|
|
|
|
|
returns access to the matrix representation of the projection operator. Reimplemented from Proj. |
|
|
applies the projection operator to the vector "c", producting the vector "d". Depending on the "tpmode" argument, either operator or its transposed is used. If the flag "add_to_d" is true, the computed results is added to "d", otherwise it overwrites any prior contents in "d". Reimplemented from Proj. |
|
|
returns the "String" description of the projection operator. Reimplemented from Proj. |
|
|
Reimplemented from Proj. |
|
|
Reimplemented from Proj. |
|
|
|
|
|
returns true if the projection operator is in a consistent state. Reimplemented from Proj. |
|
|
connects the projection operator to two "DegFreeFE" objects, one for the coarse and one for the fine grid. Reimplemented from Proj. |
|
|
See documentation of one of the overloaded functions. Reimplemented from Proj. |
|
|
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 Proj. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|