Overture  Version 25
Macros | Functions
updateRefinementNewer.C File Reference
#include "Overture.h"
#include "Ogen.h"
#include "display.h"
#include "HDF_DataBase.h"
#include "ParallelUtility.h"
#include "UpdateRefinementData.h"
Include dependency graph for updateRefinementNewer.C:

Macros

#define FOR_3D(i1, i2, i3, I1, I2, I3)   int I1Base =I1.getBase(), I2Base =I2.getBase(), I3Base =I3.getBase(); int I1Bound=I1.getBound(), I2Bound=I2.getBound(), I3Bound=I3.getBound(); for(i3=I3Base; i3<=I3Bound; i3++) for(i2=I2Base; i2<=I2Bound; i2++) for(i1=I1Base; i1<=I1Bound; i1++)
 
#define FOR_3(i1, i2, i3, I1, I2, I3)   I1Base =I1.getBase(), I2Base =I2.getBase(), I3Base =I3.getBase(); I1Bound=I1.getBound(), I2Bound=I2.getBound(), I3Bound=I3.getBound(); for(i3=I3Base; i3<=I3Bound; i3++) for(i2=I2Base; i2<=I2Bound; i2++) for(i1=I1Base; i1<=I1Bound; i1++)
 
#define FOR_3DS(i1, i2, i3, I1, I2, I3)   int I1Base =I1.getBase(), I2Base =I2.getBase(), I3Base =I3.getBase(); int I1Bound=I1.getBound(), I2Bound=I2.getBound(), I3Bound=I3.getBound(); int I1Stride=I1.getStride(), I2Stride=I2.getStride(), I3Stride=I3.getStride(); for(i3=I3Base; i3<=I3Bound; i3+=I3Stride ) for(i2=I2Base; i2<=I2Bound; i2+=I2Stride ) for(i1=I1Base; i1<=I1Bound; i1+=I1Stride )
 
#define FOR_3S(i1, i2, i3, I1, I2, I3)   I1Base =I1.getBase(), I2Base =I2.getBase(), I3Base =I3.getBase(); I1Bound=I1.getBound(), I2Bound=I2.getBound(), I3Bound=I3.getBound(); I1Stride=I1.getStride(), I2Stride=I2.getStride(), I3Stride=I3.getStride(); for(i3=I3Base; i3<=I3Bound; i3+=I3Stride ) for(i2=I2Base; i2<=I2Bound; i2+=I2Stride ) for(i1=I1Base; i1<=I1Bound; i1+=I1Stride )
 
#define FOR_3R()   I1rBase =I1r.getBase(), I2rBase =I2r.getBase(), I3rBase =I3r.getBase(); I1rBound =I1r.getBound(), I2rBound =I2r.getBound(), I3rBound =I3r.getBound(); I1rStride=I1r.getStride(),I2rStride=I2r.getStride(),I3rStride=I3r.getStride(); for(i3r=I3rBase; i3r<=I3rBound; i3r+=I3rStride) for(i2r=I2rBase; i2r<=I2rBound; i2r+=I2rStride) for(i1r=I1rBase; i1r<=I1rBound; i1r+=I1rStride)
 
#define FOR_3BR()   I1bBase =I1b.getBase(), I2bBase =I2b.getBase(), I3bBase =I3b.getBase(); I1bBound=I1b.getBound(), I2bBound=I2b.getBound(), I3bBound=I3b.getBound(); I1rBase =I1r.getBase(), I2rBase =I2r.getBase(), I3rBase =I3r.getBase(); I1rBound =I1r.getBound(), I2rBound =I2r.getBound(), I3rBound =I3r.getBound(); I1rStride=I1r.getStride(),I2rStride=I2r.getStride(),I3rStride=I3r.getStride(); for(i3b=I3bBase,i3r=I3rBase; i3b<=I3bBound; i3b++,i3r+=I3rStride) for(i2b=I2bBase,i2r=I2rBase; i2b<=I2bBound; i2b++,i2r+=I2rStride) for(i1b=I1bBase,i1r=I1rBase; i1b<=I1bBound; i1b++,i1r+=I1rStride)
 
#define FOR_3IJD(i1, i2, i3, I1, I2, I3, j1, j2, j3, J1, J2, J3)   int I1Base =I1.getBase(), I2Base =I2.getBase(), I3Base =I3.getBase(); int I1Bound=I1.getBound(), I2Bound=I2.getBound(), I3Bound=I3.getBound(); int J1Base =J1.getBase(), J2Base =J2.getBase(), J3Base =J3.getBase(); for(i3=I3Base,j3=J3Base; i3<=I3Bound; i3++,j3++) for(i2=I2Base,j2=J2Base; i2<=I2Bound; i2++,j2++) for(i1=I1Base,j1=J1Base; i1<=I1Bound; i1++,j1++)
 
#define moda(n, m)   (n)>0 ? (n)%(m) : ((m)-(n))%(m)
 
#define MASK(i0, i1, i2)   maskp[i0+maskDim0*(i1+maskDim1*(i2))]
 
#define MASKB(i0, i1, i2)   maskbp[i0+maskbDim0*(i1+maskbDim1*(i2))]
 
#define MASKR(i0, i1, i2)   maskrp[i0+maskrDim0*(i1+maskrDim1*(i2))]
 
#define IP(i0, i1)   ipp[i0+ipDim0*(i1)]
 

Functions

int outputRefinementInfoNew (GridCollection &gc, const aString &gridFileName, const aString &fileName)
 

Macro Definition Documentation

#define FOR_3 (   i1,
  i2,
  i3,
  I1,
  I2,
  I3 
)    I1Base =I1.getBase(), I2Base =I2.getBase(), I3Base =I3.getBase(); I1Bound=I1.getBound(), I2Bound=I2.getBound(), I3Bound=I3.getBound(); for(i3=I3Base; i3<=I3Bound; i3++) for(i2=I2Base; i2<=I2Bound; i2++) for(i1=I1Base; i1<=I1Bound; i1++)
#define FOR_3BR ( )    I1bBase =I1b.getBase(), I2bBase =I2b.getBase(), I3bBase =I3b.getBase(); I1bBound=I1b.getBound(), I2bBound=I2b.getBound(), I3bBound=I3b.getBound(); I1rBase =I1r.getBase(), I2rBase =I2r.getBase(), I3rBase =I3r.getBase(); I1rBound =I1r.getBound(), I2rBound =I2r.getBound(), I3rBound =I3r.getBound(); I1rStride=I1r.getStride(),I2rStride=I2r.getStride(),I3rStride=I3r.getStride(); for(i3b=I3bBase,i3r=I3rBase; i3b<=I3bBound; i3b++,i3r+=I3rStride) for(i2b=I2bBase,i2r=I2rBase; i2b<=I2bBound; i2b++,i2r+=I2rStride) for(i1b=I1bBase,i1r=I1rBase; i1b<=I1bBound; i1b++,i1r+=I1rStride)
#define FOR_3D (   i1,
  i2,
  i3,
  I1,
  I2,
  I3 
)    int I1Base =I1.getBase(), I2Base =I2.getBase(), I3Base =I3.getBase(); int I1Bound=I1.getBound(), I2Bound=I2.getBound(), I3Bound=I3.getBound(); for(i3=I3Base; i3<=I3Bound; i3++) for(i2=I2Base; i2<=I2Bound; i2++) for(i1=I1Base; i1<=I1Bound; i1++)
#define FOR_3DS (   i1,
  i2,
  i3,
  I1,
  I2,
  I3 
)    int I1Base =I1.getBase(), I2Base =I2.getBase(), I3Base =I3.getBase(); int I1Bound=I1.getBound(), I2Bound=I2.getBound(), I3Bound=I3.getBound(); int I1Stride=I1.getStride(), I2Stride=I2.getStride(), I3Stride=I3.getStride(); for(i3=I3Base; i3<=I3Bound; i3+=I3Stride ) for(i2=I2Base; i2<=I2Bound; i2+=I2Stride ) for(i1=I1Base; i1<=I1Bound; i1+=I1Stride )
#define FOR_3IJD (   i1,
  i2,
  i3,
  I1,
  I2,
  I3,
  j1,
  j2,
  j3,
  J1,
  J2,
  J3 
)    int I1Base =I1.getBase(), I2Base =I2.getBase(), I3Base =I3.getBase(); int I1Bound=I1.getBound(), I2Bound=I2.getBound(), I3Bound=I3.getBound(); int J1Base =J1.getBase(), J2Base =J2.getBase(), J3Base =J3.getBase(); for(i3=I3Base,j3=J3Base; i3<=I3Bound; i3++,j3++) for(i2=I2Base,j2=J2Base; i2<=I2Bound; i2++,j2++) for(i1=I1Base,j1=J1Base; i1<=I1Bound; i1++,j1++)
#define FOR_3R ( )    I1rBase =I1r.getBase(), I2rBase =I2r.getBase(), I3rBase =I3r.getBase(); I1rBound =I1r.getBound(), I2rBound =I2r.getBound(), I3rBound =I3r.getBound(); I1rStride=I1r.getStride(),I2rStride=I2r.getStride(),I3rStride=I3r.getStride(); for(i3r=I3rBase; i3r<=I3rBound; i3r+=I3rStride) for(i2r=I2rBase; i2r<=I2rBound; i2r+=I2rStride) for(i1r=I1rBase; i1r<=I1rBound; i1r+=I1rStride)
#define FOR_3S (   i1,
  i2,
  i3,
  I1,
  I2,
  I3 
)    I1Base =I1.getBase(), I2Base =I2.getBase(), I3Base =I3.getBase(); I1Bound=I1.getBound(), I2Bound=I2.getBound(), I3Bound=I3.getBound(); I1Stride=I1.getStride(), I2Stride=I2.getStride(), I3Stride=I3.getStride(); for(i3=I3Base; i3<=I3Bound; i3+=I3Stride ) for(i2=I2Base; i2<=I2Bound; i2+=I2Stride ) for(i1=I1Base; i1<=I1Bound; i1+=I1Stride )
#define IP (   i0,
  i1 
)    ipp[i0+ipDim0*(i1)]
#define MASK (   i0,
  i1,
  i2 
)    maskp[i0+maskDim0*(i1+maskDim1*(i2))]
#define MASKB (   i0,
  i1,
  i2 
)    maskbp[i0+maskbDim0*(i1+maskbDim1*(i2))]
#define MASKR (   i0,
  i1,
  i2 
)    maskrp[i0+maskrDim0*(i1+maskrDim1*(i2))]
#define moda (   n,
 
)    (n)>0 ? (n)%(m) : ((m)-(n))%(m)

Function Documentation

int outputRefinementInfoNew ( GridCollection gc,
const aString gridFileName,
const aString fileName 
)