Overture  Version 25
Macros
Elliptic.C File Reference
#include "GenericGraphicsInterface.h"
#include "EllipticGridGenerator.h"
#include "display.h"
#include "LineMapping.h"
#include "SquareMapping.h"
#include "BoxMapping.h"
#include "DataPointMapping.h"
#include "TridiagonalSolver.h"
#include "StretchedSquare.h"
#include "CompositeSurface.h"
#include "Overture.h"
#include "MappedGridOperators.h"
Include dependency graph for Elliptic.C:

Macros

#define FULL_WEIGHTING_1D(i1, i2, i3, Rx)
 
#define FULL_WEIGHTING_1D_001(i1, i2, i3, Rx)
 
#define FULL_WEIGHTING_2D(i1, i2, i3, Rx)
 
#define FULL_WEIGHTING_3D(i1, i2, i3, Rx)
 
#define BOUNDARY_DEFECT_PLANE_110(i1, i2, i3, Rx)
 
#define BOUNDARY_DEFECT_PLANE_101(i1, i2, i3, Rx)
 
#define BOUNDARY_DEFECT_PLANE_011(i1, i2, i3, Rx)
 
#define BOUNDARY_DEFECT_LINE(is1, is2, is3, i1, i2, i3, Rx)   ( .5*defectFine(i1,i2,i3,Rx)+.25*(defectFine(i1+is1,i2+is2,i3+is3,Rx)+defectFine(i1-is1,i2-is2,i3+is3,Rx)) )
 
#define Q2000(j1, j2, j3)   ( uCoarse(j1,j2,j3) )
 
#define Q2100(j1, j2, j3)   ( cp2(0,cf1)*uCoarse(j1,j2,j3)+cp2(1,cf1)*uCoarse(j1+1,j2 ,j3 ) )
 
#define Q2010(j1, j2, j3)   ( cp2(0,cf2)*uCoarse(j1,j2,j3)+cp2(1,cf2)*uCoarse(j1 ,j2+1,j3 ) )
 
#define Q2001(j1, j2, j3)   ( cp2(0,cf3)*uCoarse(j1,j2,j3)+cp2(1,cf3)*uCoarse(j1 ,j2 ,j3+1) )
 
#define Q2110(j1, j2, j3)   ( cp2(0,cf2)* Q2100(j1,j2,j3)+cp2(1,cf2)* Q2100(j1 ,j2+1,j3 ) )
 
#define Q2101(j1, j2, j3)   ( cp2(0,cf3)* Q2100(j1,j2,j3)+cp2(1,cf3)* Q2100(j1 ,j2 ,j3+1) )
 
#define Q2011(j1, j2, j3)   ( cp2(0,cf3)* Q2010(j1,j2,j3)+cp2(1,cf3)* Q2010(j1 ,j2 ,j3+1) )
 
#define Q2111(j1, j2, j3)   ( cp2(0,cf3)* Q2110(j1,j2,j3)+cp2(1,cf3)* Q2110(j1 ,j2 ,j3+1) )
 
#define Q4000(j1, j2, j3)   ( uCoarse(j1,j2,j3) )
 
#define Q4100(j1, j2, j3)
 
#define Q4010(j1, j2, j3)
 
#define Q4001(j1, j2, j3)
 
#define Q4110(j1, j2, j3)
 
#define Q4101(j1, j2, j3)
 
#define Q4011(j1, j2, j3)
 
#define Q4111(j1, j2, j3)
 

Macro Definition Documentation

#define BOUNDARY_DEFECT_LINE (   is1,
  is2,
  is3,
  i1,
  i2,
  i3,
  Rx 
)    ( .5*defectFine(i1,i2,i3,Rx)+.25*(defectFine(i1+is1,i2+is2,i3+is3,Rx)+defectFine(i1-is1,i2-is2,i3+is3,Rx)) )
#define BOUNDARY_DEFECT_PLANE_011 (   i1,
  i2,
  i3,
  Rx 
)
Value:
( \
cr(-1,cf2)*FULL_WEIGHTING_1D_001(i1,i2-1,i3,Rx) \
+cr( 0,cf2)*FULL_WEIGHTING_1D_001(i1,i2 ,i3,Rx) \
+cr(+1,cf2)*FULL_WEIGHTING_1D_001(i1,i2+1,i3,Rx) \
)

Referenced by EllipticGridGenerator::fineToCoarse().

#define BOUNDARY_DEFECT_PLANE_101 (   i1,
  i2,
  i3,
  Rx 
)
Value:
( \
cr(-1,cf3)*FULL_WEIGHTING_1D(i1,i2,i3-1,Rx) \
+cr( 0,cf3)*FULL_WEIGHTING_1D(i1,i2,i3 ,Rx) \
+cr(+1,cf3)*FULL_WEIGHTING_1D(i1,i2,i3+1,Rx) \
)

Referenced by EllipticGridGenerator::fineToCoarse().

#define BOUNDARY_DEFECT_PLANE_110 (   i1,
  i2,
  i3,
  Rx 
)
Value:
( \
cr(-1,cf2)*FULL_WEIGHTING_1D(i1,i2-1,i3,Rx) \
+cr( 0,cf2)*FULL_WEIGHTING_1D(i1,i2 ,i3,Rx) \
+cr(+1,cf2)*FULL_WEIGHTING_1D(i1,i2+1,i3,Rx) \
)

Referenced by EllipticGridGenerator::fineToCoarse().

#define FULL_WEIGHTING_1D (   i1,
  i2,
  i3,
  Rx 
)
Value:
( \
cr(-1,cf1)*defectFine(i1-1,i2,i3,Rx) \
+cr( 0,cf1)*defectFine(i1 ,i2,i3,Rx) \
+cr(+1,cf1)*defectFine(i1+1,i2,i3,Rx) \
)

Referenced by EllipticGridGenerator::fineToCoarse().

#define FULL_WEIGHTING_1D_001 (   i1,
  i2,
  i3,
  Rx 
)
Value:
( \
cr(-1,cf3)*defectFine(i1,i2,i3-1,Rx) \
+cr( 0,cf3)*defectFine(i1,i2,i3 ,Rx) \
+cr(+1,cf3)*defectFine(i1,i2,i3+1,Rx) \
)
#define FULL_WEIGHTING_2D (   i1,
  i2,
  i3,
  Rx 
)
Value:
( \
cr(-1,cf2)*FULL_WEIGHTING_1D(i1,i2-1,i3,Rx) \
+cr( 0,cf2)*FULL_WEIGHTING_1D(i1,i2 ,i3,Rx) \
+cr(+1,cf2)*FULL_WEIGHTING_1D(i1,i2+1,i3,Rx) \
)

Referenced by EllipticGridGenerator::fineToCoarse().

#define FULL_WEIGHTING_3D (   i1,
  i2,
  i3,
  Rx 
)
Value:
( \
cr(-1,cf3)*FULL_WEIGHTING_2D(i1,i2,i3-1,Rx) \
+cr( 0,cf3)*FULL_WEIGHTING_2D(i1,i2,i3 ,Rx) \
+cr(+1,cf3)*FULL_WEIGHTING_2D(i1,i2,i3+1,Rx) \
)

Referenced by EllipticGridGenerator::fineToCoarse().

#define Q2000 (   j1,
  j2,
  j3 
)    ( uCoarse(j1,j2,j3) )
#define Q2001 (   j1,
  j2,
  j3 
)    ( cp2(0,cf3)*uCoarse(j1,j2,j3)+cp2(1,cf3)*uCoarse(j1 ,j2 ,j3+1) )
#define Q2010 (   j1,
  j2,
  j3 
)    ( cp2(0,cf2)*uCoarse(j1,j2,j3)+cp2(1,cf2)*uCoarse(j1 ,j2+1,j3 ) )
#define Q2011 (   j1,
  j2,
  j3 
)    ( cp2(0,cf3)* Q2010(j1,j2,j3)+cp2(1,cf3)* Q2010(j1 ,j2 ,j3+1) )
#define Q2100 (   j1,
  j2,
  j3 
)    ( cp2(0,cf1)*uCoarse(j1,j2,j3)+cp2(1,cf1)*uCoarse(j1+1,j2 ,j3 ) )
#define Q2101 (   j1,
  j2,
  j3 
)    ( cp2(0,cf3)* Q2100(j1,j2,j3)+cp2(1,cf3)* Q2100(j1 ,j2 ,j3+1) )
#define Q2110 (   j1,
  j2,
  j3 
)    ( cp2(0,cf2)* Q2100(j1,j2,j3)+cp2(1,cf2)* Q2100(j1 ,j2+1,j3 ) )
#define Q2111 (   j1,
  j2,
  j3 
)    ( cp2(0,cf3)* Q2110(j1,j2,j3)+cp2(1,cf3)* Q2110(j1 ,j2 ,j3+1) )
#define Q4000 (   j1,
  j2,
  j3 
)    ( uCoarse(j1,j2,j3) )
#define Q4001 (   j1,
  j2,
  j3 
)
Value:
( cp4( 0,cf3)*uCoarse(j1 ,j2 ,j3 )+cp4(1,cf3)*uCoarse(j1 ,j2 ,j3+1) \
+cp4(-1,cf3)*uCoarse(j1 ,j2 ,j3-1)+cp4(2,cf3)*uCoarse(j1 ,j2 ,j3+2) )

Referenced by EllipticGridGenerator::coarseToFine().

#define Q4010 (   j1,
  j2,
  j3 
)
Value:
( cp4( 0,cf2)*uCoarse(j1 ,j2 ,j3 )+cp4(1,cf2)*uCoarse(j1 ,j2+1,j3 ) \
+cp4(-1,cf2)*uCoarse(j1 ,j2-1,j3 )+cp4(2,cf2)*uCoarse(j1 ,j2+2,j3 ) )

Referenced by EllipticGridGenerator::coarseToFine().

#define Q4011 (   j1,
  j2,
  j3 
)
Value:
( cp4( 0,cf3)* Q4010(j1 ,j2 ,j3 )+cp4(1,cf3)* Q4010(j1 ,j2 ,j3+1) \
+cp4(-1,cf3)* Q4010(j1 ,j2 ,j3-1)+cp4(2,cf3)* Q4010(j1 ,j2 ,j3+2) )

Referenced by EllipticGridGenerator::coarseToFine().

#define Q4100 (   j1,
  j2,
  j3 
)
Value:
( cp4( 0,cf1)*uCoarse(j1 ,j2 ,j3 )+cp4(1,cf1)*uCoarse(j1+1,j2 ,j3 ) \
+cp4(-1,cf1)*uCoarse(j1-1,j2 ,j3 )+cp4(2,cf1)*uCoarse(j1+2,j2 ,j3 ) )

Referenced by EllipticGridGenerator::coarseToFine().

#define Q4101 (   j1,
  j2,
  j3 
)
Value:
( cp4( 0,cf3)* Q4100(j1 ,j2 ,j3 )+cp4(1,cf3)* Q4100(j1 ,j2 ,j3+1) \
+cp4(-1,cf3)* Q4100(j1 ,j2 ,j3-1)+cp4(2,cf3)* Q4100(j1 ,j2 ,j3+2) )

Referenced by EllipticGridGenerator::coarseToFine().

#define Q4110 (   j1,
  j2,
  j3 
)
Value:
( cp4( 0,cf2)* Q4100(j1 ,j2 ,j3 )+cp4(1,cf2)* Q4100(j1 ,j2+1,j3 ) \
+cp4(-1,cf2)* Q4100(j1 ,j2-1,j3 )+cp4(2,cf2)* Q4100(j1 ,j2+2,j3 ) )

Referenced by EllipticGridGenerator::coarseToFine().

#define Q4111 (   j1,
  j2,
  j3 
)
Value:
( cp4( 0,cf3)* Q4110(j1 ,j2 ,j3 )+cp4(1,cf3)* Q4110(j1 ,j2 ,j3+1) \
+cp4(-1,cf3)* Q4110(j1 ,j2 ,j3-1)+cp4(2,cf3)* Q4110(j1 ,j2 ,j3+2) )

Referenced by EllipticGridGenerator::coarseToFine().