Overture  Version 25
Macros | Functions
CompositeGrid.C File Reference
#include "CompositeGrid.h"
#include "UnstructuredMapping.h"
#include "display.h"
#include "HDF_DataBase.h"
#include "App.h"
#include "ParallelUtility.h"
#include "SparseArray.h"
Include dependency graph for CompositeGrid.C:

Macros

#define COMPOSITE_GRID_FOR_3(range, i, j, k)
 
#define REFERENCE(x)   x.reference(rcData->x)
 
#define REF_ARRAY(x)   if (x.getDataPointer() != rcData->x.getDataPointer()) REFERENCE(x)
 
#define SET_GRID(x)   if (x.gridCollectionData == rcData) x.gridCollection = this
 
#define FOR_COLLECTION(X)
 
#define g_boundaryCondition(i, j)   g_boundaryCondition_ [(i) + 2 * (j)]
 
#define g_gridSpacing(i)   g_gridSpacing_ [(i)]
 
#define g_indexRange(i, j)   g_indexRange_ [(i) + 2 * (j)]
 
#define g_extendedIndexRange(i, j)   g_extendedIndexRange_[(i) + 2 * (j)]
 
#define g_isCellCentered(i)   g_isCellCentered_ [(i)]
 
#define g_isPeriodic(i)   g_isPeriodic_ [(i)]
 
#define r_(i, j)   r__ [(i) + r_s * (j)]
 
#define interpolationStencil_(i, j, k)   interpolationStencil__[(i) + iS_s1 * (j) + iS_s2 * (k)]
 
#define useBackupRules_(i)   useBackupRules__ [(i)]
 
#define iw0_(i)   iw0__ [(i)]
 
#define refinementFactor_(i, j)   refinementFactor__ [(i) + 3 * (j)]
 
#define g_boundaryCondition(i, j)   g_boundaryCondition_ [(i) + 2 * (j)]
 
#define g_discretizationWidth(i)   g_discretizationWidth_[(i)]
 
#define g_indexRange(i, j)   g_indexRange_ [(i) + 2 * (j)]
 
#define g_numberOfGhostPoints(i, j)   g_numberOfGhostPoints_[(i) + 2 * (j)]
 
#define g_isCellCentered(i)   g_isCellCentered_ [(i)]
 
#define g_isPeriodic(i)   g_isPeriodic_ [(i)]
 
#define g2_indexRange(i, j)   g2_indexRange_ [(i) + 2 * (j)]
 
#define g2_extendedIndexRange(i, j)   g2_extendedIndexRange_[(i) + 2 * (j)]
 
#define g2_gridSpacing(i)   g2_gridSpacing_ [(i)]
 
#define g2_useGhostPoints   g2_useGhostPoints_
 
#define r_(i, j)   r__ [(i) + r_s * (j)]
 
#define interpolationStencil_(i, j, k)   interpolationStencil__[(i) + iS_s1 * (j) + iS_s2 * (k)]
 
#define useBackupRules_(i)   useBackupRules__ [(i)]
 
#define iw0_(i)   iw0__ [(i)]
 
#define g_extendedIndexRange(i, j)   g_extendedIndexRange_[(j)][(i)]
 
#define iab(i, j)   iab_[(i) + 2 * (j)]
 
#define g_boundaryCondition(i, j)   g_boundaryCondition_ [(i) + 2 * (j)]
 
#define g_dimension(i, j)   g_dimension_ [(i) + 2 * (j)]
 
#define g_discretizationWidth(i)   g_discretizationWidth_[(i)]
 
#define g_gridSpacing(i)   g_gridSpacing_ [(i)]
 
#define g_indexRange(i, j)   g_indexRange_ [(i) + 2 * (j)]
 
#define g_extendedIndexRange(i, j)   g_extendedIndexRange_ [(i) + 2 * (j)]
 
#define g_isCellCentered(i)   g_isCellCentered_ [(i)]
 
#define g_isPeriodic(i)   g_isPeriodic_ [(i)]
 
#define g_mask(i, j, k)   g_mask_ [(i)+i10*(j)+j10*(k)]
 
#define r_(i, j)   r__ [(i) + r_s * (j)]
 
#define useBackupRules_(i)   useBackupRules__ [(i)]
 
#define ok_(i)   ok__ [(i)]
 
#define iw0_(i)   iw0__ [(i)]
 
#define ov0_(i)   ov0__ [(i)]
 
#define iab2_(i, j, k)   iab2__[(j) + 2 * (k)]
 
#define INTERPOLEELOCATION(i0, i1)   interpoleeLocationp[i0+interpoleeLocationDim0*(i1)]
 
#define INTERPOLEELOCATION1(i0, i1)   interpoleeLocation1p[i0+interpoleeLocation1Dim0*(i1)]
 
#define INTERPOLATIONPOINT(i0, i1)   interpolationPointp[i0+interpolationPointDim0*(i1)]
 
#define INTERPOLATIONPOINT1(i0, i1)   interpolationPoint1p[i0+interpolationPoint1Dim0*(i1)]
 
#define INTERPOLATIONCOORDINATES(i0, i1)   interpolationCoordinatesp[i0+interpolationCoordinatesDim0*(i1)]
 
#define INTERPOLATIONCOORDINATES1(i0, i1)   interpolationCoordinates1p[i0+interpolationCoordinates1Dim0*(i1)]
 
#define INTERPOLEEGRID(i0)   interpoleeGridp[i0]
 
#define INTERPOLEEGRID1(i0)   interpoleeGrid1p[i0]
 
#define NG(i0)   ngp[i0]
 
#define GRIDSTART(i0)   gridStartp[i0]
 
#define VARIABLEINTERPOLATIONWIDTH(i0)   variableInterpolationWidthp[i0]
 
#define VARIABLEINTERPOLATIONWIDTH1(i0)   variableInterpolationWidth1p[i0]
 

Functions

ostream & operator<< (ostream &s, const CompositeGrid &g)
 

Macro Definition Documentation

#define COMPOSITE_GRID_FOR_3 (   range,
  i,
  j,
 
)
Value:
for (k=((Integer*)(range))[4]; k<=((Integer*)(range))[5]; k++) \
for (j=((Integer*)(range))[2]; j<=((Integer*)(range))[3]; j++) \
for (i=((Integer*)(range))[0]; i<=((Integer*)(range))[1]; i++)

Referenced by CompositeGridData::canInterpolate().

#define FOR_COLLECTION (   X)
Value:
for( i=0; i<X.getLength(); i++ ) \
X[i].master=this;

Referenced by GenericGridCollection::updateReferences(), GridCollection::updateReferences(), and CompositeGrid::updateReferences().

#define g2_extendedIndexRange (   i,
 
)    g2_extendedIndexRange_[(i) + 2 * (j)]
#define g2_gridSpacing (   i)    g2_gridSpacing_ [(i)]
#define g2_indexRange (   i,
 
)    g2_indexRange_ [(i) + 2 * (j)]
#define g2_useGhostPoints   g2_useGhostPoints_
#define g_boundaryCondition (   i,
 
)    g_boundaryCondition_ [(i) + 2 * (j)]
#define g_boundaryCondition (   i,
 
)    g_boundaryCondition_ [(i) + 2 * (j)]
#define g_boundaryCondition (   i,
 
)    g_boundaryCondition_ [(i) + 2 * (j)]
#define g_dimension (   i,
 
)    g_dimension_ [(i) + 2 * (j)]
#define g_discretizationWidth (   i)    g_discretizationWidth_[(i)]
#define g_discretizationWidth (   i)    g_discretizationWidth_[(i)]
#define g_extendedIndexRange (   i,
 
)    g_extendedIndexRange_[(i) + 2 * (j)]
#define g_extendedIndexRange (   i,
 
)    g_extendedIndexRange_[(j)][(i)]
#define g_extendedIndexRange (   i,
 
)    g_extendedIndexRange_ [(i) + 2 * (j)]
#define g_gridSpacing (   i)    g_gridSpacing_ [(i)]
#define g_gridSpacing (   i)    g_gridSpacing_ [(i)]
#define g_indexRange (   i,
 
)    g_indexRange_ [(i) + 2 * (j)]
#define g_indexRange (   i,
 
)    g_indexRange_ [(i) + 2 * (j)]
#define g_indexRange (   i,
 
)    g_indexRange_ [(i) + 2 * (j)]
#define g_isCellCentered (   i)    g_isCellCentered_ [(i)]
#define g_isCellCentered (   i)    g_isCellCentered_ [(i)]
#define g_isCellCentered (   i)    g_isCellCentered_ [(i)]
#define g_isPeriodic (   i)    g_isPeriodic_ [(i)]
#define g_isPeriodic (   i)    g_isPeriodic_ [(i)]
#define g_isPeriodic (   i)    g_isPeriodic_ [(i)]
#define g_mask (   i,
  j,
 
)    g_mask_ [(i)+i10*(j)+j10*(k)]
#define g_numberOfGhostPoints (   i,
 
)    g_numberOfGhostPoints_[(i) + 2 * (j)]
#define GRIDSTART (   i0)    gridStartp[i0]
#define iab (   i,
 
)    iab_[(i) + 2 * (j)]
#define iab2_ (   i,
  j,
 
)    iab2__[(j) + 2 * (k)]
#define INTERPOLATIONCOORDINATES (   i0,
  i1 
)    interpolationCoordinatesp[i0+interpolationCoordinatesDim0*(i1)]
#define INTERPOLATIONCOORDINATES1 (   i0,
  i1 
)    interpolationCoordinates1p[i0+interpolationCoordinates1Dim0*(i1)]
#define INTERPOLATIONPOINT (   i0,
  i1 
)    interpolationPointp[i0+interpolationPointDim0*(i1)]
#define INTERPOLATIONPOINT1 (   i0,
  i1 
)    interpolationPoint1p[i0+interpolationPoint1Dim0*(i1)]
#define interpolationStencil_ (   i,
  j,
 
)    interpolationStencil__[(i) + iS_s1 * (j) + iS_s2 * (k)]
#define interpolationStencil_ (   i,
  j,
 
)    interpolationStencil__[(i) + iS_s1 * (j) + iS_s2 * (k)]
#define INTERPOLEEGRID (   i0)    interpoleeGridp[i0]
#define INTERPOLEEGRID1 (   i0)    interpoleeGrid1p[i0]
#define INTERPOLEELOCATION (   i0,
  i1 
)    interpoleeLocationp[i0+interpoleeLocationDim0*(i1)]
#define INTERPOLEELOCATION1 (   i0,
  i1 
)    interpoleeLocation1p[i0+interpoleeLocation1Dim0*(i1)]
#define iw0_ (   i)    iw0__ [(i)]
#define iw0_ (   i)    iw0__ [(i)]
#define iw0_ (   i)    iw0__ [(i)]
#define NG (   i0)    ngp[i0]
#define ok_ (   i)    ok__ [(i)]
#define ov0_ (   i)    ov0__ [(i)]
#define r_ (   i,
 
)    r__ [(i) + r_s * (j)]
#define r_ (   i,
 
)    r__ [(i) + r_s * (j)]
#define r_ (   i,
 
)    r__ [(i) + r_s * (j)]
#define REF_ARRAY (   x)    if (x.getDataPointer() != rcData->x.getDataPointer()) REFERENCE(x)
#define REFERENCE (   x)    x.reference(rcData->x)
#define refinementFactor_ (   i,
 
)    refinementFactor__ [(i) + 3 * (j)]
#define SET_GRID (   x)    if (x.gridCollectionData == rcData) x.gridCollection = this
#define useBackupRules_ (   i)    useBackupRules__ [(i)]
#define useBackupRules_ (   i)    useBackupRules__ [(i)]
#define useBackupRules_ (   i)    useBackupRules__ [(i)]
#define VARIABLEINTERPOLATIONWIDTH (   i0)    variableInterpolationWidthp[i0]
#define VARIABLEINTERPOLATIONWIDTH1 (   i0)    variableInterpolationWidth1p[i0]

Function Documentation

ostream& operator<< ( ostream &  s,
const CompositeGrid g 
)