WMaskGrid Class Reference

#include <wmaskgrid.h>

List of all members.

Public Member Functions

 WMaskGrid (int numberOfElements, int numberOfElementsBorder, double Factor, Array2D &A)
void setup (int numberOfElements, int numberOfElementsBorder, double Factor, Array2D &A)
double getValue (int row, int col)
void putValue (int row, int col, double value)
void cpValueInBorder (Array2D &u, double value=1.0)
double firstDerivativeAntiSymmetric (double dxy, int row, int col, int flag)
double firstDerivativeSymmetric (double dxy, int row, int col, int flag)
void testStorage (void)
Array2D buildGrid (void)
double getScalingFactor (void) const
void setScalingFactor (double Factor)

Protected Attributes

int _numberOfElements
int _numberOfElementsBorder
double _factorOfScaling
Array2D _gridInf
Array2D _gridSup
Array2D _gridLeft
Array2D _gridRight
Array2D _gridInner


Detailed Description

numberOfElements =total number of cells _________________________________ | gridSup | | | numberOfElementsBorder |____________________________ ____| = | grid | gridInner | grid | number of cell in the | Left | (shared grid) | Right | borders, same for all |_____ _|__________________|__ ____| lateral part | gridInf | | |________________________|_ _ ____|


Constructor & Destructor Documentation

WMaskGrid::WMaskGrid int  numberOfElements,
int  numberOfElementsBorder,
double  Factor,
Array2D &  A
 

Function WMaskGrid It creates a shared inner area between to grids last update: 18/Aug/2006


Member Function Documentation

Array2D WMaskGrid::buildGrid void   ) 
 

Function buildGrid It recovers the maskgrid matrix to a usual matrix storage last update: 18/Aug/2006

void WMaskGrid::cpValueInBorder Array2D &  u,
double  value = 1.0
 

Function cpValueInBorder It cp the border values of one grid in the maskgrid matrix border last update: 18/Aug/2006

double WMaskGrid::firstDerivativeAntiSymmetric double  dxy,
int  row,
int  col,
int  flag
 

Function firstDerivativeAntiSymmetric It computes first derivative with an antisymmetric boundary Not tested, and not used for now. last update: 18/Aug/2006

double WMaskGrid::firstDerivativeSymmetric double  dxy,
int  row,
int  col,
int  flag
 

Function firstDerivativeSymmetric It computes first derivative with a symmetric boundary Not tested, and not used for now. last update: 18/Aug/2006

double WMaskGrid::getValue int  row,
int  col
 

Function getValue It picks a value in the maskgrid matrix last update: 18/Aug/2006

void WMaskGrid::putValue int  row,
int  col,
double  value
 

Function putValue It puts a value in the maskgrid matrix last update: 18/Aug/2006

void WMaskGrid::setup int  numberOfElements,
int  numberOfElementsBorder,
double  Factor,
Array2D &  A
 

Function set up It creates (set up) a shared inner area between to grids last update: 18/Aug/2006

void WMaskGrid::testStorage void   ) 
 

Function testStorage It tests the maskgrid matrix storage last update: 18/Aug/2006


The documentation for this class was generated from the following files:
Generated on Wed Jan 10 15:21:22 2007 for spr.kdevelop by  doxygen 1.4.6