Diffpack Documentation

(Functionality not available, requires installation of an additional Diffpack Toolbox)


Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

ProjMat Class Reference

projection operator between grids. More...

#include <ProjMat.h>

Inheritance diagram for ProjMat::

ProjMatrix Proj HandleId ProjInterpMat List of all members.

Public Methods

 ProjMat (const char *description_="Projecton operator")
 ProjMat (const Proj_prm &prm, const char *description_="Projection operator")
virtual ~ProjMat ()
virtual void scale (const LinEqVector &s, TransposeMode tpmode)
virtual void scale (real s)
virtual bool rebindMat (Mat(NUMT) &m)
virtual String description () const

Protected Attributes

Handle(Mat(NUMT)) mat

Detailed Description

projection operator between grids.

NAME: ProjMat - projection operator between grids

DESCRIPTION:

This projection operator uses a "Mat" representation, i.e., a dense matrix format is used. The "Mat" object must be filled by the user.


Constructor & Destructor Documentation

ProjMat::ProjMat ( const char * description_ = "Projecton operator" )
 

See class "Proj". Notice that a "Mat" object must be supplied by use of "rebindMat".

ProjMat::ProjMat ( const Proj_prm & prm,
const char * description_ = "Projection operator" )
 

See documentation of one of the overloaded constructor.

ProjMat::~ProjMat ( ) [virtual]
 


Member Function Documentation

String ProjMat::description ( ) const [virtual]
 

returns the "String" description of the projection operator.

Reimplemented from ProjMatrix.

Reimplemented in ProjInterpMat.

bool ProjMat::rebindMat ( Mat(NUMT) & m ) [virtual]
 

connects the projection operator to a "Mat" object, i.e., a dense matrix, which will be used to store the projection.

Reimplemented from Proj.

void ProjMat::scale ( real s ) [virtual]
 

See documentation of one of the overloaded functions.

Reimplemented from ProjMatrix.

void ProjMat::scale ( const LinEqVector & s,
TransposeMode tpmode ) [virtual]
 

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.


Member Data Documentation

Handle(Mat(NUMT)) ProjMat::mat [protected]
 


The documentation for this class was generated from the following file:
Copyright © 2003 inuTech GmbH. All rights reserved.