Overture
Version 25
|
Macros | |
#define | ForBoundary(side, axis) |
#define | FOR_3(i1, i2, i3, I1, I2, I3) |
#define | FOR_3D(i1, i2, i3, I1, I2, I3) |
#define | M123(m1, m2, m3) (m1+halfWidth1+width*(m2+halfWidth2+width*(m3+halfWidth3))) |
#define | CE(c, e) (stencilSize*((c)+numberOfComponentsForCoefficients*(e))) |
#define | M123CE(m1, m2, m3, c, e) (M123(m1,m2,m3)+CE(c,e)) |
#define | ForStencil(m1, m2, m3) |
#define | averageOpt EXTERN_C_NAME(averageopt) |
#define | FW0_1D_0(F, m0, m1, m2, I1, I2, I3) (.25*(F(m0,I1-1,I2,I3)+.5*F(m1,I1-1,I2,I3)+F(m0,I1 ,I2,I3)) ) |
#define | FW0_1D_1(F, m0, m1, m2, I1, I2, I3) |
#define | FW0_1D_2(F, m0, m1, m2, I1, I2, I3) (.25*(F(m2,I1 ,I2,I3)+.5*F(m1,I1+1,I2,I3)+F(m2,I1+1,I2,I3)) ) |
#define | FW1_1D_0(F, m0, m1, m2, I1, I2, I3) (.25*(F(m0,I1,I2-1,I3)+.5*F(m1,I1,I2-1,I3)+F(m0,I1,I2 ,I3)) ) |
#define | FW1_1D_1(F, m0, m1, m2, I1, I2, I3) |
#define | FW1_1D_2(F, m0, m1, m2, I1, I2, I3) (.25*(F(m2,I1 ,I2,I3)+.5*F(m1,I1,I2+1,I3)+F(m2,I1,I2+1,I3)) ) |
#define | FW2_1D_0(F, m0, m1, m2, I1, I2, I3) (.25*(F(m0,I1,I2,I3-1)+.5*F(m1,I1,I2,I3-1)+F(m0,I1,I2 ,I3)) ) |
#define | FW2_1D_1(F, m0, m1, m2, I1, I2, I3) |
#define | FW2_1D_2(F, m0, m1, m2, I1, I2, I3) (.25*(F(m2,I1 ,I2,I3)+.5*F(m1,I1,I2,I3+1)+F(m2,I1,I2,I3+1)) ) |
#define | INJECTION_1D_0(F, m0, m1, m2, I1, I2, I3) (.25*(F(m0,I1,I2,I3)+.5*F(m1,I1,I2,I3)+F(m0,I1,I2,I3)) ) |
#define | INJECTION_1D_1(F, m0, m1, m2, I1, I2, I3) |
#define | INJECTION_1D_2(F, m0, m1, m2, I1, I2, I3) (.25*(F(m2,I1,I2,I3)+.5*F(m1,I1,I2,I3)+F(m2,I1,I2,I3)) ) |
Functions | |
void | averageOpt (const int &nd, const int &nd1a, const int &nd1b, const int &nd2a, const int &nd2b, const int &nd3a, const int &nd3b, const int &md1a, const int &md1b, const int &md2a, const int &md2b, const int &md3a, const int &md3b, const int &j1a, const int &j1b, const int &j2a, const int &j2b, const int &j3a, const int &j3b, const int &i1a, const int &i1b, const int &i1c, const int &i2a, const int &i2b, const int &i2c, const int &i3a, const int &i3b, const int &i3c, const int &i1pa, const int &i1pb, const int &i2pa, const int &i2pb, const int &i3pa, const int &i3pb, const int &ndc, const real &cFine, real &cCoarse, const int &ndc0, real &c0, real &c1, const int &option, const int &orderOfAccuracy, const int &ipar) |
#define averageOpt EXTERN_C_NAME(averageopt) |
Referenced by Ogmg::averageCoefficients().
#define FOR_3 | ( | i1, | |
i2, | |||
i3, | |||
I1, | |||
I2, | |||
I3 | |||
) |
Referenced by Ogmg::operatorAveraging().
#define FOR_3D | ( | i1, | |
i2, | |||
i3, | |||
I1, | |||
I2, | |||
I3 | |||
) |
Referenced by Ogmg::operatorAveraging().
#define ForBoundary | ( | side, | |
axis | |||
) |
#define ForStencil | ( | m1, | |
m2, | |||
m3 | |||
) |
Referenced by Ogmg::operatorAveraging().
#define FW0_1D_0 | ( | F, | |
m0, | |||
m1, | |||
m2, | |||
I1, | |||
I2, | |||
I3 | |||
) | (.25*(F(m0,I1-1,I2,I3)+.5*F(m1,I1-1,I2,I3)+F(m0,I1 ,I2,I3)) ) |
Referenced by Ogmg::averageCoefficients().
#define FW0_1D_1 | ( | F, | |
m0, | |||
m1, | |||
m2, | |||
I1, | |||
I2, | |||
I3 | |||
) |
#define FW0_1D_2 | ( | F, | |
m0, | |||
m1, | |||
m2, | |||
I1, | |||
I2, | |||
I3 | |||
) | (.25*(F(m2,I1 ,I2,I3)+.5*F(m1,I1+1,I2,I3)+F(m2,I1+1,I2,I3)) ) |
Referenced by Ogmg::averageCoefficients().
#define FW1_1D_0 | ( | F, | |
m0, | |||
m1, | |||
m2, | |||
I1, | |||
I2, | |||
I3 | |||
) | (.25*(F(m0,I1,I2-1,I3)+.5*F(m1,I1,I2-1,I3)+F(m0,I1,I2 ,I3)) ) |
Referenced by Ogmg::averageCoefficients().
#define FW1_1D_1 | ( | F, | |
m0, | |||
m1, | |||
m2, | |||
I1, | |||
I2, | |||
I3 | |||
) |
#define FW1_1D_2 | ( | F, | |
m0, | |||
m1, | |||
m2, | |||
I1, | |||
I2, | |||
I3 | |||
) | (.25*(F(m2,I1 ,I2,I3)+.5*F(m1,I1,I2+1,I3)+F(m2,I1,I2+1,I3)) ) |
Referenced by Ogmg::averageCoefficients().
#define FW2_1D_0 | ( | F, | |
m0, | |||
m1, | |||
m2, | |||
I1, | |||
I2, | |||
I3 | |||
) | (.25*(F(m0,I1,I2,I3-1)+.5*F(m1,I1,I2,I3-1)+F(m0,I1,I2 ,I3)) ) |
Referenced by Ogmg::averageCoefficients().
#define FW2_1D_1 | ( | F, | |
m0, | |||
m1, | |||
m2, | |||
I1, | |||
I2, | |||
I3 | |||
) |
#define FW2_1D_2 | ( | F, | |
m0, | |||
m1, | |||
m2, | |||
I1, | |||
I2, | |||
I3 | |||
) | (.25*(F(m2,I1 ,I2,I3)+.5*F(m1,I1,I2,I3+1)+F(m2,I1,I2,I3+1)) ) |
Referenced by Ogmg::averageCoefficients().
#define INJECTION_1D_0 | ( | F, | |
m0, | |||
m1, | |||
m2, | |||
I1, | |||
I2, | |||
I3 | |||
) | (.25*(F(m0,I1,I2,I3)+.5*F(m1,I1,I2,I3)+F(m0,I1,I2,I3)) ) |
Referenced by Ogmg::averageCoefficients().
#define INJECTION_1D_1 | ( | F, | |
m0, | |||
m1, | |||
m2, | |||
I1, | |||
I2, | |||
I3 | |||
) |
#define INJECTION_1D_2 | ( | F, | |
m0, | |||
m1, | |||
m2, | |||
I1, | |||
I2, | |||
I3 | |||
) | (.25*(F(m2,I1,I2,I3)+.5*F(m1,I1,I2,I3)+F(m2,I1,I2,I3)) ) |
Referenced by Ogmg::averageCoefficients().
#define M123 | ( | m1, | |
m2, | |||
m3 | |||
) | (m1+halfWidth1+width*(m2+halfWidth2+width*(m3+halfWidth3))) |
Referenced by Ogmg::operatorAveraging().
void averageOpt | ( | const int & | nd, |
const int & | nd1a, | ||
const int & | nd1b, | ||
const int & | nd2a, | ||
const int & | nd2b, | ||
const int & | nd3a, | ||
const int & | nd3b, | ||
const int & | md1a, | ||
const int & | md1b, | ||
const int & | md2a, | ||
const int & | md2b, | ||
const int & | md3a, | ||
const int & | md3b, | ||
const int & | j1a, | ||
const int & | j1b, | ||
const int & | j2a, | ||
const int & | j2b, | ||
const int & | j3a, | ||
const int & | j3b, | ||
const int & | i1a, | ||
const int & | i1b, | ||
const int & | i1c, | ||
const int & | i2a, | ||
const int & | i2b, | ||
const int & | i2c, | ||
const int & | i3a, | ||
const int & | i3b, | ||
const int & | i3c, | ||
const int & | i1pa, | ||
const int & | i1pb, | ||
const int & | i2pa, | ||
const int & | i2pb, | ||
const int & | i3pa, | ||
const int & | i3pb, | ||
const int & | ndc, | ||
const real & | cFine, | ||
real & | cCoarse, | ||
const int & | ndc0, | ||
real & | c0, | ||
real & | c1, | ||
const int & | option, | ||
const int & | orderOfAccuracy, | ||
const int & | ipar | ||
) |