Overture  Version 25
Macros | Functions
fixBoundaryCorners.C File Reference
#include "GenericMappedGridOperators.h"
#include "SparseRep.h"
#include "GridFunctionParameters.h"
#include "ParallelUtility.h"
Include dependency graph for fixBoundaryCorners.C:

Macros

#define fixBoundaryCornersOpt   EXTERN_C_NAME(fixboundarycornersopt)
 
#define UX1(n1, n2, n3, i1, i2, i3, n)
 
#define UX2(n1, n2, n3, i1, i2, i3, n)
 
#define UX3(n1, n2, n3, i1, i2, i3, n)
 
#define UX4(n1, n2, n3, i1, i2, i3, n)
 
#define UX5(n1, n2, n3, i1, i2, i3, n)
 
#define UX6(n1, n2, n3, i1, i2, i3, n)
 
#define EXTRAP_SWITCH(i1, i2, i3, n, is1, is2, is3, j1, j2, j3, m)
 
#define getCPUOpt()   0.
 
#define indexRange0(side, axis)   indexRangec[axis][side]
 
#define indexRange(side, axis)   indexRangec[axis][side]
 
#define dim(side, axis)   pdim[side+2*(axis)]
 

Functions

void fixBoundaryCornersOpt (const int &nd, const int &ndu1a, const int &ndu1b, const int &ndu2a, const int &ndu2b, const int &ndu3a, const int &ndu3b, const int &ndu4a, const int &ndu4b, const int &ndm1a, const int &ndm1b, const int &ndm2a, const int &ndm2b, const int &ndm3a, const int &ndm3b, real &u, const int &mask, const real &rsxy, const int &indexRange, const int &dimension, const int &isPeriodic, const int &bc, const int &cornerBC, const int &ipar, const real &rpar)
 

Macro Definition Documentation

#define dim (   side,
  axis 
)    pdim[side+2*(axis)]
#define EXTRAP_SWITCH (   i1,
  i2,
  i3,
  n,
  is1,
  is2,
  is3,
  j1,
  j2,
  j3,
 
)
#define fixBoundaryCornersOpt   EXTERN_C_NAME(fixboundarycornersopt)
#define getCPUOpt ( )    0.
#define indexRange (   side,
  axis 
)    indexRangec[axis][side]
#define indexRange0 (   side,
  axis 
)    indexRangec[axis][side]
#define UX1 (   n1,
  n2,
  n3,
  i1,
  i2,
  i3,
 
)
Value:
/* @PM */ \
u(i1+ (n1),i2+ (n2),i3+ (n3),n)
#define UX2 (   n1,
  n2,
  n3,
  i1,
  i2,
  i3,
 
)
Value:
/* @PM */ \
+ 2.*u(i1+ (n1),i2+ (n2),i3+ (n3),n) \
- u(i1+2*(n1),i2+2*(n2),i3+2*(n3),n)
#define UX3 (   n1,
  n2,
  n3,
  i1,
  i2,
  i3,
 
)
Value:
/* @PM */ \
+ 3.*u(i1+ (n1),i2+ (n2),i3+ (n3),n) \
- 3.*u(i1+2*(n1),i2+2*(n2),i3+2*(n3),n) \
+ u(i1+3*(n1),i2+3*(n2),i3+3*(n3),n)
#define UX4 (   n1,
  n2,
  n3,
  i1,
  i2,
  i3,
 
)
Value:
/* @PM */ \
+ 4.*u(i1+ (n1),i2+ (n2),i3+ (n3),n) \
- 6.*u(i1+2*(n1),i2+2*(n2),i3+2*(n3),n) \
+ 4.*u(i1+3*(n1),i2+3*(n2),i3+3*(n3),n) \
- u(i1+4*(n1),i2+4*(n2),i3+4*(n3),n)
#define UX5 (   n1,
  n2,
  n3,
  i1,
  i2,
  i3,
 
)
Value:
/* @PM */ \
+ 5.*u(i1+ (n1),i2+ (n2),i3+ (n3),n) \
-10.*u(i1+2*(n1),i2+2*(n2),i3+2*(n3),n) \
+10.*u(i1+3*(n1),i2+3*(n2),i3+3*(n3),n) \
- 5.*u(i1+4*(n1),i2+4*(n2),i3+4*(n3),n) \
+ u(i1+5*(n1),i2+5*(n2),i3+5*(n3),n)
#define UX6 (   n1,
  n2,
  n3,
  i1,
  i2,
  i3,
 
)
Value:
/* @PM */ \
+ 6.*u(i1+ (n1),i2+ (n2),i3+ (n3),n) \
-15.*u(i1+2*(n1),i2+2*(n2),i3+2*(n3),n) \
+20.*u(i1+3*(n1),i2+3*(n2),i3+3*(n3),n) \
-15.*u(i1+4*(n1),i2+4*(n2),i3+4*(n3),n) \
+ 6.*u(i1+5*(n1),i2+5*(n2),i3+5*(n3),n) \
- u(i1+6*(n1),i2+6*(n2),i3+6*(n3),n)

Function Documentation

void fixBoundaryCornersOpt ( const int &  nd,
const int &  ndu1a,
const int &  ndu1b,
const int &  ndu2a,
const int &  ndu2b,
const int &  ndu3a,
const int &  ndu3b,
const int &  ndu4a,
const int &  ndu4b,
const int &  ndm1a,
const int &  ndm1b,
const int &  ndm2a,
const int &  ndm2b,
const int &  ndm3a,
const int &  ndm3b,
real u,
const int &  mask,
const real rsxy,
const int &  indexRange,
const int &  dimension,
const int &  isPeriodic,
const int &  bc,
const int &  cornerBC,
const int &  ipar,
const real rpar 
)