|
Overture
Version 25
|
#include "Ogen.h"#include "PlotStuff.h"#include "MappingRC.h"#include "conversion.h"#include "display.h"#include "HDF_DataBase.h"#include "ParallelUtility.h"
Macros | |
| #define | GET_LOCAL(type, xd, xs) type ## SerialArray & xs = xd |
| #define | GET_LOCAL_CONST(type, xd, xs) const type ## SerialArray & xs = xd |
| #define | FORJP(k1, k2, k3, j1, j2, j3) for( k3=j3Min; k3<=j3Max; k3++ ) { j3 = periodic[2] ? (k3+period[2])%period[2] : k3; for( k2=j2Min; k2<=j2Max; k2++ ) { j2 = periodic[1] ? (k2+period[1])%period[1] : k2; for( k1=j1Min; k1<=j1Max; k1++ ) { j1 = periodic[0] ? (k1+period[0])%period[0] : k1; |
| #define | ENDFORJP }}} |
| #define | FORJP_STENCIL(k1, k2, k3, j1, j2, j3) for( k3=stencil[2][0]; k3<=stencil[2][1]; k3++ ) { j3 = periodic2[2] ? (k3+period2[2])%period2[2] : k3; for( k2=stencil[1][0]; k2<=stencil[1][1]; k2++ ) { j2 = periodic2[1] ? (k2+period2[1])%period2[1] : k2; for( k1=stencil[0][0]; k1<=stencil[0][1]; k1++ ) { j1 = periodic2[0] ? (k1+period2[0])%period2[0] : k1; |
| #define | ENDFORJP_STENCIL }}} |
| #define | adjustSizeMacro(x, n) while( x.getLength() < n )x.addElement();while( x.getLength() > n )x.deleteElement() |
| #define | XC(iv, axis) (xab[0][axis]+dvx[axis]*(iv[axis]-iv0[axis])) |
Typedefs | |
| typedef TrivialArray < BoundaryAdjustment, Range > | BoundaryAdjustmentArray |
| The new moving grid generator (parallel version) | |
| typedef TrivialArray < BoundaryAdjustmentArray, Range > | BoundaryAdjustmentArray2 |
| #define adjustSizeMacro | ( | x, | |
| n | |||
| ) | while( x.getLength() < n )x.addElement();while( x.getLength() > n )x.deleteElement() |
Referenced by Ogmg::buildExtraLevelsNew(), Ogen::generateInterpolationArrays(), and Ogen::movingUpdateNew().
| #define ENDFORJP }}} |
Referenced by Ogen::movingUpdateNew().
| #define ENDFORJP_STENCIL }}} |
Referenced by Ogen::movingUpdateNew().
| #define FORJP | ( | k1, | |
| k2, | |||
| k3, | |||
| j1, | |||
| j2, | |||
| j3 | |||
| ) | for( k3=j3Min; k3<=j3Max; k3++ ) { j3 = periodic[2] ? (k3+period[2])%period[2] : k3; for( k2=j2Min; k2<=j2Max; k2++ ) { j2 = periodic[1] ? (k2+period[1])%period[1] : k2; for( k1=j1Min; k1<=j1Max; k1++ ) { j1 = periodic[0] ? (k1+period[0])%period[0] : k1; |
Referenced by Ogen::movingUpdateNew().
| #define FORJP_STENCIL | ( | k1, | |
| k2, | |||
| k3, | |||
| j1, | |||
| j2, | |||
| j3 | |||
| ) | for( k3=stencil[2][0]; k3<=stencil[2][1]; k3++ ) { j3 = periodic2[2] ? (k3+period2[2])%period2[2] : k3; for( k2=stencil[1][0]; k2<=stencil[1][1]; k2++ ) { j2 = periodic2[1] ? (k2+period2[1])%period2[1] : k2; for( k1=stencil[0][0]; k1<=stencil[0][1]; k1++ ) { j1 = periodic2[0] ? (k1+period2[0])%period2[0] : k1; |
Referenced by Ogen::movingUpdateNew().
| #define GET_LOCAL | ( | type, | |
| xd, | |||
| xs | |||
| ) | type ## SerialArray & xs = xd |
Referenced by Ogen::movingUpdateNew().
| #define GET_LOCAL_CONST | ( | type, | |
| xd, | |||
| xs | |||
| ) | const type ## SerialArray & xs = xd |
| #define XC | ( | iv, | |
| axis | |||
| ) | (xab[0][axis]+dvx[axis]*(iv[axis]-iv0[axis])) |
| typedef TrivialArray<BoundaryAdjustment,Range> BoundaryAdjustmentArray |
The new moving grid generator (parallel version)
| typedef TrivialArray<BoundaryAdjustmentArray,Range> BoundaryAdjustmentArray2 |
1.8.3