Overture
Version 25
|
#include "Overture.h"
#include "Ogen.h"
#include "display.h"
#include "conversion.h"
#include "ParallelUtility.h"
Macros | |
#define | GET_LOCAL(type, xd, xs) type ## SerialArray & xs = xd |
#define | GET_LOCAL_CONST(type, xd, xs) const type ## SerialArray & xs = xd |
#define | FOR_3(i1, i2, i3, I1, I2, I3) I1Base=I1.getBase(); I2Base=I2.getBase(); I3Base=I3.getBase();I1Bound=I1.getBound(); I2Bound=I2.getBound(); I3Bound=I3.getBound();for( i3=I3Base; i3<=I3Bound; i3++ ) for( i2=I2Base; i2<=I2Bound; i2++ ) for( i1=I1Base; i1<=I1Bound; i1++ ) |
#define | FOR_3D(i1, i2, i3, I1, I2, I3) int I1Base,I2Base,I3Base;int I1Bound,I2Bound,I3Bound;I1Base=I1.getBase(); I2Base=I2.getBase(); I3Base=I3.getBase();I1Bound=I1.getBound(); I2Bound=I2.getBound(); I3Bound=I3.getBound();for( i3=I3Base; i3<=I3Bound; i3++ ) for( i2=I2Base; i2<=I2Bound; i2++ ) for( i1=I1Base; i1<=I1Bound; i1++ ) |
#define | holeMarker(axis) pHoleMarker[axis] |
#define | XV(iv, axis) (xab[0][axis]+dvx[axis]*(iv[axis]-iv0[axis])) |
#define | pxBoundary(side, axis, grid) (ppxBoundary[(side)+2*((axis)+numberOfDimensions*(grid))]) |
#define | xBoundary(side, axis, grid) (*pxBoundary(side,axis,grid)) |
#define | RB(i0, i1, i2, i3) rbp[i0+rbDim0*(i1+rbDim1*(i2+rbDim2*(i3)))] |
#define | XV(iv, axis) (xab[0][axis]+dvx[axis]*(iv[axis]-iv0[axis])) |
#define | R(i0, i1, i2, i3) rp[i0+rDim0*(i1+rDim1*(i2+rDim2*(i3)))] |
#define | RR(i0, i1) rrp[i0+rrDim0*(i1)] |
#define | X(i0, i1) xp[i0+xDim0*(i1)] |
#define | IA(i0, i1) iap[i0+iaDim0*(i1)] |
#define | XC2(iv, axis) (xab2[0][axis]+dvx2[axis]*(iv[axis]-iv20[axis])) |
#define | indexRange2(side, axis) pIndexRange2[(side)+2*(axis)] |
#define | extendedIndexRange2(side, axis) pExtendedIndexRange2[(side)+2*(axis)] |
#define | gridSpacing2(axis) pGridSpacing2[axis] |
#define | localIndexBounds2(side, axis) plocalIndexBounds2[(side)+2*(axis)] |
#define | XR(m, n) xra[n][m] |
#define | XC(iv, axis) (xab[0][axis]+dvx[axis]*(iv[axis]-iv0[axis])) |
#define extendedIndexRange2 | ( | side, | |
axis | |||
) | pExtendedIndexRange2[(side)+2*(axis)] |
Referenced by Ogen::cutHoles(), Ogen::cutHolesNew(), and Ogen::cutHolesNewer().
#define FOR_3 | ( | i1, | |
i2, | |||
i3, | |||
I1, | |||
I2, | |||
I3 | |||
) | I1Base=I1.getBase(); I2Base=I2.getBase(); I3Base=I3.getBase();I1Bound=I1.getBound(); I2Bound=I2.getBound(); I3Bound=I3.getBound();for( i3=I3Base; i3<=I3Bound; i3++ ) for( i2=I2Base; i2<=I2Bound; i2++ ) for( i1=I1Base; i1<=I1Bound; i1++ ) |
Referenced by Ogen::cutHolesNew().
#define FOR_3D | ( | i1, | |
i2, | |||
i3, | |||
I1, | |||
I2, | |||
I3 | |||
) | int I1Base,I2Base,I3Base;int I1Bound,I2Bound,I3Bound;I1Base=I1.getBase(); I2Base=I2.getBase(); I3Base=I3.getBase();I1Bound=I1.getBound(); I2Bound=I2.getBound(); I3Bound=I3.getBound();for( i3=I3Base; i3<=I3Bound; i3++ ) for( i2=I2Base; i2<=I2Bound; i2++ ) for( i1=I1Base; i1<=I1Bound; i1++ ) |
Referenced by Ogen::cutHolesNew().
#define GET_LOCAL | ( | type, | |
xd, | |||
xs | |||
) | type ## SerialArray & xs = xd |
Referenced by Ogen::cutHolesNew().
#define GET_LOCAL_CONST | ( | type, | |
xd, | |||
xs | |||
) | const type ## SerialArray & xs = xd |
Referenced by Ogen::cutHolesNew().
#define gridSpacing2 | ( | axis | ) | pGridSpacing2[axis] |
Referenced by Ogen::cutHolesNew(), Ogen::cutHolesNewer(), and Ogen::getHoleWidth().
#define holeMarker | ( | axis | ) | pHoleMarker[axis] |
Referenced by Ogen::cutHoles(), Ogen::cutHolesNew(), Ogen::cutHolesNewer(), and Ogen::getHoleWidth().
#define IA | ( | i0, | |
i1 | |||
) | iap[i0+iaDim0*(i1)] |
#define indexRange2 | ( | side, | |
axis | |||
) | pIndexRange2[(side)+2*(axis)] |
Referenced by Ogen::cutHoles(), Ogen::cutHolesNew(), Ogen::cutHolesNewer(), and Ogen::getHoleWidth().
#define localIndexBounds2 | ( | side, | |
axis | |||
) | plocalIndexBounds2[(side)+2*(axis)] |
Referenced by Ogen::cutHolesNew(), Ogen::cutHolesNewer(), and Ogen::getHoleWidth().
#define pxBoundary | ( | side, | |
axis, | |||
grid | |||
) | (ppxBoundary[(side)+2*((axis)+numberOfDimensions*(grid))]) |
Referenced by Ogen::cutHolesNew(), and Ogen::cutHolesNewer().
Referenced by __GeometricADTtraversor< dataT >__GeometricADTtraversor(), CompositeSurface::add(), Ogen::adjustBoundary(), Ogen::adjustBoundarySerial(), Ogen::adjustForNearbyBoundaries(), GridSmoother::applyBoundaryConditions(), RevolutionMapping::basicInverse(), AnnulusMapping::basicInverse(), TrimmedMapping::basicInverse(), RevolutionMapping::basicInverseS(), ReductionMapping::basicInverseS(), AnnulusMapping::basicInverseS(), DataPointMapping::basicInverseS(), Ogen::buildCutout(), Ogmg::buildExtraLevels(), Ogmg::buildExtraLevelsNew(), UnstructuredMapping::buildFromACompositeGrid(), UnstructuredMapping::buildFromACompositeSurface(), UnstructuredMapping::buildFromAMapping(), Ugen::buildHybridInterfaceMappings(), InterpolatePoints::buildInterpolationInfo(), InterpolatePointsOnAGrid::buildInterpolationInfo(), CompositeTopology::buildSubSurfaceTriangulation(), MappingBuilder::buildSurfacePatch(), UnstructuredMapping::buildUnstructuredGrid(), Ogen::changeParameters(), Ogen::checkCrossings(), ExposedPoints::checkForBetterQualityInterpolation(), Ogen::checkForOrphanPointsOnBoundaries(), Ogen::checkHoleCutting(), Ogen::checkInterpolationOnBoundaries(), Mapping::checkMapping(), checkOverlappingGrid(), Ogen::classifyPoints(), DerivedFunctions::computeDerivedFunctions(), doubleGridCollectionFunction::constructor(), intGridCollectionFunction::constructor(), floatGridCollectionFunction::constructor(), PlotIt::contour(), PlotIt::contour2d(), PlotIt::contour3d(), PlotIt::contourCuts(), Ogen::countCrossingsWithRealBoundary(), MappingsFromCAD::createCompositeCurve(), MappingsFromCAD::createCurveOnAParametricSurface(), Ogen::cutHoles(), Ogen::cutHolesNew(), Ogen::cutHolesNewer(), intMappedGridFunction::dataCopy(), doubleMappedGridFunction::dataCopy(), floatMappedGridFunction::dataCopy(), GridCollection::deleteGrid(), CompositeGrid::deleteGrid(), Oges::determineErrors(), IntersectionMapping::determineIntersection(), Ogen::determineMinimalIndexRange(), doubleGridCollectionFunction::dimensionName(), intGridCollectionFunction::dimensionName(), floatGridCollectionFunction::dimensionName(), divFDerivative(), doubleGridCollectionFunction::doubleGridCollectionFunction(), HyperbolicMapping::drawHyperbolicGrid(), NurbsMapping::elevateDegree(), equidistribute(), UnstructuredMapping::expandGhostBoundary(), Ogen::explicitHoleCutting(), Ogen::findBestGuess(), TrimmedMapping::findClosestCurve(), TrimmedMapping::findDistanceToACurve(), GenericMappedGridOperators::findInterpolationNeighbours(), Mapping::findNearestGridPoint(), InterpolatePointsOnAGrid::findNearestValidGridPoint(), findNearestValidGridPoint(), RotatedBox::fitBox(), SparseRepForMGF::fixUpClassify(), floatGridCollectionFunction::floatGridCollectionFunction(), HyperbolicMapping::formBlockTridiagonalSystem(), Oges::formRhsAndSolutionVectors(), FourierOperators::fourierDerivative(), Ogen::generateInterpolationArrays(), Ugen::generateWithAdvancingFront(), GeometricADT< dataT >initTree(), getAreaAndArcLength(), getBoundaryIndex(), Mapping::getBoundingBox(), PlotIt::getBounds(), Regrid::getBox(), getGhostIndex(), getIndex(), Ogmg::getInterpolationCoordinates(), Ogmg::getInterpolationCoordinatesNew(), Ogmg::getInterpolationCoordinatesNewOld(), doubleGridCollectionFunction::getName(), intGridCollectionFunction::getName(), floatGridCollectionFunction::getName(), CompositeSurface::getNormals(), Ugen::getUnstructuredMapping(), gradFDerivative(), Ogen::improveQuality(), ExposedPoints::initialize(), SplineMapping::initialize(), Interpolate::initializeCoefficients(), ReparameterizationTransform::initializeEquidistribution(), GeometricADT< dataT >::initTree(), ExposedPoints::interpolate(), Interpolant::interpolate(), NurbsMapping::interpolate(), Ogmg::interpolate(), Ogen::interpolateAll(), Interpolate::interpolateCoarseToFine(), interpolateExposedPoints(), Ogen::interpolateMixedBoundary(), interpolatePoints(), Ogen::interpolatePoints(), NurbsMapping::interpolateSurface(), NurbsMapping::interpolateVolume(), Mapping::intersects(), intGridCollectionFunction::intGridCollectionFunction(), ComposeMapping::inverseMap(), ComposeMapping::inverseMapS(), StretchMapping::inverseMapS(), Mapping::inverseMapS(), Ogen::lastChanceInterpolation(), doubleCompositeGridFunction::link(), floatCompositeGridFunction::link(), intCompositeGridFunction::link(), intGridCollectionFunction::link(), doubleGridCollectionFunction::link(), floatGridCollectionFunction::link(), main(), NormalMapping::map(), RevolutionMapping::map(), AnnulusMapping::map(), ComposeMapping::map(), HyperbolicMapping::map(), CrossSectionMapping::mapGeneral(), CrossSectionMapping::mapGeneralWithPolarSingularity(), TrimmedMapping::mapGrid(), Mapping::mapGrid(), Mapping::mapGridS(), NormalMapping::mapS(), RevolutionMapping::mapS(), ReductionMapping::mapS(), AnnulusMapping::mapS(), DataPointMapping::mapS(), ComposeMapping::mapS(), StretchMapping::mapS(), NurbsMapping::mapS(), HyperbolicMapping::mapS(), DataPointMapping::mapScalar(), NurbsMapping::mapVector(), NurbsMapping::merge(), Ogen::movingUpdate(), Ogen::movingUpdateNew(), IntersectionMapping::newtonIntersection(), GL_GraphicsInterface::normalizedToWorldCoordinates(), ogen(), CompositeSurface::oldProject(), intGridCollectionFunction::RCData::operator=(), doubleGridCollectionFunction::RCData::operator=(), floatGridCollectionFunction::RCData::operator=(), TridiagonalSolver::periodicTridiagonalSolve(), GL_GraphicsInterface::pickToWorldCoordinates(), PlotIt::plot(), Ogen::plot(), ErrorEstimator::plotErrorPoints(), Ogen::preInterpolateGrids(), IntersectionMapping::project(), CompositeSurface::project(), UnstructuredMapping::project(), HyperbolicMapping::project(), EllipticGridGenerator::projectBoundaryPoints(), DataPointMapping::projectGhostPoints(), Ogen::queryAPoint(), DataFormats::readCart3dTri(), MappingsFromCAD::readFiniteElements(), NurbsMapping::readFromIgesFile(), ParallelGridUtility::redistribute(), IntersectionMapping::reduce(), refineTriangulation(), Ogen::removeExteriorPoints(), Ogen::removeExteriorPointsNew(), IntersectionMapping::reOrder(), IntersectionMapping::reparameterize(), NurbsMapping::reparameterize(), MatrixMapping::rotate(), Ogshow::saveSolution(), TridiagonalSolver::scalarBlockPeriodicSolve(), TridiagonalSolver::scalarBlockSolve(), scaleNodes(), OGPolyFunction::setCoefficients(), DataPointMapping::setDataPoints(), Mapping::setGrid(), CompositeGrid::setHybridConnectivity(), GraphicsParameters::setMinAndMaxContourLevels(), doubleGridCollectionFunction::setName(), intGridCollectionFunction::setName(), floatGridCollectionFunction::setName(), UnstructuredMapping::setNodesAndConnectivity(), UnstructuredMapping::setNodesElementsAndNeighbours(), SplineMapping::setPoints(), Oges::solve(), UnstructuredMapping::specifyEntity(), Oges::storeSolutionIntoGridFunction(), PlotIt::streamLines3d(), TrimmedMapping::triangulate(), CompositeTopology::triangulateCompositeSurface(), TridiagonalSolver::tridiagonalSolve(), unScaleNodes(), RocketMapping::update(), StretchTransform::update(), GridStretcher::update(), StretchMapping::update(), SplineMapping::update(), TrimmedMapping::update(), UnstructuredMapping::update(), NurbsMapping::update(), Ogen::updateBoundaryAdjustment(), doubleCompositeGridFunction::updateCollections(), floatCompositeGridFunction::updateCollections(), intCompositeGridFunction::updateCollections(), floatGridCollectionFunction::updateCollections(), doubleGridCollectionFunction::updateCollections(), intGridCollectionFunction::updateCollections(), Ogen::updateRefinement(), Ogen::updateRefinementNew(), Ogen::updateRefinementNewer(), floatGridCollectionFunction::updateToMatchComponentGrids(), doubleGridCollectionFunction::updateToMatchComponentGrids(), intGridCollectionFunction::updateToMatchComponentGrids(), OgmgParameters::updateToMatchGrid(), intGridCollectionFunction::updateToMatchGrid(), floatGridCollectionFunction::updateToMatchGrid(), doubleGridCollectionFunction::updateToMatchGrid(), doubleGridCollectionFunction::updateToMatchGridFunction(), floatGridCollectionFunction::updateToMatchGridFunction(), intGridCollectionFunction::updateToMatchGridFunction(), vorticityFDerivative(), GL_GraphicsInterface::worldToNormalizedCoordinates(), and DataFormats::writePlot3d().
#define RR | ( | i0, | |
i1 | |||
) | rrp[i0+rrDim0*(i1)] |
Referenced by CompositeTopology::buildSubSurfaceTriangulation(), and NurbsMapping::mapS().
#define X | ( | i0, | |
i1 | |||
) | xp[i0+xDim0*(i1)] |
#define xBoundary | ( | side, | |
axis, | |||
grid | |||
) | (*pxBoundary(side,axis,grid)) |
Referenced by Ogen::cutHolesNew(), and Ogen::cutHolesNewer().
#define XC | ( | iv, | |
axis | |||
) | (xab[0][axis]+dvx[axis]*(iv[axis]-iv0[axis])) |
#define XC2 | ( | iv, | |
axis | |||
) | (xab2[0][axis]+dvx2[axis]*(iv[axis]-iv20[axis])) |
#define XR | ( | m, | |
n | |||
) | xra[n][m] |
#define XV | ( | iv, | |
axis | |||
) | (xab[0][axis]+dvx[axis]*(iv[axis]-iv0[axis])) |
#define XV | ( | iv, | |
axis | |||
) | (xab[0][axis]+dvx[axis]*(iv[axis]-iv0[axis])) |