Overture
Version 25
|
#include "Overture.h"
#include "Ogen.h"
#include "display.h"
#include "HDF_DataBase.h"
#include "ParallelUtility.h"
#include "UpdateRefinementData.h"
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) |
#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) |
Referenced by Ogen::updateRefinementNewer().
#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++) |
Referenced by Ogen::updateRefinementNewer().
#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++) |
Referenced by Ogen::updateRefinementNewer().
#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 ) |
Referenced by Ogen::updateRefinementNewer().
#define IP | ( | i0, | |
i1 | |||
) | ipp[i0+ipDim0*(i1)] |
#define moda | ( | n, | |
m | |||
) | (n)>0 ? (n)%(m) : ((m)-(n))%(m) |
int outputRefinementInfoNew | ( | GridCollection & | gc, |
const aString & | gridFileName, | ||
const aString & | fileName | ||
) |
References assert, aString, GenericGridCollection::baseGridNumber, c, GenericGridCollectionData::computedGeometry, CompositeGrid::deleteRefinementLevels(), CompositeGrid::destroy(), CompositeGrid::EVERYTHING, MappedGrid::EVERYTHING, CompositeGrid::get(), GridCollection::getClassName(), MappedGrid::gridIndexRange(), HDF_DataBase::mount(), GenericDataBase::normalMode, GenericDataBase::noStreamMode, GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), GenericGridCollection::numberOfGrids(), CompositeGrid::numberOfInterpolationPoints, HDF_DataBase::put(), CompositeGrid::put(), GridCollection::refinementFactor, GenericGridCollection::refinementLevelNumber, HDF_DataBase::setMode(), CompositeGrid::THEinterpolationCoordinates, CompositeGrid::THEinterpolationPoint, CompositeGrid::THEinterpoleeGrid, CompositeGrid::THEinterpoleeLocation, GridCollection::THEmask, MappedGrid::THEmask, HDF_DataBase::unmount(), and CompositeGrid::updateReferences().