|
CG
Version 25
|
#include "Cgsm.h"#include "UnstructuredMapping.h"#include "CompositeGridOperators.h"#include "display.h"#include "ParallelUtility.h"#include "SmParameters.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 | MASK(i0, i1, i2) maskp[(i0)+(i1)*md1+(i2)*md2] |
| #define | DIV(i0, i1, i2) divp[(i0)+(i1)*d1+(i2)*d2] |
| #define | VOR(i0, i1, i2, i3) vorp[(i0)+(i1)*vd1+(i2)*vd2+(i3)*vd3] |
| #define | U(i0, i1, i2, i3) up[i0+uDim0*(i1+uDim1*(i2+uDim2*(i3)))] |
| #define | UD(i0, i1, i2, i3) udp[i0+udDim0*(i1+udDim1*(i2+udDim2*(i3)))] |
| #define | MASK(i0, i1, i2) maskp[(i0)+(i1)*md1+(i2)*md2] |
| #define | V(i0, i1, i2, i3) vp[i0+vDim0*(i1+vDim1*(i2+vDim2*(i3)))] |
| #define | S(i0, i1, i2, i3) sp[i0+sDim0*(i1+sDim1*(i2+sDim2*(i3)))] |
| #define | U(i0, i1, i2, i3) pu[i0+uDim0*(i1+uDim1*(i2+uDim2*(i3)))] |
| #define | UP(i0, i1, i2, i3) upp[i0+upDim0*(i1+upDim1*(i2+upDim2*(i3)))] |
| #define | MASK(i0, i1, i2) maskp[(i0)+(i1)*md1+(i2)*md2] |
| #define | U(i0, i1, i2, i3) pu[i0+uDim0*(i1+uDim1*(i2+uDim2*(i3)))] |
Referenced by Cgsm::getMaxDivAndCurl(), and Maxwell::getMaxDivergence().
| #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_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 Cgsm::getMaxDivAndCurl(), and Maxwell::getMaxDivergence().
Referenced by Cgsm::getVelocityAndStress().
1.8.3