2 #define OGMG_H "Ogmg.h"
16 Index
IndexBB(
int base,
int bound,
int stride=1 );
17 Index
IndexBB(Index I,
const int stride );
347 int sideToCheck=-1,
int axisToCheck=-1 );
380 int cycle(
const int & level,
const int & iteration,
real & maximumDefect,
const int & numberOfCycleIterations );
384 int & orderOfExtrapolation,
aString *bcName=
NULL )
const;
389 void smooth(
const int & level,
int numberOfSmoothingSteps,
int cycleNumber );
390 void smoothJacobi(
const int & level,
const int & grid,
int smootherChoice = 0);
393 void smoothLine(
const int & level,
const int & grid,
const int &
direction,
bool useZebra=
true,
394 const int smoothBoundarySide = -1 );
402 int numberOfLayers=1,
412 void defect(
const int & level);
413 void defect(
const int & level,
const int & grid);
415 void fineToCoarse(
const int & level,
bool transferForcing =
false);
416 void fineToCoarse(
const int & level,
const int & grid,
bool transferForcing =
false );
423 real defectNorm(
const int & level,
const int & grid,
int option=0,
int approximationStride=8 );
433 const int lineSmoothOption = -1,
434 const int defectOption = 0,
450 const int lineSmoothOption);
477 Index & I1p, Index & I2p, Index & I3p,
478 Index & J1, Index & J2, Index & J3,
492 const bool isRectangular,
493 int iv0[3],
real dx0[3],
real xab0[2][3],
494 int iv1[3],
real dx1[3],
real xab1[2][3] );
504 const bool isRectangular,
505 int iv0[3],
real dx0[3],
real xab0[2][3],
506 int iv1[3],
real dx1[3],
real xab1[2][3],
517 const bool isRectangular,
518 int iv0[3],
real dx0[3],
real xab0[2][3],
519 int iv1[3],
real dx1[3],
real xab1[2][3],
533 const bool isRectangular,
534 int iv0[3],
real dx0[3],
real xab0[2][3],
535 int iv1[3],
real dx1[3],
real xab1[2][3],
548 int iv0[3],
real dx0[3],
real xab0[2][3],
int iv1[3],
real dx[3],
real xab[2][3] );
556 intSerialArray & inverseGrid,
557 intSerialArray & interpoleeGrid,
558 intSerialArray & interpoleeLocation,
559 intSerialArray & interpolationPoint,
560 intSerialArray & variableInterpolationWidth,
571 intSerialArray & inverseGrid,
572 intSerialArray & interpoleeGrid,
573 intSerialArray & interpoleeLocation,
574 intSerialArray & interpolationPoint,
575 intSerialArray & variableInterpolationWidth,