Overture  Version 25
Macros | Functions
contour3dOpt.C File Reference
#include "GL_GraphicsInterface.h"
#include "GridCollection.h"
#include "PlotIt.h"
#include "xColours.h"
#include "ContourSurface.h"
#include "UnstructuredMapping.h"
#include "ParallelUtility.h"
Include dependency graph for contour3dOpt.C:

Macros

#define ISOSURF   EXTERN_C_NAME(isosurf)
 
#define FOR_3(i1, i2, i3, I1, I2, I3)
 
#define ForBoundary(side, axis)
 
#define MASK(i0, i1, i2)   maskp[i0+maskDim0*(i1+maskDim1*(i2))]
 
#define U(i0, i1, i2, c)   up[(i0)*d0+(i1)*d1+(i2)*d2+(c)*dc]
 
#define numberOfVerticesPerSurface(i0, i1)   numberOfVerticesPerSurfacep[i0+numberOfVerticesPerSurfaceDim0*(i1)]
 
#define numberOfPolygonsPerSurface(i0)   numberOfPolygonsPerSurfacep[i0]
 
#define contourLevel(i0)   contourLevelp[i0]
 
#define isoSurfaceValue(i0, i1)   isoSurfaceValuep[i0+isoSurfaceValueDim0*(i1)]
 
#define normal(i0, i1)   normalp[i0+normalDim0*(i1)]
 
#define COORD(i0, i1, i2, i3)   coordp[i0+coordDim0*(i1+coordDim1*(i2+coordDim2*(i3)))]
 
#define CENTER0(i0, i1, i2)   (xa+dx0*(i0-ii0a))
 
#define CENTER1(i0, i1, i2)   (ya+dy0*(i1-ii1a))
 
#define CENTER2(i0, i1, i2)   (za+dz0*(i2-ii2a))
 
#define numberOfVertices(i0, i1)   numberOfVerticesp[i0+numberOfVerticesDim0*(i1)]
 
#define px(i0, i1, i2, i3)   pxp[i0+pxDim0*(i1+pxDim1*(i2+pxDim2*(i3)))]
 
#define CD(i0, i1, i2)   pcd[i0+cdDim0*(i1+cdDim1*(i2))]
 
#define D(i0, i1, i2, i3)   dp[i0+dDim0*(i1+dDim1*(i2+dDim2*(i3)))]
 
#define S(i0, i1, i2, i3)   sp[i0+sDim0*(i1+sDim1*(i2+sDim2*(i3)))]
 
#define SISO(i0, i1, i2, i3)   sIsop[i0+sIsoDim0*(i1+sIsoDim1*(i2+sIsoDim2*(i3)))]
 
#define numberOfPolygonsPerSurface(i0)   numberOfPolygonsPerSurfacep[i0]
 
#define numberOfVerticesPerSurface(i0, i1)   numberOfVerticesPerSurfacep[i0+numberOfVerticesPerSurfaceDim0*(i1)]
 
#define XSCALE(x)   (psp.xScaleFactor*(x))
 
#define YSCALE(y)   (psp.yScaleFactor*(y))
 
#define ZSCALE(z)   (psp.zScaleFactor*(z))
 

Functions

void ISOSURF (const int &nTet, real &scalarFieldAtVertices, const int &leadingDimensionOfDAndPx, const int &numberOfDataComponents, real &dataAtVertices, const int &cornerIndex1, const int &cornerIndex2, const int &cornerIndex3, const int &numberOfContourLevels, real &contourLevels, const int &numberOfVertices, real &vertexList, int &ierr)
 
void getNormal (const realArray &x, const int iv[3], const int axis, real normal[3], const int &recursion=TRUE)
 

Macro Definition Documentation

#define CD (   i0,
  i1,
  i2 
)    pcd[i0+cdDim0*(i1+cdDim1*(i2))]

Referenced by PlotIt::plot3dContours().

#define CENTER0 (   i0,
  i1,
  i2 
)    (xa+dx0*(i0-ii0a))
#define CENTER1 (   i0,
  i1,
  i2 
)    (ya+dy0*(i1-ii1a))
#define CENTER2 (   i0,
  i1,
  i2 
)    (za+dz0*(i2-ii2a))

Referenced by PlotIt::grid3d().

#define contourLevel (   i0)    contourLevelp[i0]

Referenced by PlotIt::plot3dContours().

#define COORD (   i0,
  i1,
  i2,
  i3 
)    coordp[i0+coordDim0*(i1+coordDim1*(i2+coordDim2*(i3)))]

Referenced by computeMaximumSpeed().

#define D (   i0,
  i1,
  i2,
  i3 
)    dp[i0+dDim0*(i1+dDim1*(i2+dDim2*(i3)))]
#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++ ) \
#define ForBoundary (   side,
  axis 
)
Value:
for( axis=0; axis<gc.numberOfDimensions(); axis++ ) \
for( side=0; side<=1; side++ )
#define ISOSURF   EXTERN_C_NAME(isosurf)
#define isoSurfaceValue (   i0,
  i1 
)    isoSurfaceValuep[i0+isoSurfaceValueDim0*(i1)]
#define MASK (   i0,
  i1,
  i2 
)    maskp[i0+maskDim0*(i1+maskDim1*(i2))]
#define normal (   i0,
  i1 
)    normalp[i0+normalDim0*(i1)]

Referenced by AdvancingFront::addFaceToFront(), annotateDialog(), MappedGridOperators::applyBCextrapolate(), MappedGridOperators::applyBCnormalComponent(), MappedGridOperators::applyBCnormalDerivative(), MappedGridOperators::applyBCnormalDotScalarGrad(), MappedGridOperators::applyBCsymmetry(), MappedGridOperators::applyBCtangentialComponent(), MappedGridOperators::applyBoundaryConditionCoefficients(), OffsetShell::buildOffsetMappings(), checkGrid(), Ogen::checkInterpolationOnBoundaries(), clippingPlanesDialog(), Ogmg::coarseGridSolverTest(), createSurfaceForAFace(), Ogen::cutHoles(), Ogen::cutHolesNew(), Ogen::cutHolesNewer(), EllipticGridGenerator::defineBoundaryControlFunction(), EllipticGridGenerator::defineSurfaceControlFunction(), Triangle::display(), UnstructuredMapping::expandGhostBoundary(), HyperbolicMapping::findMatchingBoundaryCurve(), CompositeSurface::findNearbySurfaces(), HyperbolicMapping::generate(), CompositeSurface::getNormals(), EllipticGridGenerator::getResidual(), DerivedFunctions::getUserDefinedDerivedFunction(), PlotIt::grid3d(), insertFace(), Ogen::interpolateAPoint(), Triangle::intersects(), main(), NormalMapping::map(), FilletMapping::map(), NormalMapping::mapS(), MeshQualityMetrics::plot(), PlotIt::plot3dContours(), PlotIt::plotAdvancingFront(), HyperbolicMapping::plotDirectionArrows(), PlotIt::plotShadedFace(), PlotIt::plotSubSurfaceNormals(), PlotIt::plotUnstructured(), IntersectionMapping::project(), CompositeSurface::project(), UnstructuredMapping::project(), Mapping::project(), GridSmoother::smooth(), and PlotIt::surfaceGrid3d().

#define numberOfPolygonsPerSurface (   i0)    numberOfPolygonsPerSurfacep[i0]
#define numberOfPolygonsPerSurface (   i0)    numberOfPolygonsPerSurfacep[i0]
#define numberOfVertices (   i0,
  i1 
)    numberOfVerticesp[i0+numberOfVerticesDim0*(i1)]

Referenced by Ugen::updateHybrid().

#define numberOfVerticesPerSurface (   i0,
  i1 
)    numberOfVerticesPerSurfacep[i0+numberOfVerticesPerSurfaceDim0*(i1)]
#define numberOfVerticesPerSurface (   i0,
  i1 
)    numberOfVerticesPerSurfacep[i0+numberOfVerticesPerSurfaceDim0*(i1)]
#define px (   i0,
  i1,
  i2,
  i3 
)    pxp[i0+pxDim0*(i1+pxDim1*(i2+pxDim2*(i3)))]
#define S (   i0,
  i1,
  i2,
  i3 
)    sp[i0+sDim0*(i1+sDim1*(i2+sDim2*(i3)))]
#define SISO (   i0,
  i1,
  i2,
  i3 
)    sIsop[i0+sIsoDim0*(i1+sIsoDim1*(i2+sIsoDim2*(i3)))]
#define U (   i0,
  i1,
  i2,
  c 
)    up[(i0)*d0+(i1)*d1+(i2)*d2+(c)*dc]
#define XSCALE (   x)    (psp.xScaleFactor*(x))
#define YSCALE (   y)    (psp.yScaleFactor*(y))
#define ZSCALE (   z)    (psp.zScaleFactor*(z))

Referenced by PlotIt::plot3dContours().

Function Documentation

void getNormal ( const realArray x,
const int  iv[3],
const int  axis,
real  normal[3],
const int &  recursion = TRUE 
)
void ISOSURF ( const int &  nTet,
real scalarFieldAtVertices,
const int &  leadingDimensionOfDAndPx,
const int &  numberOfDataComponents,
real dataAtVertices,
const int &  cornerIndex1,
const int &  cornerIndex2,
const int &  cornerIndex3,
const int &  numberOfContourLevels,
real contourLevels,
const int &  numberOfVertices,
real vertexList,
int &  ierr 
)