Overture  Version 25
Macros | Functions
lineSmooth.C File Reference
#include "Ogmg.h"
#include "TridiagonalSolver.h"
#include "ParallelUtility.h"
Include dependency graph for lineSmooth.C:

Macros

#define lineSmoothBuild   EXTERN_C_NAME(linesmoothbuild)
 
#define lineSmoothRHS   EXTERN_C_NAME(linesmoothrhs)
 
#define lineSmoothUpdate   EXTERN_C_NAME(linesmoothupdate)
 
#define M123(m1, m2, m3)   (m1+halfWidth1+width1*(m2+halfWidth2+width2*(m3+halfWidth3)))
 
#define FOR_3(i1, i2, i3, I1, I2, I3)   I1Bound=I1.getBound(); I2Bound=I2.getBound(); I3Bound=I3.getBound(); for(i3=I3.getBase(); i3<=I3Bound; i3++) for(i2=I2.getBase(); i2<=I2Bound; i2++) for(i1=I1.getBase(); i1<=I1Bound; i1++)
 
#define FOR_3S(i1, i2, i3, I1, I2, I3)   I1Bound=I1.getBound(); I2Bound=I2.getBound(); I3Bound=I3.getBound(); I1Stride=I1.getStride(); I2Stride=I2.getStride(); I3Stride=I3.getStride(); for(i3=I3.getBase(); i3<=I3Bound; i3+=I3Stride) for(i2=I2.getBase(); i2<=I2Bound; i2+=I2Stride) for(i1=I1.getBase(); i1<=I1Bound; i1+=I1Stride)
 
#define MASK(i0, i1, i2)   maskp[i0+maskDim0*(i1+maskDim1*(i2))]
 
#define DEFECT(i0, i1, i2)   defectp[i0+defectDim0*(i1+defectDim1*(i2))]
 
#define U(i0, i1, i2)   up[i0+uDim0*(i1+uDim1*(i2))]
 
#define F(i0, i1, i2)   fp[i0+fDim0*(i1+fDim1*(i2))]
 
#define COEFF(i0, i1, i2, i3)   coeffp[i0+coeffDim0*(i1+coeffDim1*(i2+coeffDim2*(i3)))]
 
#define IP(i0, i1)   ipp[i0+ipDim0*(i1)]
 

Functions

void lineSmoothBuild (const int &nd, const int &nd1a, const int &nd1b, const int &nd2a, const int &nd2b, const int &nd3a, const int &nd3b, const int &nda1a, const int &nda1b, const int &nda2a, const int &nda2b, const int &nda3a, const int &nda3b, const int &ndc, const real &coeff, const real &cc, real &a, real &b, real &c, real &d, real &e, const real &s, const real &u, const real &f, const int &mask, const real &rsxy, const int &ipar, const real &rpar, const int &ndbcd, const real &bcData)
 
void lineSmoothRHS (const int &nd, const int &nd1a, const int &nd1b, const int &nd2a, const int &nd2b, const int &nd3a, const int &nd3b, const int &ndc, const real &coeff, const real &cc, real &r, const real &s, const real &u, const real &f, const int &mask, const real &rsxy, const int &ipar, const real &rpar, const int &ndbcd, const real &bcData)
 
void lineSmoothUpdate (const int &nd, const int &nd1a, const int &nd1b, const int &nd2a, const int &nd2b, const int &nd3a, const int &nd3b, real &u, const real &defect, const int &mask, const int &ndc, const real &c, const int &ipar, const real &rpar)
 

Macro Definition Documentation

#define COEFF (   i0,
  i1,
  i2,
  i3 
)    coeffp[i0+coeffDim0*(i1+coeffDim1*(i2+coeffDim2*(i3)))]
#define DEFECT (   i0,
  i1,
  i2 
)    defectp[i0+defectDim0*(i1+defectDim1*(i2))]

Referenced by Ogmg::smoothLine().

#define F (   i0,
  i1,
  i2 
)    fp[i0+fDim0*(i1+fDim1*(i2))]
#define FOR_3 (   i1,
  i2,
  i3,
  I1,
  I2,
  I3 
)    I1Bound=I1.getBound(); I2Bound=I2.getBound(); I3Bound=I3.getBound(); for(i3=I3.getBase(); i3<=I3Bound; i3++) for(i2=I2.getBase(); i2<=I2Bound; i2++) for(i1=I1.getBase(); i1<=I1Bound; i1++)

Referenced by Ogmg::smoothLine().

#define FOR_3S (   i1,
  i2,
  i3,
  I1,
  I2,
  I3 
)    I1Bound=I1.getBound(); I2Bound=I2.getBound(); I3Bound=I3.getBound(); I1Stride=I1.getStride(); I2Stride=I2.getStride(); I3Stride=I3.getStride(); for(i3=I3.getBase(); i3<=I3Bound; i3+=I3Stride) for(i2=I2.getBase(); i2<=I2Bound; i2+=I2Stride) for(i1=I1.getBase(); i1<=I1Bound; i1+=I1Stride)

Referenced by Ogmg::smoothLine().

#define IP (   i0,
  i1 
)    ipp[i0+ipDim0*(i1)]
#define lineSmoothBuild   EXTERN_C_NAME(linesmoothbuild)

Referenced by Ogmg::smoothLine().

#define lineSmoothRHS   EXTERN_C_NAME(linesmoothrhs)

Referenced by Ogmg::smoothLine().

#define lineSmoothUpdate   EXTERN_C_NAME(linesmoothupdate)

Referenced by Ogmg::smoothLine().

#define M123 (   m1,
  m2,
  m3 
)    (m1+halfWidth1+width1*(m2+halfWidth2+width2*(m3+halfWidth3)))
#define MASK (   i0,
  i1,
  i2 
)    maskp[i0+maskDim0*(i1+maskDim1*(i2))]
#define U (   i0,
  i1,
  i2 
)    up[i0+uDim0*(i1+uDim1*(i2))]

Function Documentation

void lineSmoothBuild ( const int &  nd,
const int &  nd1a,
const int &  nd1b,
const int &  nd2a,
const int &  nd2b,
const int &  nd3a,
const int &  nd3b,
const int &  nda1a,
const int &  nda1b,
const int &  nda2a,
const int &  nda2b,
const int &  nda3a,
const int &  nda3b,
const int &  ndc,
const real coeff,
const real cc,
real a,
real b,
real c,
real d,
real e,
const real s,
const real u,
const real f,
const int &  mask,
const real rsxy,
const int &  ipar,
const real rpar,
const int &  ndbcd,
const real bcData 
)
void lineSmoothRHS ( const int &  nd,
const int &  nd1a,
const int &  nd1b,
const int &  nd2a,
const int &  nd2b,
const int &  nd3a,
const int &  nd3b,
const int &  ndc,
const real coeff,
const real cc,
real r,
const real s,
const real u,
const real f,
const int &  mask,
const real rsxy,
const int &  ipar,
const real rpar,
const int &  ndbcd,
const real bcData 
)
void lineSmoothUpdate ( const int &  nd,
const int &  nd1a,
const int &  nd1b,
const int &  nd2a,
const int &  nd2b,
const int &  nd3a,
const int &  nd3b,
real u,
const real defect,
const int &  mask,
const int &  ndc,
const real c,
const int &  ipar,
const real rpar 
)