|
Overture
Version 25
|
#include <InterpolatePoints.h>
Public Types | |
| enum | InterpolationStatusEnum { notInterpolated =0, interpolated, extrapolated } |
| enum | { defaultNumberOfValidGhostPoints =-123456, interpolateAllGhostPoints =-234567 } |
Static Public Attributes | |
| static int | debug =0 |
| InterpolatePoints::InterpolatePoints | ( | ) |
| InterpolatePoints::~InterpolatePoints | ( | ) |
References indirection, interpolationCoordinates, interpolationLocation, and interpolationLocationPlus.
| int InterpolatePoints::buildInterpolationInfo | ( | const RealArray & | positionToInterpolate, |
| CompositeGrid & | cg, | ||
| RealArray * | projectedPoints = NULL, |
||
| IntegerArray * | checkTheseGrids = NULL |
||
| ) |
References abs(), bb, MappedGrid::boundaryCondition(), MappedGrid::boundingBox(), boundingBox, CanInterpolate::canInterpolate(), debug, defaultNumberOfValidGhostPoints, delta, dimension, DIMENSION, MappedGrid::dimension(), MappedGrid::discretizationWidth(), display(), DR, dr, DRA, End, extendedGridIndexRange(), extrapolated, fabs(), MappedGrid::getGridType(), MappingRC::getMapping(), MappingProjectionParameters::getRealArray(), MappedGrid::gridIndexRange(), gridIndexRange, gridSpacing, GRIDSPACING, MappedGrid::gridSpacing(), ia, IA, IA0, indexRange, INDEXRANGE, MappedGrid::indexRange(), indirection, infoLevel, interpolated, interpolationCoordinates, interpolationLocation, interpolationLocationPlus, interpolationOffset, Mapping::inverseMap(), Mapping::inverseMapS(), ip, IP, ip0, IP1, ip1, iRange, MappedGrid::isAllVertexCentered(), isPeriodic, MappedGrid::isPeriodic(), MappedGrid::mapping(), mask, MASK, MappedGrid::mask(), max(), min(), MODR, notInterpolated, NULL, Overture::nullRealDistributedArray(), GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), numberOfInterpolationPoints, NUMBEROFINTERPOLATIONPOINTS, numberOfValidGhostPoints, printF(), Mapping::project(), Mapping::projectS(), MappingProjectionParameters::r, R, RA, ra, rbb, REAL_EPSILON, RPROJECT, sPrintF(), Start, status, STATUS, MappedGrid::THEboundingBox, MappedGrid::THEcenter, MappedGrid::THEvertex, GenericGrid::unstructuredGrid, CompositeGrid::update(), X, x, XA, and XPROJECT.
Referenced by Integrate::computeStitchedSurfaceWeights(), Integrate::computeStitchedSurfaceWeightsOld(), PlotIt::contourCuts(), displayValuesAtAPoint(), SurfaceStitcher::enlargeGapWidth(), and interpolatePoints().
| int InterpolatePoints::getInterpolationInfo | ( | CompositeGrid & | cg, |
| IntegerArray & | indexValues, | ||
| IntegerArray & | interpoleeGrid | ||
| ) | const |
References assert, ia, IA, interpoleeGrid, ip, IP, and NULL.
Referenced by Integrate::computeStitchedSurfaceWeights(), Integrate::computeStitchedSurfaceWeightsOld(), displayValuesAtAPoint(), and interpolateExposedPoints().
| const IntegerArray & InterpolatePoints::getStatus | ( | ) | const |
References status.
Referenced by PlotIt::contourCuts(), displayValuesAtAPoint(), SurfaceStitcher::enlargeGapWidth(), and PlotIt::streamLines3d().
| int InterpolatePoints::interpolateAllPoints | ( | const realCompositeGridFunction & | uFrom, |
| realCompositeGridFunction & | uTo, | ||
| const Range & | componentsFrom = nullRange, |
||
| const Range & | componentsTo = nullRange, |
||
| const int | numberOfGhostPointsToInterpolate = interpolateAllGhostPoints |
||
| ) |
References doubleGridCollectionFunction::gridCollection, and GenericGridCollection::numberOfComponentGrids().
Referenced by interpolateAllPoints(), and main().
| int InterpolatePoints::interpolateAllPoints | ( | const realCompositeGridFunction & | uFrom, |
| realMappedGridFunction & | uTo, | ||
| const Range & | componentsFrom = nullRange, |
||
| const Range & | componentsTo = nullRange, |
||
| const int | numberOfGhostPointsToInterpolate = interpolateAllGhostPoints |
||
| ) |
References Overture::abort(), assert, MappedGrid::center(), CENTER, center, COORD0, COORD1, COORD2, MappedGrid::dimension(), dx, extendedGridIndexRange(), FOR_3D, doubleGridCollectionFunction::getComponentBase(), doubleMappedGridFunction::getComponentBase(), doubleGridCollectionFunction::getComponentBound(), doubleMappedGridFunction::getComponentBound(), getIndex(), getLocalArrayWithGhostBoundaries(), doubleMappedGridFunction::getMappedGrid(), MappedGrid::getRectangularGridParameters(), MappedGrid::gridIndexRange(), i2, ia, IA, interpolateAllGhostPoints, interpolatePoints(), MappedGrid::isRectangular(), mask, MASK, MappedGrid::mask(), max(), min(), nullRange, MappedGrid::numberOfDimensions(), doubleMappedGridFunction::periodicUpdate(), printF(), MappedGrid::THEcenter, MappedGrid::THEmask, U, uInterpolated, UINTERPOLATED, MappedGrid::update(), X, and x.
| int InterpolatePoints::interpolatePoints | ( | const realCompositeGridFunction & | u, |
| RealArray & | uInterpolated, | ||
| const Range & | R0 = nullRange, |
||
| const Range & | R1 = nullRange, |
||
| const Range & | R2 = nullRange, |
||
| const Range & | R3 = nullRange, |
||
| const Range & | R4 = nullRange |
||
| ) |
References Overture::abort(), DRA, doubleGridCollectionFunction::getComponentBase(), doubleGridCollectionFunction::getComponentBound(), doubleCompositeGridFunction::getCompositeGrid(), getLocalArrayWithGhostBoundaries(), gid, ia, IA, indirection, interpolationCoordinates, interpolationLocation, interpolationLocationPlus, ip, IP, IP1, ip1, GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), numberOfInterpolationPoints, UG, and UINTERPOLATED.
| int InterpolatePoints::interpolationCoefficients | ( | const CompositeGrid & | cg, |
| RealArray & | uInterpolationCoeff | ||
| ) |
References DRA, gid, ia, IA, indirection, interpolationCoordinates, interpolationLocation, interpolationLocationPlus, ip, ip1, GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), numberOfInterpolationPoints, and UINTERPOLATED.
Referenced by Integrate::computeStitchedSurfaceWeights(), and Integrate::computeStitchedSurfaceWeightsOld().
| int InterpolatePoints::setInfoLevel | ( | int | info | ) |
References infoLevel.
Referenced by SurfaceStitcher::enlargeGapWidth(), and main().
| int InterpolatePoints::setInterpolationOffset | ( | real | widthInGridLines | ) |
References interpolationOffset.
Referenced by PlotIt::contourCuts(), and SurfaceStitcher::enlargeGapWidth().
| int InterpolatePoints::setNumberOfValidGhostPoints | ( | int | numValidGhost = defaultNumberOfValidGhostPoints | ) |
: Set the number of valid ghost points
References numberOfValidGhostPoints.
|
static |
Referenced by buildInterpolationInfo().
|
protected |
|
protected |
Referenced by buildInterpolationInfo(), InterpolatePoints(), and setInfoLevel().
|
protected |
|
protected |
|
protected |
|
protected |
Referenced by buildInterpolationInfo(), InterpolatePoints(), and setInterpolationOffset().
|
protected |
Referenced by buildInterpolationInfo(), interpolatePoints(), and interpolationCoefficients().
|
protected |
Referenced by buildInterpolationInfo(), InterpolatePoints(), and setNumberOfValidGhostPoints().
|
protected |
Referenced by buildInterpolationInfo(), and getStatus().
1.8.3