#include <wmaskgrid.h>
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 |
|
Function WMaskGrid It creates a shared inner area between to grids last update: 18/Aug/2006 |
|
Function buildGrid It recovers the maskgrid matrix to a usual matrix storage last update: 18/Aug/2006 |
|
Function cpValueInBorder It cp the border values of one grid in the maskgrid matrix border last update: 18/Aug/2006 |
|
Function firstDerivativeAntiSymmetric It computes first derivative with an antisymmetric boundary Not tested, and not used for now. last update: 18/Aug/2006 |
|
Function firstDerivativeSymmetric It computes first derivative with a symmetric boundary Not tested, and not used for now. last update: 18/Aug/2006 |
|
Function getValue It picks a value in the maskgrid matrix last update: 18/Aug/2006 |
|
Function putValue It puts a value in the maskgrid matrix last update: 18/Aug/2006 |
|
Function set up It creates (set up) a shared inner area between to grids last update: 18/Aug/2006 |
|
Function testStorage It tests the maskgrid matrix storage last update: 18/Aug/2006 |