Overture  Version 25
Macros | Functions
grid.C File Reference
#include "GL_GraphicsInterface.h"
#include "conversion.h"
#include "ParallelUtility.h"
#include "ParallelGridUtility.h"
#include "CompositeGrid.h"
#include "PlotIt.h"
#include "xColours.h"
#include "Regrid.h"
#include "GridStatistics.h"
#include "MappingInformation.h"
#include "Ogen.h"
Include dependency graph for grid.C:

Macros

#define MASK_DNIB(i1, i2, i3)   (mask(i1,i2,i3)>0 && !(mask(i1,i2,i3) & ISinteriorBoundaryPoint) )
 
#define MASK_DINIB(i1, i2, i3)   (mask(i1,i2,i3)!=0 && !(mask(i1,i2,i3) & ISinteriorBoundaryPoint) )
 
#define FOR_3(i1, i2, i3, I1, I2, I3)
 
#define ForBoundary(side, axis)
 
#define XSCALE(x)   (parameters.xScaleFactor*(x))
 
#define YSCALE(y)   (parameters.yScaleFactor*(y))
 
#define ZSCALE(z)   (parameters.zScaleFactor*(z))
 
#define COORD0(i0, i1, i2)   XSCALE(xa+dx0*(i0-i0a))
 
#define COORD1(i0, i1, i2)   YSCALE(ya+dy0*(i1-i1a))
 

Functions

void setXColour (const aString &xColourName)
 

Macro Definition Documentation

#define COORD0 (   i0,
  i1,
  i2 
)    XSCALE(xa+dx0*(i0-i0a))
#define COORD1 (   i0,
  i1,
  i2 
)    YSCALE(ya+dy0*(i1-i1a))
#define FOR_3 (   i1,
  i2,
  i3,
  I1,
  I2,
  I3 
)
Value:
for( i3=I3.getBase(); i3<=I3.getBound(); i3++ ) \
for( i2=I2.getBase(); i2<=I2.getBound(); i2++ ) \
for( i1=I1.getBase(); i1<=I1.getBound(); i1++ ) \

Referenced by PlotIt::plotGridBoundaries().

#define ForBoundary (   side,
  axis 
)
Value:
for( axis=0; axis<gc.numberOfDimensions(); axis++ ) \
for( side=0; side<=1; side++ )

Referenced by PlotIt::plotGrid(), and PlotIt::plotGridBoundaries().

#define MASK_DINIB (   i1,
  i2,
  i3 
)    (mask(i1,i2,i3)!=0 && !(mask(i1,i2,i3) & ISinteriorBoundaryPoint) )
#define MASK_DNIB (   i1,
  i2,
  i3 
)    (mask(i1,i2,i3)>0 && !(mask(i1,i2,i3) & ISinteriorBoundaryPoint) )
#define XSCALE (   x)    (parameters.xScaleFactor*(x))
#define YSCALE (   y)    (parameters.yScaleFactor*(y))
#define ZSCALE (   z)    (parameters.zScaleFactor*(z))

Function Documentation

void setXColour ( const aString xColourName)

References aString.