Overture
Version 25
|
#include <Ogen.h>
Static Public Member Functions | |
static bool | canDiscretize (MappedGrid &g, const int iv[3], bool checkOneSidedAtBoundaries=true) |
static int | checkParallelGhostWidth (CompositeGrid &cg) |
Check that there are enough parallel ghost lines for ogen. | |
static int | checkUpdateRefinement (GridCollection &gc) |
static int | displayCompositeGridParameters (CompositeGrid &cg, FILE *file=stdout) |
Output composite grid parameters such as discretization width, interpolation width etc. | |
static int | saveGridToAFile (CompositeGrid &cg, aString &gridFileName, aString &gridName) |
static int | checkCanInterpolate (CompositeGrid &cg, int grid, int donor, int numberToCheck, RealArray &r, IntegerArray &interpolates, IntegerArray &useBackupRules) |
static int | checkCanInterpolate (CompositeGrid &cg, int grid, int donor, RealArray &r, IntegerArray &interpolates, IntegerArray &useBackupRules) |
Public Attributes | |
int | debug |
int | info |
bool | useNewMovingUpdate |
int | isMovingGridProblem |
int | defaultInterpolationIsImplicit |
int | myid |
int | defaultNumberOfGhostPoints |
bool | loadBalanceGrids |
bool | doubleCheckInterpolation |
Protected Types | |
enum | { THEinverseMap = CompositeGrid::THEinverseMap, THEmask = CompositeGrid::THEmask, resetTheGrid =123456789, ISnonCuttingBoundaryPoint =MappedGrid::ISreservedBit1 } |
Protected Member Functions | |
int | buildBounds (CompositeGrid &cg) |
int | buildCutout (CompositeGrid &cg, MappingInformation &cutMapInfo) |
int | chooseASide (MappedGrid &mg, int &side, int &axis) |
Ogen utility function: Choose a side of a grid. | |
bool | interpolateAPoint (CompositeGrid &cg, int grid, int iv[3], bool interpolatePoint, bool checkInterpolationCoords, bool checkBoundaryPoint, int infoLevel) |
Try to interpolate a point If interpolatePoint==true then attempt to interpolate the point. Return true if the point was interpolated. | |
int | interpolatePoints (CompositeGrid &cg, int grid, int numberToInterpolate, const IntegerArray &ia, IntegerArray &interpolates) |
Attempt to interpolate a list of points. For points that could interpolate the interpolation data mask, inverseGrid and inverseCoordinates are changed. | |
int | interpolateMixedBoundary (CompositeGrid &cg, int mixedBoundaryNumber) |
int | interpolateMixedBoundary (CompositeGrid &cg, int mixedBoundaryNumber, int side, int axis, int grid, MappedGrid &g, int grid2, MappedGrid &g2, int offset[3], real rScale[3], real rOffset[3]) |
int | checkInterpolationOnBoundaries (CompositeGrid &cg) |
int | classifyPoints (CompositeGrid &cg, realSerialArray &invalidPoint, int &numberOfInvalidPoints, const int &level, CompositeGrid &cg0) |
int | classifyRedundantPoints (CompositeGrid &cg, const int &grid, const int &level, CompositeGrid &cg0) |
int | computeOverlap (CompositeGrid &cg, CompositeGrid &cgOld, const int &level=0, const bool &movingGrids=FALSE, const IntegerArray &hasMoved=Overture::nullIntArray()) |
int | checkForOrphanPointsOnBoundaries (CompositeGrid &cg) |
int | cutHoles (CompositeGrid &cg) |
int | cutHolesNew (CompositeGrid &cg) |
int | cutHolesNewer (CompositeGrid &cg) |
int | explicitHoleCutting (CompositeGrid &cg) |
Cut holes with user defined explicit hole cutters. | |
int | getHoleWidth (CompositeGrid &cg, MappedGrid &g2, int pHoleMarker[3], IntegerArray &holeCenter, IntegerArray &holeMask, IntegerArray &holeWidth, RealArray &r, RealArray &x, const int *pIndexRange2, const int *pExtendedIndexRange2, const int *plocalIndexBounds2, int iv[3], int jv[3], int jpv[3], bool isPeriodic2[3], bool isPeriodic2p[3], const Index Iv[3], const int &grid, const int &grid2, int &ib, int &ib2, int &skipThisPoint, int &initialPoint, const int &numberOfDimensions, const int &axisp1, const int &axisp2, const real &cellCenterOffset, const int &maximumHoleWidth, int &numberOfHoleWidthWarnings) |
int | countCrossingsWithRealBoundary (CompositeGrid &cg, const realArray &x, IntegerArray &crossings) |
int | findTrueBoundary (CompositeGrid &cg) |
int | interpolateAll (CompositeGrid &cg, IntegerArray &numberOfInterpolationPoints, CompositeGrid &cg0) |
bool | isNeededForDiscretization (MappedGrid &g, const int iv[3]) |
bool | isOnInterpolationBoundary (MappedGrid &g, const int iv[3], const int &width=1) |
bool | isNeededForMultigridRestriction (CompositeGrid &c, const int &grid, const int &l, const int iv[3]) |
real | computeInterpolationQuality (CompositeGrid &cg, const int &grid, const int &i1, const int &i2, const int &i3, real &qForward, real &qReverse) |
int | markMaskAtGhost (CompositeGrid &cg) |
int | markPointsNeededForInterpolation (CompositeGrid &cg, const int &grid, const int &lowerOrUpper=-1) |
int | markPointsNeededForInterpolationNew (CompositeGrid &cg, const int &grid, const int &lowerOrUpper=-1) |
int | markPointsReallyNeededForInterpolation (CompositeGrid &cg) |
int | improveQuality (CompositeGrid &cg, const int &grid, RealArray &removedPointBound) |
int | updateCanInterpolate (CompositeGrid &cg, CompositeGrid &cg0, RealArray &removedPointBound) |
int | plot (const aString &title, CompositeGrid &cg, const int &queryForChanges=TRUE) |
int | projectToParameterBoundary (const real rv0[3], const real rv1[3], real rv[3], const int numberOfDimensions, const int grid) |
int | projectToBoundary (CompositeGrid &cg, const int &grid, const realArray &r, const int iv[3], const int ivp[3], real rv[3]) |
int | queryAPoint (CompositeGrid &cg) |
int | removeExteriorPoints (CompositeGrid &cg, const bool boundariesHaveCutHoles=FALSE) |
int | removeExteriorPointsNew (CompositeGrid &cg, const bool boundariesHaveCutHoles=FALSE) |
int | sweepOutHolePoints (CompositeGrid &cg) |
int | unmarkBoundaryInterpolationPoints (CompositeGrid &cg, const int &grid) |
int | unmarkInterpolationPoints (CompositeGrid &cg, const bool &unMarkAll=FALSE) |
int | updateGeometry (CompositeGrid &cg, CompositeGrid &cgOld, const bool &movingGrids=FALSE, const IntegerArray &hasMoved=Overture::nullIntArray()) |
int | adjustBoundary (CompositeGrid &cg, const Integer &k1, const Integer &k2, const intSerialArray &i1, const realSerialArray &x) |
int | adjustBoundarySerial (CompositeGrid &cg, const Integer &k1, const Integer &k2, const intSerialArray &i1, const realSerialArray &x) |
int | oppositeBoundaryIndex (MappedGrid &g, const int &ks, const int &kd) |
int | adjustForNearbyBoundaries (CompositeGrid &cg, IntegerArray &numberOfInterpolationPoints, intSerialArray *iInterp) |
int | determineBoundaryPointsToAdjust (CompositeGrid &cg, const int grid, const int grid2, IntegerArray &sidesShare, const int ks1, const int kd1, const int ks2, const int kd2, BoundaryAdjustment &bA, bool &first, bool &needAdjustment, int numberOfDirectionsAdjusted, bool &directionAdjusted, bool &wasAdjusted, Range &R, IntegerArray &ia, IntegerArray &ok, const int it, real shareTol[3][2], RealArray &r, RealArray &r2, RealArray &r3, RealArray &rOk, RealArray &xx, RealArray &x2, RealArray &x3) |
Determine the points to adjust on a shared boundary when interpolating points from grid side (ks1,kd1) | |
int | checkBoundaryAdjustment (CompositeGrid &cg, const int grid, const int grid2, const int ks1, const int kd1, BoundaryAdjustment &bA, int numberOfDirectionsAdjusted, Range &R, IntegerArray &ia, IntegerArray &ok, RealArray &r, RealArray &r2, RealArray &r3, RealArray &rOk, RealArray &xx, RealArray &x2, RealArray &x3) |
Check the boundary adjustment for debugging purposes. | |
int | checkForBoundaryAdjustments (CompositeGrid &cg, int k1, int k2, IntegerArray &sidesShare, bool &needAdjustment, int manualSharedBoundaryNumber[2][3]) |
int | getAdjustmentVectors (CompositeGrid &cg, BoundaryAdjustment &bA, int grid, int grid2, bool &needAdjustment, int numberOfPoints, int it, int ks1, int kd1, int ks2, int kd2, Index Iv[3], RealArray &x1) |
bool | canInterpolate (CompositeGrid &cg, const Integer &k10, const Integer &k20, const RealArray &r, const LogicalArray &ok, const LogicalArray &useBackupRules, const Logical checkForOneSided) |
int | checkCrossings (CompositeGrid &cg, const int &numToCheck, const IntegerArray &ia, intArray &mask, realArray &x, realArray &vertex, IntegerArray &crossings, const Range &Rx, const int &usedPoint) |
int | checkHoleCutting (CompositeGrid &cg) |
int | computeInterpolationStencil (CompositeGrid &cg, const int &grid, const int &gridI, const real r[3], int stencil[3][2], bool useOneSidedAtBoundaries=true, bool useOddInterpolationWidth=false) |
int | conformToCmpgrd (CompositeGrid &cg) |
int | determineMinimalIndexRange (CompositeGrid &cg) |
int | estimateSharedBoundaryTolerance (CompositeGrid &cg) |
int | findBestGuess (CompositeGrid &cg, const int &grid, const int &numberToCheck, intSerialArray &ia, realSerialArray &x, realSerialArray &r, realSerialArray &rI, intSerialArray &inverseGrid, const realSerialArray ¢er) |
int | findClosestBoundaryPoint (MappedGrid &mg, real *x, int *iv, int *ivb, int &sideb, int &axisb) |
Find the closest boundary point – use x-distance! | |
int | generateInterpolationArrays (CompositeGrid &cg, const IntegerArray &numberOfInterpolationPoints, intSerialArray *iInterp) |
int | initialize () |
int | lastChanceInterpolation (CompositeGrid &cg, CompositeGrid &cg0, const int &grid, const IntegerArray &ia, const IntegerArray &ok, intSerialArray &interpolates, int &numberOfInvalidPoints, realSerialArray &invalidPoint, const int &printDiagnosticMessages=false, const bool &tryBackupRules=false, const bool saveInvalidPoints=true, int lastChanceOption=0) |
This routine is called for points that could not be interpolated when perhaps they should be able to. | |
int | movingUpdate (CompositeGrid &cg, CompositeGrid &cgOld, const LogicalArray &hasMoved, const MovingGridOption &option=useOptimalAlgorithm) |
int | movingUpdateNew (CompositeGrid &cg, CompositeGrid &cgOld, const LogicalArray &hasMoved, const MovingGridOption &option=useOptimalAlgorithm) |
The new moving grid generator (parallel version) | |
int | preInterpolateGrids (CompositeGrid &cg) |
int | setGridParameters (CompositeGrid &cg) |
bool | sidesShareBoundary (CompositeGrid &cg, int grid1, int side1, int dir1, int grid2, int side2, int dir2) const |
return true if grid1 face=(side1,dir1) shares a boundary with grid2 face=(side2,dir2) | |
void | getSharedBoundaryTolerances (CompositeGrid &cg, int grid1, int side1, int dir1, int grid2, int side2, int dir2, real &rTol, real &xTol, real &nTol) const |
int | updateBoundaryAdjustment (CompositeGrid &cg, const int &grid, const int &grid2, intSerialArray *iag, realSerialArray *rg, realSerialArray *xg, IntegerArray &sidesShare) |
int | getNormal (const int &numberOfDimensions, const int &side, const int &axis, const RealArray &xr, real signForJacobian, RealArray &normal) |
int | markOffAxisRefinementMask (int numberOfDimensions, Index Ivr[3], Index Ivb[3], int rf[3], intSerialArray &mask, const intSerialArray &maskb) |
int | setRefinementMaskFace (intSerialArray &mask, int side, int axis, int numberOfDimensions, int rf[3], Index &I1r, Index &I2r, Index &I3r, const intSerialArray &mask00, const intSerialArray &mask10, const intSerialArray &mask01, const intSerialArray &mask11) |
int | checkRefinementInterpolation (CompositeGrid &cg) |
int | checkRefinementInterpolationNew (CompositeGrid &cg) |
Ogen::Ogen | ( | ) |
References initialize().
Ogen::Ogen | ( | GenericGraphicsInterface & | ps | ) |
References initialize(), and ps.
Ogen::~Ogen | ( | ) |
References checkFile, holeCutters, logFile, NULL, and plogFile.
|
protected |
References Overture::abort(), BoundaryAdjustment::acrossGrid(), adjustBoundarySerial(), AG, assert, BA, BoundaryAdjustment::boundaryAdjustment(), CompositeGridData::boundaryAdjustment, BoundaryAdjustment::computedGeometry, debug, getLocalArrayWithGhostBoundaries(), TrivialArray< Type, Dim >::getNumberOfElements(), ParallelUtility::getSum(), gridIndexRange, BoundaryAdjustment::hasSharedSides(), i2, ia, IP, mask, max(), MPI_Real, myid, NULL, GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), OB, BoundaryAdjustment::oppositeBoundary(), oppositeBoundaryIndex(), Overture::OV_COMM, plogFile, printF(), q, r, R, rBound, CompositeGrid::rcData, BoundaryAdjustment::share, THEinverseMap, THEmask, X, and X0.
Referenced by classifyPoints(), cutHoles(), cutHolesNew(), cutHolesNewer(), determineBoundaryPointsToAdjust(), interpolateAll(), interpolateAPoint(), interpolatePoints(), lastChanceInterpolation(), movingUpdate(), movingUpdateNew(), preInterpolateGrids(), updateBoundaryAdjustment(), and updateCanInterpolate().
|
protected |
References Overture::abort(), BoundaryAdjustment::acrossGrid(), AG, assert, BA, BoundaryAdjustment::boundaryAdjustment(), CompositeGridData::boundaryAdjustment, BoundaryAdjustment::computedGeometry, debug, TrivialArray< Type, Dim >::getNumberOfElements(), gridIndexRange, BoundaryAdjustment::hasSharedSides(), i2, IP, GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), OB, BoundaryAdjustment::oppositeBoundary(), oppositeBoundaryIndex(), plogFile, printF(), R, rBound, CompositeGrid::rcData, BoundaryAdjustment::share, THEinverseMap, THEmask, X, and X0.
Referenced by adjustBoundary().
|
protected |
References abs(), assert, MappedGrid::boundaryCondition(), MappedGrid::boundaryDiscretizationWidth(), boundaryEps, MappedGrid::center(), center, End, fabs(), getBoundaryIndex(), getGhostIndex(), MappedGrid::getRectangularGridParameters(), MappedGrid::gridIndexRange(), i2, ia, MappedGrid::indexRange(), CompositeGrid::inverseCoordinates, CompositeGrid::inverseGrid, Mapping::inverseMap(), MappedGrid::isAllCellCentered(), GridCollection::ISinterpolationPoint, MappedGrid::isRectangular(), mask, MappedGrid::mask(), max(), min(), GenericGridCollection::numberOfBaseGrids(), GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), MappedGrid::numberOfDimensions(), printF(), r, R, rBound, Start, x, and XC.
Referenced by classifyPoints().
int Ogen::buildACompositeGrid | ( | CompositeGrid & | cg, |
MappingInformation & | mapInfo, | ||
const IntegerArray & | mapList, | ||
const int & | numberOfMultigridLevels = 1 , |
||
const bool | useAnOldGrid = FALSE |
||
) |
References Overture::abort(), CompositeGrid::addMultigridCoarsening(), LoadBalancer::assignWorkLoads(), CompositeGridData::boundaryAdjustment, c, GenericGridCollection::COMPUTEnothing, debug, ReferenceCounting::decrementReferenceCount(), defaultInterpolationIsImplicit, defaultNumberOfGhostPoints, LoadBalancer::determineLoadBalance(), display(), GridCollection::displayDistribution(), getCPU(), MappingRC::getMapping(), ParallelUtility::getMaxValue(), ParallelUtility::getMinValue(), GenericGridCollectionData::gridDistributionList, MappedGrid::gridIndexRange(), ReferenceCounting::incrementReferenceCount(), info, CompositeGrid::interpolationCoordinates, CompositeGrid::interpolationIsImplicit, CompositeGrid::interpolationOverlap, CompositeGrid::interpolationPoint, CompositeGrid::interpolationPreference, CompositeGrid::interpolationWidth, CompositeGrid::interpoleeGrid, CompositeGrid::interpoleeLocation, loadBalanceGrids, LogicalTrue, MappedGrid::mapping(), MappingInformation::mappingList, CompositeGrid::maximumHoleCuttingDistance, CompositeGrid::mayCutHoles, CompositeGrid::mayInterpolate, CompositeGrid::multigridCoarseningRatio, CompositeGrid::multigridLevel, CompositeGrid::multigridProlongationWidth, CompositeGrid::multigridRestrictionWidth, myid, NULL, nullRange, GenericGridCollection::numberOfBaseGrids(), CompositeGrid::numberOfCompleteMultigridLevels(), GenericGridCollection::numberOfComponentGrids(), CompositeGrid::numberOfInterpolationPoints, GenericGridCollection::numberOfMultigridLevels(), printF(), CompositeGrid::rcData, REAL_MAX, TrivialArray< Type, Dim >::redim(), MappedGrid::reference(), MappedGrid::setNumberOfGhostPoints(), MappedGrid::setSharedBoundaryTolerance(), CompositeGrid::sharedSidesMayCutHoles, CompositeGrid::specifyProcesses(), SQRT, CompositeGrid::THEinterpolationCoordinates, CompositeGrid::THEinterpolationPoint, CompositeGrid::THEinterpoleeGrid, CompositeGrid::THEinterpoleeLocation, GenericGridCollection::THEmultigridLevel, CompositeGrid::update(), and useAnOldGrid.
Referenced by main(), plot3dToOverture(), and showFileFromDataFile().
|
protected |
References axis1, axis2, boundaryEps, debug, End, CompositeGrid::epsilon(), MappedGrid::extendedIndexRange(), MappedGrid::gridSpacing(), MappedGrid::indexRange(), logFile, GenericGridCollection::numberOfBaseGrids(), GenericGridCollection::numberOfComponentGrids(), rBound, and Start.
Referenced by updateGeometry(), and updateOverlap().
|
protected |
References Overture::abort(), Mapping::approximateGlobalInverse, axis1, axis2, axis3, MappedGrid::boundingBox(), boundingBox, MappedGrid::center(), center, End, extendedGridIndexRange(), getCPU(), getIndex(), MappingRC::getMapping(), Mapping::getName(), holePoint, i2, ia, info, Mapping::intersects(), MappedGrid::mapping(), MappingInformation::mappingList, Mapping::mappingName, mask, MappedGrid::mask(), GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), numberOfHolePoints, R, Start, MappedGrid::THEboundingBox, TRUE, MappedGrid::update(), and x.
|
static |
References axis1, axis2, axis3, boundaryCondition, MappedGrid::boundaryCondition(), boundaryDiscretizationWidth, MappedGrid::boundaryDiscretizationWidth(), discretizationWidth, MappedGrid::discretizationWidth(), extendedIndexRange, MappedGrid::extendedIndexRange(), GET_LOCAL, iab, isPeriodic, MappedGrid::isPeriodic(), MappedGrid::ISusedPoint, mask, MappedGrid::mask(), and MappedGrid::numberOfDimensions().
Referenced by Ogmg::buildExtraLevels(), Ogmg::buildExtraLevelsNew(), checkOverlappingGrid(), classifyRedundantPoints(), lastChanceInterpolation(), movingUpdate(), movingUpdateNew(), unmarkBoundaryInterpolationPoints(), unmarkInterpolationPoints(), and updateCanInterpolate().
|
protected |
int Ogen::changeParameters | ( | CompositeGrid & | cg, |
MappingInformation * | mapInfo = NULL |
||
) |
Change Ogen parameters. (input) : pointer to the list of mappings (used to define explicit hole cutters)
References ListOfMappingRC::addElement(), DialogData::addInfoLabel(), allowBackupRules, GenericGraphicsInterface::appendToTheDefaultPrompt(), assert, aString, MappedGrid::boundaryCondition(), buff, GenericGraphicsInterface::buildCascadingMenu(), GUIState::buildPopup(), c, CompositeGrid::changeToAllCellCentered(), CompositeGrid::changeToAllVertexCentered(), checkParallelGhostWidth(), chooseASide(), classifyHolesForHybrid, debug, MappedGrid::dimension(), MappedGrid::discretizationWidth(), display(), displayCompositeGridParameters(), CompositeGrid::domain, domainName, GenericGridCollection::domainNumber, End, extendedGridIndexRange(), geometryNeedsUpdating, GenericGraphicsInterface::getAnswer(), getBoundaryIndex(), GenericGridCollection::getDomainName(), ListOfMappingRC::getLength(), GenericGraphicsInterface::getMenuItem(), MappingRC::getName(), MappedGrid::getName(), MappedGrid::gridIndexRange(), gridIndexRange, holeCutters, holeCuttingOption, improveQualityOfInterpolation, GenericGraphicsInterface::inputString(), interpolateMixedBoundary(), CompositeGrid::interpolationIsImplicit, CompositeGrid::interpolationWidth, manualHole, manualSharedBoundary, manualSharedBoundaryValue, MappedGrid::mapping(), MappingInformation::mappingList, Mapping::mappingName, max(), maximumAngleDifferenceForNormalsOnSharedBoundaries, CompositeGrid::maximumHoleCuttingDistance, maximumNumberOfPointsToInvertAtOneTime, CompositeGrid::mayCutHoles, CompositeGrid::mayInterpolate, min(), minimizeTheOverlap, mixedBoundary, mixedBoundaryValue, MappedGridData::mixedPhysicalInterpolationBoundary, myid, nonCuttingBoundaryPoints, NULL, GenericGridCollection::numberOfBaseGrids(), GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), MappedGrid::numberOfDimensions(), GenericGridCollectionData::numberOfDomains, GenericGridCollection::numberOfDomains(), numberOfManualHoles, numberOfManualSharedBoundaries, numberOfMixedBoundaries, GenericGridCollection::numberOfMultigridLevels(), numberOfNonCuttingBoundaries, numberOfSharedBoundaryTolerances, GenericGraphicsInterface::outputString(), OV_ABORT, plot(), GenericGraphicsInterface::popGUI(), preInterpolate, printF(), ps, GenericGraphicsInterface::pushGUI(), qualityBound, R, REAL_EPSILON, REAL_MAX, RI, MappedGrid::setBoundaryCondition(), MappedGrid::setBoundaryFlag(), GenericGridCollection::setDomainName(), DialogData::setExitCommand(), DialogData::setPushButtons(), DialogData::setWindowTitle(), share, sharedBoundaryTolerances, sharedBoundaryTolerancesValue, CompositeGrid::sharedSidesMayCutHoles, sPrintF(), sScanF(), Start, GenericGraphicsInterface::stopReadingCommandFile(), GenericGridCollection::THEdomain, twoPi, GenericGraphicsInterface::unAppendTheDefaultPrompt(), CompositeGrid::update(), updateGeometry(), updateParameters(), useBoundaryAdjustment, useLocalBoundingBoxes, and MappingRC::useRobustInverse().
|
protected |
Check the boundary adjustment for debugging purposes.
References axis1, axis2, axis3, BoundaryAdjustment::boundaryAdjustment(), debug, fabs(), max(), min(), GridCollection::numberOfDimensions(), plogFile, and r.
Referenced by updateBoundaryAdjustment().
|
static |
References CanInterpolate::canInterpolate(), CanInterpolate::CanInterpolateQueryData::id, CompositeGrid::interpolationWidth, max(), GridCollection::numberOfDimensions(), and r.
Referenced by checkCanInterpolate(), checkOverlappingGrid(), classifyPoints(), interpolateAll(), interpolateAPoint(), interpolatePoints(), lastChanceInterpolation(), and movingUpdateNew().
|
static |
References checkCanInterpolate().
|
protected |
References countCrossingsWithRealBoundary(), holePoint, GridCollection::numberOfDimensions(), numberOfHolePoints, and R.
Referenced by removeExteriorPoints().
|
protected |
References BoundaryAdjustment::acrossGrid(), GenericGridCollection::baseGridNumber, BoundaryAdjustment::boundaryAdjustment(), CompositeGridData::boundaryAdjustment, MappedGrid::boundaryCondition(), BoundaryAdjustment::computedGeometry, BoundaryAdjustment::create(), BoundaryAdjustment::destroy(), MappedGrid::dimension(), BoundaryAdjustment::doNotShare, GET_LOCAL_CONST, TrivialArray< Type, Dim >::getBase(), TrivialArray< Type, Dim >::getBound(), getIndex(), ParallelUtility::getLocalArrayBounds(), MappedGrid::gridIndexRange(), BoundaryAdjustment::hasSharedSides(), LogicalTrue, manualSharedBoundary, MappedGrid::mask(), mask1, CompositeGrid::mayInterpolate, myid, GenericGridCollection::numberOfBaseGrids(), GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), numberOfManualSharedBoundaries, BoundaryAdjustment::oppositeBoundary(), CompositeGrid::rcData, TrivialArray< Type, Dim >::redim(), MappedGrid::sharedBoundaryFlag(), BoundaryAdjustment::sidesShare(), THEinverseMap, and BoundaryAdjustment::unknown.
Referenced by updateBoundaryAdjustment().
|
protected |
References axis1, MappedGrid::boundaryCondition(), MappedGrid::center(), center, End, MappedGrid::extendedIndexRange(), getBoundaryIndex(), MappingRC::getName(), i2, info, MappedGrid::ISdiscretizationPoint, MappedGrid::ISinterpolationPoint, MappedGrid::mapping(), Mapping::mappingName, mask, MappedGrid::mask(), GenericGridCollection::numberOfBaseGrids(), GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), numberOfOrphanPoints, orphanPoint, R, and Start.
|
protected |
References MappedGrid::center(), center, debug, dimension, MappedGrid::dimension(), displayMask(), eir, MappedGrid::extendedIndexRange(), GET_LOCAL, getCPU(), getIndex(), ParallelUtility::getLocalArrayBounds(), getLocalArrayWithGhostBoundaries(), MappedGrid::getName(), MappedGrid::getRectangularGridParameters(), ParallelUtility::getSum(), MappedGrid::gridIndexRange(), i2, ia, info, interpolateAPoint(), interpolatePoints(), CompositeGrid::inverseCoordinates, CompositeGrid::inverseGrid, MappedGrid::isAllCellCentered(), MappedGrid::isRectangular(), logFile, MASK, MappedGrid::mask(), max(), min(), GenericGridCollection::numberOfBaseGrids(), GridCollection::numberOfDimensions(), GenericGridCollection::numberOfGrids(), numberOfOrphanPoints, orphanPoint, plogFile, printF(), R, sPrintF(), timeCheckHoleCutting, MappedGrid::USESbackupRules, and XC.
Referenced by cutHoles(), cutHolesNew(), and cutHolesNewer().
|
protected |
References Overture::abort(), axis1, axis2, axis3, MappedGrid::boundaryCondition(), boundaryEps, MappedGrid::boundingBox(), boundingBox, buff, canInterpolate(), MappedGrid::center(), center, checkArrayIDs(), Overture::checkMemoryUsage(), GenericGridCollection::COMPUTEnothing, debug, delta, displayMask(), End, estimateSharedBoundaryTolerance(), extendedGridIndexRange(), MappedGrid::extendedIndexRange(), fabs(), FOR_3D, fPrintF(), GET_LOCAL, getBoundaryIndex(), getCPU(), ParallelUtility::getLocalArrayBounds(), getLocalArrayWithGhostBoundaries(), MappingRC::getMapping(), ParallelUtility::getMaxValue(), MappingRC::getName(), Mapping::getName(), MappedGrid::getName(), getNormal(), MappedGrid::getRectangularGridParameters(), Mapping::getSignForJacobian(), Mapping::getTypeOfCoordinateSingularity(), MappedGrid::gridIndexRange(), MappedGrid::gridSpacing(), i2, ia, info, interpolateMixedBoundary(), CompositeGrid::interpolationCoordinates, CompositeGrid::interpolationPoint, CompositeGrid::interpoleeGrid, Mapping::intersects(), CompositeGrid::inverseCoordinates, CompositeGrid::inverseGrid, Mapping::inverseMap(), Mapping::inverseMapS(), ip, ip1, MappedGrid::isAllCellCentered(), MappedGrid::isAllVertexCentered(), MappedGrid::ISinteriorBoundaryPoint, MappedGrid::ISinterpolationPoint, isNew, ISnonCuttingBoundaryPoint, MappedGrid::isPeriodic(), MappedGrid::isRectangular(), logFile, manualSharedBoundary, Mapping::map(), MappedGrid::mapping(), Mapping::mappingName, Mapping::mapS(), mask, MappedGrid::mask(), max(), maximumAngleDifferenceForNormalsOnSharedBoundaries, CompositeGrid::mayCutHoles, CompositeGrid::mayInterpolate, mixedBoundary, normal, nullRange, Overture::nullRealArray(), Overture::nullRealDistributedArray(), GenericGridCollection::numberOfBaseGrids(), GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), MappedGrid::numberOfDimensions(), CompositeGrid::numberOfInterpolationPoints, numberOfManualSharedBoundaries, numberOfMixedBoundaries, plogFile, Mapping::polarSingularity, preInterpolateGrids(), printF(), r, R, rBound, rBound2, MappedGrid::sharedBoundaryFlag(), MappedGrid::sharedBoundaryTolerance(), sPrintF(), Start, CompositeGrid::THEinterpolationCoordinates, CompositeGrid::THEinterpolationPoint, CompositeGrid::THEinterpoleeGrid, CompositeGrid::THEinterpoleeLocation, timeInterpolateBoundaries, timePreInterpolate, totalTime, CompositeGrid::update(), updateBoundaryAdjustment(), useBoundaryAdjustment, MappedGrid::vertex(), MappedGrid::vertexBoundaryNormal(), MappedGrid::vertexBoundaryNormalArray(), warnForSharedSides, x, XC, XV, XV0, XV1, and XV2.
Referenced by computeOverlap().
|
static |
Check that there are enough parallel ghost lines for ogen.
For implicit interpolation we need (iw-1)/2 ghost lines. For explicit interpolation we need (iw+dw-2)/2 ghost lines.
References discretizationWidth, MappedGrid::getMinimumNumberOfDistributedGhostLines(), CompositeGrid::interpolationIsImplicit, CompositeGrid::interpolationWidth, max(), GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), OV_ABORT, and printF().
Referenced by changeParameters(), and computeOverlap().
|
protected |
References axis3, GenericGridCollection::baseGridNumber, ci, dx, End, extendedGridIndexRange(), fabs(), MappedGrid::getRectangularGridParameters(), MappedGrid::gridIndexRange(), CompositeGrid::interpolationCoordinates, CompositeGrid::interpolationPoint, CompositeGrid::interpoleeGrid, interpoleeGrid, ip, MappedGrid::isRectangular(), max(), GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), CompositeGrid::numberOfInterpolationPoints, r, REAL_EPSILON, Start, MappedGrid::vertex(), VERTEX0, VERTEX1, VERTEX2, and x.
Referenced by updateRefinement(), updateRefinementNew(), and updateRefinementNewer().
|
protected |
References axis3, GenericGridCollection::baseGridNumber, ci, dx, End, extendedGridIndexRange(), fabs(), MappedGrid::getRectangularGridParameters(), MappedGrid::gridIndexRange(), CompositeGrid::interpolationCoordinates, CompositeGrid::interpolationPoint, CompositeGrid::interpoleeGrid, interpoleeGrid, ip, MappedGrid::isRectangular(), max(), GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), CompositeGrid::numberOfInterpolationPoints, r, REAL_EPSILON, Start, MappedGrid::vertex(), VERTEX0, VERTEX1, VERTEX2, and x.
|
static |
References GenericGridCollection::baseGridNumber, c, debug, FOR_3IJD, getIndex(), getLocalArrayWithGhostBoundaries(), gid, GenericGridCollection::gridNumber, i2, mask, MappedGrid::mask(), mask2, GenericGridCollection::numberOfComponentGrids(), GenericGridCollection::numberOfRefinementLevels(), printF(), and GridCollection::refinementLevel.
Referenced by main().
|
protected |
Ogen utility function: Choose a side of a grid.
References GenericGraphicsInterface::appendToTheDefaultPrompt(), assert, aString, MappedGrid::boundaryCondition(), GenericGraphicsInterface::getMenuItem(), MappedGrid::getName(), NULL, MappedGrid::numberOfDimensions(), printF(), ps, and GenericGraphicsInterface::unAppendTheDefaultPrompt().
Referenced by changeParameters().
|
protected |
References Overture::abort(), adjustBoundary(), adjustForNearbyBoundaries(), allowHangingInterpolation, assert, axis1, axis2, axis3, backupValues, backupValuesUsed, bb, MappedGrid::boundaryCondition(), MappedGrid::boundaryFlag(), buff, c, CompositeGridData::canInterpolate(), MappedGrid::center(), center, checkCanInterpolate(), checkForOneSided, Overture::checkMemoryUsage(), checkOverlappingGrid(), classifyHolesForHybrid, classifyRedundantPoints(), debug, MappedGrid::dimension(), MappedGrid::discretizationWidth(), display(), displayMask(), End, MappedGrid::extendedIndexRange(), MappedGrid::extendedRange(), FALSE, findBestGuess(), generateInterpolationArrays(), GET_LOCAL, Mapping::getBoundingBox(), getCPU(), getGhostIndex(), getIndex(), ParallelUtility::getLocalArrayBounds(), getLocalArrayWithGhostBoundaries(), MappingRC::getMapping(), ParallelUtility::getMaxValue(), ParallelUtility::getMinValue(), ParallelUtility::getMinValues(), MappingRC::getName(), MappedGrid::getRectangularGridParameters(), ParallelUtility::getSum(), MappedGrid::gridIndexRange(), GenericGridCollection::gridNumber, i2, ia, improveQuality(), improveQualityOfInterpolation, info, interpolateAll(), interpolateMixedBoundary(), CompositeGrid::interpolationIsImplicit, CompositeGrid::interpolationStartEndIndex, Mapping::intersects(), CompositeGrid::inverseCoordinates, CompositeGrid::inverseGrid, Mapping::inverseMap(), Mapping::inverseMapS(), MappedGrid::isAllCellCentered(), MappedGrid::ISdiscretizationPoint, MappedGrid::ISinteriorBoundaryPoint, MappedGrid::ISinterpolationPoint, isNew, MappedGrid::isRectangular(), lastChanceInterpolation(), logFile, makeAdjustmentsForNearbyBoundaries, MappedGrid::mapping(), Mapping::mappingName, markMaskAtGhost(), markPointsNeededForInterpolation(), mask, MappedGrid::mask(), max(), CompositeGrid::mayInterpolate, min(), minimizeTheOverlap, MappedGrid::mixedPhysicalInterpolationBoundary, myid, NULL, Overture::nullIntArray(), nullRange, Overture::nullRealArray(), GenericGridCollection::numberOfBaseGrids(), GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), MappedGrid::numberOfGhostPoints(), GenericGridCollection::numberOfGrids(), CompositeGrid::numberOfInterpolationPoints, numberOfMixedBoundaries, intMappedGridFunction::periodicUpdate(), plogFile, plot(), printF(), Overture::printMemoryUsage(), ps, r, R, rBound, CompositeGrid::rcData, sPrintF(), Start, MappedGrid::THEcenter, MappedGrid::THEvertex, timeAllInterpolation, timeImproperInterpolation, timeImproveQuality, timeProperInterpolation, timeRemoveRedundant, totalTime, TRUE, unmarkBoundaryInterpolationPoints(), unmarkInterpolationPoints(), CompositeGrid::update(), updateCanInterpolate(), useBoundaryAdjustment, MappedGrid::USESbackupRules, x, and XC.
Referenced by computeOverlap().
|
protected |
References MappedGrid::boundaryFlag(), buff, canDiscretize(), debug, displayMask(), End, extendedGridIndexRange(), FOR_3D, GET_LOCAL, getIndex(), ParallelUtility::getLocalArrayBounds(), MappedGrid::gridIndexRange(), i2, MappedGrid::ISdiscretizationPoint, MappedGrid::ISinteriorBoundaryPoint, MappedGrid::ISinterpolationPoint, isNeededForDiscretization(), isNeededForMultigridRestriction(), logFile, MASK, MappedGrid::mask(), MappedGrid::mixedPhysicalInterpolationBoundary, MappedGrid::numberOfDimensions(), CompositeGrid::numberOfInterpolationPoints, GenericGridCollection::numberOfMultigridLevels(), intMappedGridFunction::periodicUpdate(), sPrintF(), and Start.
Referenced by classifyPoints().
|
protected |
References assert, axis1, axis3, c, fabs(), MappedGrid::gridSpacing(), CompositeGrid::inverseCoordinates, CompositeGrid::inverseGrid, Mapping::inverseMap(), MappedGrid::isAllCellCentered(), max(), min(), GenericGridCollection::numberOfBaseGrids(), GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), q, REAL_MIN, rx, SQRT, TRUE, MappedGrid::vertex(), XR, and XR2.
Referenced by improveQuality().
|
protected |
References MappedGrid::boundaryCondition(), End, MappedGrid::extendedIndexRange(), MappedGrid::gridSpacing(), MappedGrid::indexRange(), CompositeGrid::interpolationWidth, MappedGrid::isCellCentered(), MappedGrid::isPeriodic(), GridCollection::numberOfDimensions(), and Start.
Referenced by lastChanceInterpolation(), movingUpdate(), movingUpdateNew(), and updateRefinementFillInterpolationData().
|
protected |
References Overture::abort(), abortOnAlgorithmFailure, abs(), assert, aString, checkFile, checkInterpolationOnBoundaries(), Overture::checkMemoryUsage(), checkOverlappingGrid(), checkParallelGhostWidth(), classifyPoints(), cutHoles(), cutHolesNew(), cutHolesNewer(), debug, dim, doubleCheckInterpolation, extendedGridRange(), FOR_3D, fPrintF(), generateInterpolationArrays(), GET_LOCAL_CONST, getCPU(), Overture::getCurrentMemoryUsage(), getIndex(), ParallelUtility::getLocalArrayBounds(), Overture::getMaximumMemoryUsage(), ParallelUtility::getMaxValue(), ParallelUtility::getMinValue(), ParallelUtility::getSum(), GI_PLOT_INTERPOLATION_POINTS, MappingInformation::graphXInterface, holeCuttingOption, i2, incrementalHoleSweep, info, isMovingGridProblem, isNew, logFile, Mapping::mappingName, mask, MASK, max(), CompositeGrid::multigridLevel, NULL, GenericGridCollection::numberOfBaseGrids(), GenericGridCollection::numberOfComponentGrids(), numberOfHolePoints, CompositeGrid::numberOfInterpolationPoints, GenericGridCollection::numberOfMultigridLevels(), numberOfOrphanPoints, CompositeGrid::numberOfPossibleMultigridLevels(), orphanPoint, outputGridOnFailure, plot(), plotHolePoints, printF(), Overture::printMemoryUsage(), ps, psp, removeExteriorPointsNew(), resetGrid(), saveGridToAFile(), GraphicsParameters::set(), SQR, GenericGraphicsInterface::stopReadingCommandFile(), sweepOutHolePoints(), timeAllInterpolation, timeCutHoles, timeImproperInterpolation, timeImproveQuality, timeInterpolateBoundaries, timeProperInterpolation, timeRemoveExteriorPoints, timeRemoveRedundant, timeUpdateGeometry, totalTime, TRUE, updateOverlap(), and GridCollection::USESbackupRules.
Referenced by updateOverlap().
|
protected |
|
protected |
References Mapping::approximateGlobalInverse, axis1, axis2, axis3, MappedGrid::boundaryCondition(), debug, Mapping::derivativePeriodic, End, fabs(), FALSE, MappingRC::getMapping(), Mapping::getTypeOfCoordinateSingularity(), gridScale, i2, info, MappedGrid::ISdiscretizationPoint, MappedGrid::ISinterpolationPoint, MappedGrid::isPeriodic(), MappedGrid::mapping(), mask, MappedGrid::mask(), mask1, mask2, maskRatio, max(), CompositeGrid::mayCutHoles, GenericGridCollection::numberOfBaseGrids(), GridCollection::numberOfDimensions(), Mapping::polarSingularity, R, REAL_EPSILON, Start, and TRUE.
Referenced by checkCrossings(), and removeExteriorPoints().
|
protected |
References abs(), adjustBoundary(), Mapping::approximateGlobalInverse, assert, axis1, axis2, axis3, ApproximateGlobalInverse::binarySearchOverBoundary(), Mapping::bogus, MappedGrid::boundaryCondition(), boundaryEps, MappedGrid::boundaryFlag(), boundingBox, MappedGrid::center(), center, checkHoleCutting(), debug, delta, MappedGrid::dimension(), display(), dr, dx, End, extendedGridIndexRange(), MappedGrid::extendedIndexRange(), extendedIndexRange2, fabs(), FALSE, FOR_3D, Mapping::functionPeriodic, getBoundaryIndex(), Mapping::getBoundingBox(), getCPU(), getIndex(), MappingRC::getMapping(), MappingRC::getName(), MappedGrid::getName(), MappedGrid::getRectangularGridParameters(), Mapping::getTopology(), Mapping::getTypeOfCoordinateSingularity(), MappedGrid::gridIndexRange(), MappedGrid::gridSpacing(), holeMarker, holeOffset, holePoint, i2, ia, MappedGrid::indexRange(), indexRange2, info, Mapping::intersects(), CompositeGrid::inverseCoordinates, CompositeGrid::inverseGrid, Mapping::inverseMap(), Mapping::inverseMapC(), MappedGrid::isAllCellCentered(), MappedGrid::ISinterpolationPoint, isNew, ISnonCuttingBoundaryPoint, MappedGrid::isPeriodic(), MappedGrid::isRectangular(), logFile, manualHole, Mapping::mapC(), MappedGrid::mapping(), Mapping::mappingName, mask, MappedGrid::mask(), mask2, max(), CompositeGrid::maximumHoleCuttingDistance, CompositeGrid::mayCutHoles, CompositeGrid::mayInterpolate, min(), MappedGrid::mixedPhysicalInterpolationBoundary, nonCuttingBoundaryPoints, normal, GenericGridCollection::numberOfBaseGrids(), GridCollection::numberOfDimensions(), MappedGrid::numberOfDimensions(), numberOfHolePoints, numberOfManualHoles, numberOfNonCuttingBoundaries, numberOfOrphanPoints, orphanPoint, intMappedGridFunction::periodicUpdate(), plotOrphanPoints, Mapping::polarSingularity, printF(), projectToBoundary(), r, R, rBound, REAL_MAX, REAL_MIN, share, MappedGrid::sharedBoundaryFlag(), CompositeGrid::sharedSidesMayCutHoles, SQR, SQRT, Start, timeCutHoles, Mapping::topologyIsPartiallyPeriodic, Mapping::topologyMask(), totalTime, TRUE, useBoundaryAdjustment, MappedGrid::vertex(), MappedGrid::vertexBoundaryNormal(), MappedGrid::vertexDerivative(), x, XC, XC2, XR, xr, and XV.
Referenced by computeOverlap().
|
protected |
References Overture::abort(), abs(), adjustBoundary(), Mapping::approximateGlobalInverse, assert, axis1, axis2, axis3, ApproximateGlobalInverse::binarySearchOverBoundary(), Mapping::bogus, MappedGrid::boundaryCondition(), boundaryEps, MappedGrid::boundaryFlag(), boundingBox, MappedGrid::center(), center, checkHoleCutting(), Overture::checkMemoryUsage(), debug, delta, MappedGrid::dimension(), display(), dr, dx, End, explicitHoleCutting(), extendedGridIndexRange(), MappedGrid::extendedIndexRange(), extendedIndexRange2, fabs(), FALSE, FOR_3, FOR_3D, Mapping::functionPeriodic, GET_LOCAL, GET_LOCAL_CONST, getBoundaryIndex(), Mapping::getBoundingBox(), getCPU(), getHoleWidth(), getIndex(), ListOfMappingRC::getLength(), ParallelUtility::getLocalArrayBounds(), getLocalArrayWithGhostBoundaries(), MappingRC::getMapping(), MappingRC::getName(), MappedGrid::getName(), MappedGrid::getRectangularGridParameters(), Mapping::getTopology(), Mapping::getTypeOfCoordinateSingularity(), MappedGrid::gridIndexRange(), MappedGrid::gridSpacing(), gridSpacing2, holeCutters, holeMarker, holePoint, i2, ia, MappedGrid::indexRange(), indexRange2, info, Mapping::intersects(), CompositeGrid::inverseCoordinates, CompositeGrid::inverseGrid, Mapping::inverseMap(), Mapping::inverseMapC(), Mapping::inverseMapS(), MappedGrid::isAllCellCentered(), MappedGrid::ISinterpolationPoint, isNew, ISnonCuttingBoundaryPoint, MappedGrid::isPeriodic(), MappedGrid::isRectangular(), localIndexBounds2, manualHole, Mapping::mapC(), Mapping::mapGrid(), Mapping::mapGridS(), MappedGrid::mapping(), Mapping::mappingName, Mapping::mapS(), mask, MappedGrid::mask(), mask2, max(), CompositeGrid::maximumHoleCuttingDistance, CompositeGrid::mayCutHoles, CompositeGrid::mayInterpolate, min(), MappedGrid::mixedPhysicalInterpolationBoundary, myid, nonCuttingBoundaryPoints, normal, NULL, Overture::nullIntArray(), Overture::nullRealArray(), GenericGridCollection::numberOfBaseGrids(), GridCollection::numberOfDimensions(), MappedGrid::numberOfDimensions(), numberOfHolePoints, numberOfManualHoles, numberOfNonCuttingBoundaries, numberOfOrphanPoints, orphanPoint, intMappedGridFunction::periodicUpdate(), plogFile, plotOrphanPoints, Mapping::polarSingularity, printF(), pxBoundary, r, R, RB, rBound, REAL_MAX, REAL_MIN, share, MappedGrid::sharedBoundaryFlag(), CompositeGrid::sharedSidesMayCutHoles, SQR, SQRT, Start, timeCheckHoleCutting, timeCutHoles, Mapping::topologyIsPartiallyPeriodic, Mapping::topologyMask(), totalTime, TRUE, useBoundaryAdjustment, MappedGrid::vertex(), MappedGrid::vertexBoundaryNormal(), MappedGrid::vertexBoundaryNormalArray(), MappedGrid::vertexDerivative(), x, xBoundary, XC, XC2, XR, xr, and XV.
Referenced by computeOverlap().
|
protected |
References Overture::abort(), abs(), adjustBoundary(), Mapping::approximateGlobalInverse, assert, axis1, axis2, axis3, ApproximateGlobalInverse::binarySearchOverBoundary(), Mapping::bogus, MappedGrid::boundaryCondition(), boundaryEps, MappedGrid::boundaryFlag(), boundingBox, MappedGrid::center(), center, checkHoleCutting(), Overture::checkMemoryUsage(), debug, delta, MappedGrid::dimension(), display(), displayMask(), dr, dx, End, extendedGridIndexRange(), MappedGrid::extendedIndexRange(), extendedIndexRange2, fabs(), FALSE, fmod(), FOR_3, FOR_3D, Mapping::functionPeriodic, GET_LOCAL, GET_LOCAL_CONST, getBoundaryIndex(), getCPU(), getHoleWidth(), getIndex(), ParallelUtility::getLocalArrayBounds(), getLocalArrayWithGhostBoundaries(), MappingRC::getMapping(), MappingRC::getName(), MappedGrid::getName(), MappedGrid::getRectangularGridParameters(), Mapping::getTopology(), Mapping::getTypeOfCoordinateSingularity(), MappedGrid::gridIndexRange(), MappedGrid::gridSpacing(), gridSpacing2, holeMarker, holePoint, i2, ia, MappedGrid::indexRange(), indexRange2, info, Mapping::intersects(), CompositeGrid::inverseCoordinates, CompositeGrid::inverseGrid, Mapping::inverseMap(), Mapping::inverseMapC(), Mapping::inverseMapS(), MappedGrid::isAllCellCentered(), MappedGrid::ISinterpolationPoint, isNew, ISnonCuttingBoundaryPoint, isPeriodic, MappedGrid::isPeriodic(), MappedGrid::isRectangular(), l2Norm(), MappedGrid::localBoundingBox(), localIndexBounds2, logFile, manualHole, Mapping::mapC(), Mapping::mapGrid(), Mapping::mapGridS(), MappedGrid::mapping(), Mapping::mappingName, Mapping::mapS(), mask, MappedGrid::mask(), mask2, max(), CompositeGrid::maximumHoleCuttingDistance, CompositeGrid::mayCutHoles, CompositeGrid::mayInterpolate, min(), MappedGrid::mixedPhysicalInterpolationBoundary, myid, nonCuttingBoundaryPoints, normal, NULL, Overture::nullIntArray(), Overture::nullRealArray(), GenericGridCollection::numberOfBaseGrids(), GridCollection::numberOfDimensions(), MappedGrid::numberOfDimensions(), numberOfHolePoints, numberOfManualHoles, numberOfNonCuttingBoundaries, numberOfOrphanPoints, orphanPoint, intMappedGridFunction::periodicUpdate(), plogFile, plotOrphanPoints, Mapping::polarSingularity, printF(), pxBoundary, r, R, RB, rBound, REAL_MAX, REAL_MIN, share, MappedGrid::sharedBoundaryFlag(), CompositeGrid::sharedSidesMayCutHoles, sPrintF(), SQR, SQRT, Start, timeCheckHoleCutting, timeCutHoles, Mapping::topologyIsPartiallyPeriodic, Mapping::topologyMask(), totalTime, TRUE, useBoundaryAdjustment, Mapping::usesDistributedInverse(), MappedGrid::vertex(), MappedGrid::vertexBoundaryNormal(), MappedGrid::vertexBoundaryNormalArray(), MappedGrid::vertexDerivative(), x, xBoundary, XC, XC2, XR, xr, and XV.
Referenced by computeOverlap().
|
protected |
Determine the points to adjust on a shared boundary when interpolating points from grid side (ks1,kd1)
References abs(), adjustBoundary(), axis3, BoundaryAdjustment::boundaryAdjustment(), MappedGrid::boundaryCondition(), boundaryEps, BoundaryAdjustment::computedGeometry, debug, delta1, delta2, MappedGrid::dimension(), display(), BoundaryAdjustment::doNotShare, End, equals(), evaluate(), fabs(), MappingRC::getMapping(), ParallelUtility::getMaxValue(), Mapping::getName(), MappedGrid::getName(), getNormal(), getSharedBoundaryTolerances(), Mapping::getSignForJacobian(), MappedGrid::gridIndexRange(), MappedGrid::gridSpacing(), MappedGrid::indexRange(), Mapping::intersects(), Mapping::inverseMapC(), Mapping::inverseMapCS(), MappedGrid::isAllVertexCentered(), LogicalFalse, Mapping::map(), MappedGrid::mapping(), Mapping::mappingName, Mapping::mapS(), max(), min(), Overture::nullIntArray(), Overture::nullRealArray(), GridCollection::numberOfDimensions(), plogFile, r, BoundaryAdjustment::share, BoundaryAdjustment::shareButNoAdjustmentNeeded, MappedGrid::sharedBoundaryFlag(), BoundaryAdjustment::sidesShare(), SQR, SQRT, Start, THEmask, MappedGrid::vertexBoundaryNormal(), and MappedGrid::vertexBoundaryNormalArray().
Referenced by updateBoundaryAdjustment().
|
protected |
References debug, dimension, End, GET_LOCAL_CONST, ParallelUtility::getMaxValue(), ParallelUtility::getMinValue(), ia, indexRange, Mapping::mappingName, mask, max(), min(), GenericGridCollection::numberOfBaseGrids(), GridCollection::numberOfDimensions(), printF(), R, and Start.
Referenced by updateOverlap().
|
static |
Output composite grid parameters such as discretization width, interpolation width etc.
References boundaryCondition, discretizationWidth, End, fPrintF(), CompositeGrid::interpolationIsImplicit, CompositeGrid::interpolationWidth, Mapping::mappingName, CompositeGrid::mayCutHoles, GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), and Start.
Referenced by changeParameters().
|
protected |
Referenced by checkInterpolationOnBoundaries().
|
protected |
Cut holes with user defined explicit hole cutters.
References boundingBox, cutterBoundingBox, debug, fabs(), FOR_3D, Mapping::getBoundingBox(), getIndex(), ListOfMappingRC::getLength(), ParallelUtility::getLocalArrayBounds(), MappingRC::getMapping(), Mapping::getName(), MappedGrid::getName(), MappedGrid::getRectangularGridParameters(), MappedGrid::gridIndexRange(), holeCutters, holePoint, i2, ia, IA, Mapping::intersects(), Mapping::inverseMapS(), MappedGrid::isRectangular(), MappedGrid::mapping(), Mapping::mappingName, MASK, MappedGrid::mask(), max(), NULL, GenericGridCollection::numberOfBaseGrids(), GridCollection::numberOfDimensions(), MappedGrid::numberOfDimensions(), numberOfHolePoints, OV_GET_SERIAL_ARRAY_CONDITIONAL, OV_GET_SERIAL_ARRAY_CONST, plogFile, printF(), R, RA, ra, MappedGrid::vertex(), XA, and XAB.
Referenced by cutHolesNew().
|
protected |
References assert, c, fabs(), MappingRC::getName(), Mapping::getName(), MappedGrid::getRectangularGridParameters(), MappedGrid::gridIndexRange(), info, Mapping::intersects(), Mapping::inverseMap(), Mapping::inverseMapS(), MappedGrid::isAllCellCentered(), MappedGrid::isRectangular(), MappedGrid::mapping(), Mapping::mappingName, max(), GenericGridCollection::numberOfBaseGrids(), GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), MappedGrid::numberOfDimensions(), r, R, and XC.
Referenced by classifyPoints().
|
protected |
Find the closest boundary point – use x-distance!
References MappedGrid::boundaryCondition(), MappedGrid::center(), center, MappedGrid::dimension(), fabs(), MappingRC::getMapping(), Mapping::getTypeOfCoordinateSingularity(), MappedGrid::gridIndexRange(), MappedGrid::mapping(), max(), min(), MappedGrid::numberOfDimensions(), Mapping::polarSingularity, and REAL_MAX.
Referenced by interpolateAPoint(), and queryAPoint().
|
protected |
References axis1, axis2, axis3, MappedGrid::boundaryCondition(), End, MappedGrid::extendedIndexRange(), getBoundaryIndex(), getCPU(), MappingRC::getName(), MappingRC::getTypeOfCoordinateSingularity(), i2, info, MappedGrid::ISdiscretizationPoint, MappedGrid::isPeriodic(), MappedGrid::mapping(), Mapping::mappingName, mask, MappedGrid::mask(), GenericGridCollection::numberOfBaseGrids(), GridCollection::numberOfDimensions(), Mapping::polarSingularity, Start, timeFindTrueBoundary, and totalTime.
|
protected |
References Overture::abort(), abs(), adjustSizeMacro, assert, aString, backupValues, backupValuesUsed, MappedGrid::boundaryCondition(), buff, c, GenericGridCollectionData::computedGeometry, GenericGridCollection::COMPUTEnothing, display(), End, MappedGrid::extendedIndexRange(), MappedGrid::extendedRange(), GET_LOCAL, getIndex(), ParallelUtility::getLocalArrayBounds(), ParallelUtility::getMaxValues(), ParallelUtility::getSum(), MappedGrid::gridSpacing(), i2, ia, MappedGrid::indexRange(), info, CompositeGrid::interpolationCoordinates, interpolationCoordinates, CompositeGridData::interpolationCoordinatesLocal, CompositeGrid::interpolationIsImplicit, CompositeGrid::interpolationPoint, CompositeGridData::interpolationPointLocal, CompositeGrid::interpolationStartEndIndex, CompositeGrid::interpolationWidth, CompositeGrid::interpoleeGrid, interpoleeGrid, CompositeGridData::interpoleeGridLocal, CompositeGrid::interpoleeLocation, interpoleeLocation, CompositeGridData::interpoleeLocationLocal, CompositeGrid::inverseCoordinates, CompositeGrid::inverseGrid, MappedGrid::isCellCentered(), MappedGrid::ISinterpolationPoint, MappedGrid::isPeriodic(), CompositeGridData::localInterpolationDataForAll, CompositeGridData::localInterpolationDataState, mask, MappedGrid::mask(), GenericGridCollection::numberOfBaseGrids(), GridCollection::numberOfDimensions(), GenericGridCollection::numberOfGrids(), CompositeGrid::numberOfInterpolationPoints, CompositeGridData::numberOfInterpolationPointsLocal, printF(), R, saveGridToAFile(), sPrintF(), Start, CompositeGrid::THEinterpolationCoordinates, CompositeGrid::THEinterpolationPoint, CompositeGrid::THEinterpoleeGrid, CompositeGrid::THEinterpoleeLocation, GridCollection::THEmask, CompositeGrid::update(), MappedGrid::USESbackupRules, CompositeGrid::variableInterpolationWidth, variableInterpolationWidth, and CompositeGridData::variableInterpolationWidthLocal.
Referenced by classifyPoints(), computeOverlap(), movingUpdate(), movingUpdateNew(), and queryAPoint().
|
protected |
References BoundaryAdjustment::acrossGrid(), debug, display(), dr, FOR_3D, FOR_3IJD, GET_LOCAL_CONST, ParallelUtility::getLocalArrayBounds(), getLocalArrayWithGhostBoundaries(), MappingRC::getMapping(), MappedGrid::getName(), MappedGrid::getRectangularGridParameters(), MappedGrid::gridIndexRange(), MappedGrid::gridSpacing(), i2, MappedGrid::isAllCellCentered(), MappedGrid::isAllVertexCentered(), MappedGrid::isRectangular(), logFile, Mapping::mapGrid(), Mapping::mapGridS(), MappedGrid::mapping(), MappedGrid::mask(), mask1, max(), min(), GenericGridCollection::numberOfBaseGrids(), GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), MappedGrid::numberOfDimensions(), BoundaryAdjustment::oppositeBoundary(), oppositeBoundaryIndex(), plogFile, RB, REAL_EPSILON, MappedGrid::vertex(), and XV1.
Referenced by updateBoundaryAdjustment().
|
protected |
References abs(), assert, dr, End, fabs(), MappedGrid::gridSpacing(), gridSpacing2, holeMarker, holeOffset, i2, indexRange2, info, localIndexBounds2, max(), min(), myid, plogFile, projectToParameterBoundary(), r, and Start.
Referenced by cutHolesNew(), and cutHolesNewer().
|
protected |
References max(), REAL_MIN, and SQR.
Referenced by checkInterpolationOnBoundaries(), and determineBoundaryPointsToAdjust().
|
protected |
References REAL_MAX.
Referenced by determineBoundaryPointsToAdjust().
|
protected |
References assert, axis1, axis2, axis3, c, computeInterpolationQuality(), debug, End, MappedGrid::extendedIndexRange(), FALSE, getIndex(), MappingRC::getName(), MappedGrid::gridSpacing(), i2, ia, MappedGrid::indexRange(), info, CompositeGrid::interpolationWidth, CompositeGrid::inverseGrid, MappedGrid::ISinterpolationPoint, isNeededForDiscretization(), isOnInterpolationBoundary(), MappedGrid::mapping(), Mapping::mappingName, mask, MappedGrid::mask(), max(), min(), GenericGridCollection::numberOfBaseGrids(), GridCollection::numberOfDimensions(), printF(), q, qualityBound, r, R, REAL_MAX, rx, Start, and TRUE.
Referenced by classifyPoints().
|
protected |
References abortOnAlgorithmFailure, allowBackupRules, allowHangingInterpolation, backupValues, boundaryEps, checkFile, checkForOneSided, classifyHolesForHybrid, computeGeometryForMovingGrids, debug, defaultInterpolationIsImplicit, defaultNumberOfGhostPoints, doubleCheckInterpolation, fPrintF(), holeCutters, holeCuttingOption, improveQualityOfInterpolation, incrementalHoleSweep, info, isMovingGridProblem, loadBalanceGrids, logFile, makeAdjustmentsForNearbyBoundaries, maskRatio, max(), maximumAngleDifferenceForNormalsOnSharedBoundaries, maximumNumberOfPointsToInvertAtOneTime, minimizeTheOverlap, myid, NULL, numberOfArrays, numberOfHolePoints, numberOfManualHoles, numberOfManualSharedBoundaries, numberOfMixedBoundaries, numberOfNonCuttingBoundaries, numberOfOrphanPoints, numberOfSharedBoundaryTolerances, outputGridOnFailure, plogFile, plotExplicitHoleCutters, plotTitles, printF(), qualityBound, sPrintF(), timeAllInterpolation, timeCheckHoleCutting, timeCutHoles, timeFindTrueBoundary, timeImproperInterpolation, timeImproveQuality, timeInterpolateBoundaries, timePreInterpolate, timeProperInterpolation, timeRemoveExteriorPoints, timeRemoveRedundant, timeUpdateGeometry, totalTime, useBoundaryAdjustment, useLocalBoundingBoxes, and useNewMovingUpdate.
Referenced by Ogen().
|
protected |
References adjustBoundary(), axis1, axis2, axis3, MappedGrid::boundaryFlag(), GridCollection::boundingBox, boundingBox, c, CompositeGridData::canInterpolate(), MappedGrid::center(), center, checkCanInterpolate(), checkForOneSided, Overture::checkMemoryUsage(), debug, display(), End, MappedGrid::extendedIndexRange(), FALSE, GET_LOCAL, getIndex(), ParallelUtility::getLocalArrayBounds(), getLocalArrayWithGhostBoundaries(), MappingRC::getMapping(), ParallelUtility::getMaxValue(), MappingRC::getName(), Mapping::getName(), MappedGrid::getName(), MappedGrid::getRectangularGridParameters(), ParallelUtility::getSum(), Mapping::getTypeOfCoordinateSingularity(), MappedGrid::gridIndexRange(), GenericGridCollection::gridNumber, i2, ia, improveQualityOfInterpolation, info, CompositeGrid::inverseCoordinates, CompositeGrid::inverseGrid, Mapping::inverseMap(), Mapping::inverseMapS(), MappedGrid::isAllCellCentered(), MappedGrid::isAllVertexCentered(), MappedGrid::ISdiscretizationPoint, MappedGrid::ISinteriorBoundaryPoint, MappedGrid::ISinterpolationPoint, isNew, MappedGrid::isPeriodic(), MappedGrid::isRectangular(), MappedGrid::mapping(), Mapping::mappingName, mask, MappedGrid::mask(), max(), maximumNumberOfPointsToInvertAtOneTime, CompositeGrid::mayInterpolate, min(), MappedGrid::mixedPhysicalInterpolationBoundary, Overture::nullIntArray(), Overture::nullRealArray(), GenericGridCollection::numberOfBaseGrids(), GridCollection::numberOfDimensions(), OV_ABORT, intMappedGridFunction::periodicUpdate(), plogFile, Mapping::polarSingularity, printF(), r, R, R0, CompositeGrid::rcData, S, sPrintF(), Start, TRUE, useBoundaryAdjustment, x, XC, XC0, XC1, and XC2.
Referenced by classifyPoints().
|
protected |
Try to interpolate a point If interpolatePoint==true then attempt to interpolate the point. Return true if the point was interpolated.
cg | (input) : CompositeGrid |
grid | (input) : point to interpolate is on this grid. |
iv[3] | (input) : index of the point to interpolate. |
interpolatePoint | (input) : if true and the point (grid,iv) can interpolate from another donor grid then adjust the mask, inverseGrid and inverseCoordinates to indicate this. |
checkInterpolationCoords | (input) : |
checkBoundaryPoint | (input) : if true then project the point (grid,iv) onto the nearest boundary before attempting to interpolate. Also check the normals between the interpolation point and donor. |
infoLevel | (input) : bit flag, infoLevel = 0 + 1 + 2 to output additional information. |
References adjustBoundary(), Mapping::approximateGlobalInverse, assert, axis1, axis2, axis3, CompositeGridData::canInterpolate(), MappedGrid::center(), center, checkCanInterpolate(), checkForOneSided, debug, Mapping::debug, MappedGrid::dimension(), dr, dx, fabs(), findClosestBoundaryPoint(), Mapping::findNearestGridPoint(), MappingRC::getMapping(), Mapping::getName(), MappedGrid::getName(), MappedGrid::getRectangularGridParameters(), MappedGrid::gridIndexRange(), GenericGridCollection::gridNumber, MappedGrid::gridSpacing(), i2, ia, CompositeGrid::interpolationWidth, Mapping::intersects(), CompositeGrid::inverseCoordinates, CompositeGrid::inverseGrid, Mapping::inverseMapS(), MappedGrid::isAllCellCentered(), MappedGrid::ISinterpolationPoint, MappedGrid::isRectangular(), MappedGrid::mapping(), Mapping::mappingName, Mapping::mapS(), MappedGrid::mask(), mask2, max(), CompositeGrid::mayInterpolate, myid, normal, NULL, GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), MappedGrid::numberOfDimensions(), OV_GET_SERIAL_ARRAY, OV_GET_SERIAL_ARRAY_CONDITIONAL, OV_GET_SERIAL_ARRAY_CONST, printF(), r, CompositeGrid::rcData, REAL_EPSILON, REAL_MAX, rx, SQR, useBoundaryAdjustment, MappedGrid::vertex(), MappedGrid::vertexBoundaryNormal(), x, XC, and XC2.
Referenced by checkHoleCutting(), and queryAPoint().
|
protected |
References assert, MappedGrid::boundaryCondition(), Mapping::getGridDimensions(), MappingRC::getMapping(), MappedGrid::mapping(), mixedBoundary, GenericGridCollection::numberOfBaseGrids(), GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), CompositeGrid::numberOfInterpolationPoints, ReparameterizationTransform::restriction, Mapping::setBoundaryCondition(), ReparameterizationTransform::setBounds(), Mapping::setGridDimensions(), MappedGrid::THEvertex, MappedGrid::update(), and ComposeMapping::useDefaultMappingInverse().
Referenced by changeParameters(), checkInterpolationOnBoundaries(), and classifyPoints().
|
protected |
References assert, MappedGrid::boundaryCondition(), MappedGrid::boundaryFlag(), debug, display(), displayMask(), End, fabs(), getBoundaryIndex(), getGhostIndex(), MappingRC::getMapping(), MappedGrid::getName(), MappedGrid::gridIndexRange(), gridIndexRange, i2, ia, CompositeGrid::inverseCoordinates, CompositeGrid::inverseGrid, Mapping::inverseMap(), MappedGrid::ISdiscretizationPoint, MappedGrid::ISinteriorBoundaryPoint, MappedGrid::ISinterpolationPoint, ISnonCuttingBoundaryPoint, logFile, Mapping::map(), MappedGrid::mapping(), mask, max(), min(), mixedBoundary, mixedBoundaryValue, MappedGrid::mixedPhysicalInterpolationBoundary, GenericGridCollection::numberOfBaseGrids(), GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), MappedGrid::numberOfDimensions(), printF(), r, R, rBound, s, SQR, Start, MappedGrid::THEcenter, MappedGrid::THEvertex, MappedGrid::update(), MappedGrid::vertex(), and x.
|
protected |
Attempt to interpolate a list of points. For points that could interpolate the interpolation data mask, inverseGrid and inverseCoordinates are changed.
cg | (input) : |
grid | (input) : points lie on this grid |
numberToInterpolate | (input) : number of points in the list ia |
ia(i,0:2) | (input) : index coordinates of the list of points |
interpolates(i) | (output) : true if the point was interpolated. |
References adjustBoundary(), assert, axis3, CompositeGridData::canInterpolate(), MappedGrid::center(), center, checkCanInterpolate(), checkForOneSided, debug, MappingRC::getMapping(), Mapping::getName(), MappedGrid::getName(), MappedGrid::getRectangularGridParameters(), ParallelUtility::getSum(), MappedGrid::gridIndexRange(), MappedGrid::gridSpacing(), i2, Mapping::intersects(), CompositeGrid::inverseCoordinates, CompositeGrid::inverseGrid, Mapping::inverseMap(), Mapping::inverseMapS(), MappedGrid::isAllCellCentered(), MappedGrid::ISinterpolationPoint, MappedGrid::isRectangular(), MappedGrid::mapping(), Mapping::mappingName, Mapping::mapS(), MappedGrid::mask(), CompositeGrid::mayInterpolate, GenericGridCollection::numberOfBaseGrids(), GridCollection::numberOfDimensions(), MappedGrid::numberOfDimensions(), OV_GET_SERIAL_ARRAY, OV_GET_SERIAL_ARRAY_CONDITIONAL, OV_GET_SERIAL_ARRAY_CONST, plogFile, printF(), r, R, CompositeGrid::rcData, useBoundaryAdjustment, x, and XVC.
Referenced by checkHoleCutting().
|
protected |
References axis1, axis2, axis3, boundaryCondition, MappedGrid::boundaryCondition(), boundaryDiscretizationWidth, MappedGrid::boundaryDiscretizationWidth(), discretizationWidth, MappedGrid::discretizationWidth(), extendedIndexRange, MappedGrid::extendedIndexRange(), GET_LOCAL, iab, MappedGrid::ISdiscretizationPoint, isPeriodic, MappedGrid::isPeriodic(), mask, MappedGrid::mask(), and MappedGrid::numberOfDimensions().
Referenced by classifyRedundantPoints(), improveQuality(), markPointsNeededForInterpolation(), markPointsNeededForInterpolationNew(), and preInterpolateGrids().
|
protected |
References assert, axis1, axis2, axis3, iab, MappedGrid::indexRange(), CompositeGrid::interpolationIsAllImplicit(), MappedGrid::isCellCentered(), MappedGrid::ISdiscretizationPoint, MappedGrid::ISusedPoint, LogicalFalse, mask, max0(), min0(), CompositeGrid::multigridCoarseningRatio, CompositeGrid::multigridLevel, CompositeGrid::multigridRestrictionWidth, GridCollection::numberOfDimensions(), and TRUE.
Referenced by classifyRedundantPoints().
|
protected |
References axis1, axis2, axis3, boundaryCondition, MappedGrid::boundaryCondition(), MappedGrid::boundaryDiscretizationWidth(), MappedGrid::discretizationWidth(), extendedIndexRange, MappedGrid::extendedIndexRange(), iab, isPeriodic, MappedGrid::isPeriodic(), mask, MappedGrid::mask(), and MappedGrid::numberOfDimensions().
Referenced by improveQuality(), and markPointsReallyNeededForInterpolation().
|
protected |
This routine is called for points that could not be interpolated when perhaps they should be able to.
This routine will make several attempts to fix the situation including turning the point into a discretization point, reducing the width of interpolation or changing explicit interpolation into implicit interpolation.
grid | (input) : interpolation points lie on this grid |
ia(i,0:nd-1) | : a list of points to be checked. In parallel, each processor will have a different list. |
ok(i) | (output) : ?? |
interpolates(i) | (output) : return true for points that could be fixed. |
numberOfInvalidPoints | (output) : number of points that could not be fixed. |
invalidPoint(i,0:nd-1) | (output) : coordinates of the invalid points (for plotting?) |
printDiagnosticMessages | (input) : bit flag for diagnostic output. |
lastChanceOption | (input) : 0=default, -1: do not remove un-needed points at the start |
References adjustBoundary(), allowBackupRules, assert, aString, axis1, axis2, axis3, backupValues, backupValuesUsed, MappedGrid::boundaryCondition(), c, canDiscretize(), CompositeGridData::canInterpolate(), MappedGrid::center(), center, checkCanInterpolate(), checkForOneSided, computeInterpolationStencil(), debug, MappedGrid::dimension(), MappedGrid::discretizationWidth(), End, extendedGridIndexRange(), MappedGrid::extendedIndexRange(), fabs(), FALSE, GET_LOCAL, getLocalArrayWithGhostBoundaries(), MappingRC::getMapping(), MappingRC::getName(), Mapping::getName(), MappedGrid::getName(), MappedGrid::getRectangularGridParameters(), ParallelUtility::getSum(), MappedGrid::gridIndexRange(), GenericGridCollection::gridNumber, MappedGrid::gridSpacing(), MappedGrid::indexRange(), CompositeGrid::interpolationIsImplicit, CompositeGrid::interpolationOverlap, CompositeGrid::interpolationWidth, Mapping::intersects(), CompositeGrid::inverseCoordinates, CompositeGrid::inverseGrid, Mapping::inverseMap(), Mapping::inverseMapS(), MappedGrid::isAllCellCentered(), MappedGrid::ISdiscretizationPoint, MappedGrid::ISinteriorBoundaryPoint, MappedGrid::ISinterpolationPoint, MappedGrid::isRectangular(), MappedGrid::mapping(), Mapping::mappingName, Mapping::mapS(), mask, MappedGrid::mask(), mask2, max(), CompositeGrid::mayCutHoles, CompositeGrid::mayInterpolate, min(), myid, GenericGridCollection::numberOfBaseGrids(), GridCollection::numberOfDimensions(), MappedGrid::numberOfDimensions(), OV_ABORT, plogFile, printF(), r, R, CompositeGrid::rcData, REAL_EPSILON, MappedGrid::sharedBoundaryTolerance(), Start, TRUE, useBoundaryAdjustment, MappedGrid::USESbackupRules, x, XC, and XVC.
Referenced by classifyPoints().
|
protected |
References MappedGrid::boundaryCondition(), MappedGrid::boundaryFlag(), debug, MappedGrid::dimension(), displayMask(), End, MappedGrid::extendedIndexRange(), FOR_3IJD, GET_LOCAL, getBoundaryIndex(), getGhostIndex(), ParallelUtility::getLocalArrayBounds(), MappedGrid::gridIndexRange(), i2, MappedGrid::ISghostPoint, MappedGrid::ISinteriorBoundaryPoint, logFile, mask, MASK, MappedGrid::mask(), MappedGrid::mixedPhysicalInterpolationBoundary, GenericGridCollection::numberOfBaseGrids(), intMappedGridFunction::periodicUpdate(), MappedGrid::physicalBoundary, sPrintF(), and Start.
Referenced by classifyPoints(), movingUpdate(), and movingUpdateNew().
|
protected |
1) there must be a valid point on a face in each direction:
References axis1, axis2, axis3, evaluate(), FOR_3BR, FOR_3R, MASK, MASKB, min(), setRefinementMaskFace(), and Start.
Referenced by updateRefinement(), updateRefinementNew(), and updateRefinementNewer().
|
protected |
References allowHangingInterpolation, assert, axis1, axis2, axis3, backupValues, MappedGrid::boundaryCondition(), c, debug, MappedGrid::dimension(), End, MappedGrid::extendedIndexRange(), FALSE, FOR_3D, GET_LOCAL, getIndex(), ParallelUtility::getLocalArrayBounds(), MappedGrid::gridIndexRange(), MappedGrid::gridSpacing(), i2, iab, MappedGrid::indexRange(), CompositeGrid::interpolationIsImplicit, CompositeGrid::interpolationOverlap, CompositeGrid::inverseCoordinates, CompositeGrid::inverseGrid, INVERSEGRID, MappedGrid::isCellCentered(), MappedGrid::ISinterpolationPoint, isNeededForDiscretization(), MappedGrid::isPeriodic(), jab, logFile, markPointsNeededForInterpolationNew(), MASK, MappedGrid::mask(), mask2, max(), min(), GenericGridCollection::numberOfBaseGrids(), GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), r, Start, TRUE, and MappedGrid::USESbackupRules.
Referenced by classifyPoints().
|
protected |
References Overture::abort(), allowHangingInterpolation, assert, aString, axis1, axis2, axis3, backupValues, MappedGrid::boundaryCondition(), c, debug, MappedGrid::dimension(), End, MappedGrid::extendedIndexRange(), FOR_3D, GET_LOCAL, getIndex(), ParallelUtility::getLocalArrayBounds(), ParallelUtility::getMinValue(), MappedGrid::gridIndexRange(), MappedGrid::gridSpacing(), i2, iab, MappedGrid::indexRange(), CompositeGrid::interpolationIsImplicit, CompositeGrid::interpolationOverlap, CompositeGrid::inverseCoordinates, CompositeGrid::inverseGrid, INVERSEGRID, MappedGrid::isCellCentered(), MappedGrid::ISinterpolationPoint, isNeededForDiscretization(), MappedGrid::isPeriodic(), jab, MASK, MappedGrid::mask(), max(), min(), myid, GenericGridCollection::numberOfBaseGrids(), GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), OV_ABORT, Overture::OV_COMM, plogFile, printF(), saveGridToAFile(), Start, and MappedGrid::USESbackupRules.
Referenced by markPointsNeededForInterpolation().
|
protected |
References assert, axis1, axis2, axis3, backupValues, MappedGrid::boundaryCondition(), c, MappedGrid::dimension(), End, MappedGrid::extendedIndexRange(), FALSE, getIndex(), MappedGrid::gridIndexRange(), MappedGrid::gridSpacing(), i2, iab, MappedGrid::indexRange(), CompositeGrid::interpolationOverlap, CompositeGrid::inverseCoordinates, CompositeGrid::inverseGrid, MappedGrid::isCellCentered(), MappedGrid::ISinterpolationPoint, isOnInterpolationBoundary(), MappedGrid::isPeriodic(), jab, mask, MappedGrid::mask(), mask2, max(), min(), GenericGridCollection::numberOfBaseGrids(), GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), r, Start, TRUE, and MappedGrid::USESbackupRules.
|
protected |
References adjustBoundary(), assert, aString, axis1, axis2, axis3, backupValues, backupValuesUsed, CompositeGridData::boundaryAdjustment, boundaryCondition, MappedGrid::boundaryCondition(), c, canDiscretize(), CompositeGridData::canInterpolate(), MappedGrid::center(), center, checkForOneSided, checkOverlappingGrid(), GenericGridData::computedGeometry, GenericGridCollectionData::computedGeometry, GenericGridCollection::computedGeometry(), computeInterpolationStencil(), GenericGridCollection::COMPUTEnothing, debug, MappedGrid::dimension(), display(), displayMask(), End, ENDFORJP, ENDFORJP_STENCIL, MappedGrid::extendedIndexRange(), MappedGrid::extendedRange(), FALSE, FORJP, FORJP_STENCIL, generateInterpolationArrays(), TrivialArray< Type, Dim >::getBase(), TrivialArray< Type, Dim >::getBound(), getCPU(), MappingRC::getMapping(), MappedGrid::getRectangularGridParameters(), GI_COLOUR_INTERPOLATION_POINTS, GI_PLOT_INTERPOLATION_POINTS, MappedGrid::gridIndexRange(), MappedGrid::gridSpacing(), i2, ia, MappedGrid::indexRange(), info, CompositeGrid::interpolationCoordinates, interpolationCoordinates, CompositeGrid::interpolationOverlap, CompositeGrid::interpolationPoint, CompositeGrid::interpolationStartEndIndex, CompositeGrid::interpolationWidth, CompositeGrid::interpoleeGrid, interpoleeGrid, CompositeGrid::interpoleeLocation, interpoleeLocation, CompositeGrid::inverseCoordinates, CompositeGrid::inverseGrid, Mapping::inverseMap(), ip, MappedGrid::isAllCellCentered(), MappedGrid::isCellCentered(), MappedGrid::ISdiscretizationPoint, MappedGrid::ISinterpolationPoint, isMovingGridProblem, isNew, MappedGrid::isPeriodic(), MappedGrid::isRectangular(), MappedGrid::mapping(), markMaskAtGhost(), mask, MappedGrid::mask(), mask2, max(), min(), movingUpdateNew(), NULL, GenericGridCollection::numberOfBaseGrids(), GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), MappedGrid::numberOfDimensions(), CompositeGrid::numberOfInterpolationPoints, numberOfOrphanPoints, orphanPoint, outputMovingGrids(), plot(), plotOrphanPoints, psp, r, R, CompositeGrid::rcData, TrivialArray< Type, Dim >::redim(), GraphicsParameters::set(), Start, MappedGrid::THEcenter, CompositeGrid::THEinterpolationCoordinates, CompositeGrid::THEinterpolationPoint, CompositeGrid::THEinterpoleeGrid, CompositeGrid::THEinterpoleeLocation, CompositeGrid::THEinverseMap, GridCollection::THEmask, GenericGridCollection::THErefinementLevel, MappedGrid::THEvertex, timeUpdateGeometry, totalTime, TRUE, CompositeGrid::update(), MappedGrid::update(), updateBoundaryAdjustment(), updateOverlap(), useBoundaryAdjustment, MappedGrid::USESbackupRules, CompositeGrid::variableInterpolationWidth, x, and XC.
Referenced by updateOverlap().
|
protected |
The new moving grid generator (parallel version)
References Overture::abort(), adjustBoundary(), adjustSizeMacro, assert, aString, axis1, axis2, axis3, backupValues, backupValuesUsed, CompositeGridData::boundaryAdjustment, boundaryCondition, MappedGrid::boundaryCondition(), c, canDiscretize(), CompositeGridData::canInterpolate(), MappedGrid::center(), center, checkCanInterpolate(), checkForOneSided, checkOverlappingGrid(), GenericGridData::computedGeometry, GenericGridCollectionData::computedGeometry, GenericGridCollection::computedGeometry(), computeInterpolationStencil(), GenericGridCollection::COMPUTEnothing, debug, MappedGrid::dimension(), display(), displayMask(), End, ENDFORJP, ENDFORJP_STENCIL, MappedGrid::extendedIndexRange(), MappedGrid::extendedRange(), FORJP, FORJP_STENCIL, generateInterpolationArrays(), GET_LOCAL, TrivialArray< Type, Dim >::getBase(), TrivialArray< Type, Dim >::getBound(), getCPU(), ListOfIntSerialArray::getLength(), MappingRC::getMapping(), MappedGrid::getRectangularGridParameters(), GI_COLOUR_INTERPOLATION_POINTS, GI_PLOT_INTERPOLATION_POINTS, MappedGrid::gridIndexRange(), MappedGrid::gridSpacing(), i2, ia, MappedGrid::indexRange(), info, CompositeGrid::interpolationCoordinates, interpolationCoordinates, CompositeGridData::interpolationCoordinatesLocal, CompositeGrid::interpolationOverlap, CompositeGridData::interpolationPoint, CompositeGrid::interpolationPoint, CompositeGridData::interpolationPointLocal, CompositeGrid::interpolationStartEndIndex, CompositeGrid::interpolationWidth, CompositeGrid::interpoleeGrid, interpoleeGrid, CompositeGridData::interpoleeGridLocal, CompositeGrid::interpoleeLocation, interpoleeLocation, CompositeGridData::interpoleeLocationLocal, CompositeGrid::inverseCoordinates, CompositeGrid::inverseGrid, Mapping::inverseMap(), Mapping::inverseMapS(), ip, MappedGrid::isAllCellCentered(), MappedGrid::isCellCentered(), MappedGrid::ISdiscretizationPoint, MappedGrid::ISinterpolationPoint, isMovingGridProblem, isNew, MappedGrid::isPeriodic(), MappedGrid::isRectangular(), CompositeGridData::localInterpolationDataForAll, CompositeGridData::localInterpolationDataState, MappedGrid::mapping(), markMaskAtGhost(), mask, MappedGrid::mask(), mask2, max(), min(), myid, CompositeGridData::noLocalInterpolationData, NULL, GenericGridCollection::numberOfBaseGrids(), GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), MappedGrid::numberOfDimensions(), GenericGridCollection::numberOfGrids(), CompositeGrid::numberOfInterpolationPoints, CompositeGridData::numberOfInterpolationPointsLocal, numberOfOrphanPoints, orphanPoint, OV_GET_SERIAL_ARRAY_CONDITIONAL, plot(), plotOrphanPoints, printF(), psp, r, R, CompositeGrid::rcData, TrivialArray< Type, Dim >::redim(), GraphicsParameters::set(), sPrintF(), Start, MappedGrid::THEcenter, CompositeGrid::THEinterpolationCoordinates, CompositeGrid::THEinterpolationPoint, CompositeGrid::THEinterpoleeGrid, CompositeGrid::THEinterpoleeLocation, CompositeGrid::THEinverseMap, GridCollection::THEmask, GenericGridCollection::THErefinementLevel, MappedGrid::THEvertex, timeUpdateGeometry, totalTime, CompositeGrid::update(), MappedGrid::update(), updateBoundaryAdjustment(), updateOverlap(), useBoundaryAdjustment, MappedGrid::USESbackupRules, CompositeGrid::variableInterpolationWidth, CompositeGridData::variableInterpolationWidthLocal, x, and XC.
Referenced by movingUpdate().
|
protected |
References MappedGrid::gridIndexRange(), max(), and min().
Referenced by adjustBoundary(), adjustBoundarySerial(), and getAdjustmentVectors().
|
protected |
References abs(), DialogData::addInfoLabel(), GenericGraphicsInterface::appendToTheDefaultPrompt(), assert, aString, buff, GUIState::buildPopup(), cutMapInfo, debug, displayMask(), GenericGraphicsInterface::erase(), fabs(), GraphicsParameters::get(), GenericGraphicsInterface::getAnswer(), GenericGraphicsInterface::getColourName(), ListOfMappingRC::getLength(), GenericGraphicsInterface::getLineWidthScaleFactor(), ParallelUtility::getMaxValue(), GenericGraphicsInterface::getMenuItem(), ParallelUtility::getSum(), DialogData::getTextValue(), DialogData::getToggleValue(), GI_COLOUR_INTERPOLATION_POINTS, GI_PLOT_BLOCK_BOUNDARIES, GI_PLOT_GRID_LINES, GI_PLOT_INTERPOLATION_POINTS, GI_PLOT_SHADED_SURFACE_GRIDS, GI_PLOT_THE_OBJECT_AND_EXIT, GI_POINT_COLOUR, GI_POINT_SIZE, GI_TOP_LABEL, GI_USE_PLOT_BOUNDS, holeCutters, holePoint, ia, incrementalHoleSweep, info, GenericGraphicsInterface::inputString(), MappingInformation::mappingList, mask, max(), myid, NULL, Overture::nullRealArray(), GenericGridCollection::numberOfBaseGrids(), GenericGraphicsInterface::numberOfColourNames, GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), numberOfHolePoints, numberOfOrphanPoints, orphanPoint, PlotIt::plot(), plotExplicitHoleCutters, plotHolePoints, plotOrphanPoints, GenericGraphicsInterface::plotPoints(), plotTitles, points(), pointSize, GenericGraphicsInterface::popGUI(), printF(), printOrphanPoints(), ps, psp, GenericGraphicsInterface::pushGUI(), queryAPoint(), R, resetTheGrid, saveGridToAFile(), GraphicsParameters::set(), DialogData::setExitCommand(), DialogData::setPushButtons(), DialogData::setTextBoxes(), DialogData::setToggleButtons(), DialogData::setWindowTitle(), sPrintF(), sScanF(), GenericGraphicsInterface::stopReadingCommandFile(), GenericGraphicsInterface::unAppendTheDefaultPrompt(), and GridCollection::USESbackupRules.
Referenced by changeParameters(), classifyPoints(), computeOverlap(), movingUpdate(), movingUpdateNew(), and queryAPoint().
|
protected |
References adjustBoundary(), assert, axis1, axis2, axis3, MappedGrid::boundaryCondition(), GridCollection::boundingBox, boundingBox, c, CompositeGridData::canInterpolate(), MappedGrid::center(), center, checkForOneSided, debug, End, MappedGrid::extendedIndexRange(), getCPU(), getIndex(), MappedGrid::getName(), GenericGridCollection::gridNumber, i2, ia, info, CompositeGrid::inverseCoordinates, CompositeGrid::inverseGrid, MappedGrid::ISinterpolationPoint, isNeededForDiscretization(), mask, MappedGrid::mask(), min(), GenericGridCollection::numberOfBaseGrids(), GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), preInterpolate, printF(), r, R, R0, CompositeGrid::rcData, S, Start, timePreInterpolate, useBoundaryAdjustment, and x.
Referenced by checkInterpolationOnBoundaries().
int Ogen::printOrphanPoints | ( | CompositeGrid & | cg | ) |
Print the locations of orphan points.
References fabs(), MappingRC::getMapping(), MappedGrid::getName(), MappedGrid::gridIndexRange(), MappedGrid::gridSpacing(), Mapping::inverseMap(), Mapping::inverseMapS(), MappedGrid::mapping(), GenericGridCollection::numberOfBaseGrids(), GridCollection::numberOfDimensions(), numberOfOrphanPoints, orphanPoint, printF(), r, and x.
Referenced by plot(), and queryAPoint().
|
protected |
References End, fabs(), min(), GridCollection::numberOfDimensions(), r, rBound, REAL_EPSILON, s, and Start.
Referenced by cutHoles().
|
protected |
References End, fabs(), min(), rBound, REAL_EPSILON, s, and Start.
Referenced by getHoleWidth().
|
protected |
References Overture::abort(), DialogData::addRadioBox(), GenericGraphicsInterface::appendToTheDefaultPrompt(), Mapping::approximateGlobalInverse, assert, aString, buff, c, MappedGrid::center(), center, debug, Mapping::debug, dim, MappedGrid::dimension(), MappedGrid::discretizationWidth(), GenericGraphicsInterface::erase(), fabs(), findClosestBoundaryPoint(), ApproximateGlobalInverse::findNearestGridPoint(), generateInterpolationArrays(), GraphicsParameters::get(), GenericGraphicsInterface::getAnswer(), GenericGraphicsInterface::getLineWidthScaleFactor(), MappingRC::getMapping(), MappedGrid::getName(), DialogData::getRadioBox(), GI_PLOT_THE_OBJECT_AND_EXIT, GI_POINT_COLOUR, GI_POINT_SIZE, MappedGrid::gridIndexRange(), MappedGrid::gridSpacing(), i2, interpolateAPoint(), Mapping::inverseMap(), Mapping::inverseMapS(), MappedGrid::mapping(), mask, MappedGrid::mask(), myid, SelectionInfo::nSelect, NULL, GenericGridCollection::numberOfBaseGrids(), GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), MappedGrid::numberOfDimensions(), numberOfOrphanPoints, orphanPoint, OV_GET_SERIAL_ARRAY_CONST, PlotIt::plot(), plot(), GenericGraphicsInterface::plotPoints(), pointSize, GenericGraphicsInterface::popGUI(), printF(), printOrphanPoints(), ps, psp, GenericGraphicsInterface::pushGUI(), r, R, SelectionInfo::selection, GraphicsParameters::set(), RadioBox::setCurrentChoice(), DialogData::setExitCommand(), DialogData::setPushButtons(), DialogData::setTextBoxes(), DialogData::setTextLabel(), DialogData::setToggleButtons(), DialogData::setToggleState(), DialogData::setWindowTitle(), sPrintF(), sScanF(), GenericGraphicsInterface::stopReadingCommandFile(), MappedGrid::THEcenter, MappedGrid::THEmask, MappedGrid::THEvertex, GenericGraphicsInterface::unAppendTheDefaultPrompt(), MappedGrid::update(), MappedGrid::vertex(), SelectionInfo::x, and x.
Referenced by plot().
|
protected |
References assert, MappedGrid::boundaryCondition(), MappedGrid::center(), checkCrossings(), countCrossingsWithRealBoundary(), End, MappedGrid::extendedIndexRange(), FALSE, getCPU(), getGhostIndex(), getIndex(), MappingRC::getName(), MappedGrid::gridIndexRange(), holePoint, i2, ia, info, CompositeGridData::initialize(), MappedGrid::isAllCellCentered(), MappedGrid::ISdiscretizationPoint, MappedGrid::isPeriodic(), MappedGrid::ISreservedBit0, MappedGrid::mapping(), Mapping::mappingName, mask, MappedGrid::mask(), max(), GenericGridCollection::numberOfBaseGrids(), GridCollection::numberOfDimensions(), numberOfHolePoints, R, SQR, Start, timeRemoveExteriorPoints, totalTime, TRUE, and x.
|
protected |
References abs(), assert, MappedGrid::boundaryCondition(), MappedGrid::center(), center, debug, displayMask(), End, extendedGridIndexRange(), GET_LOCAL, getCPU(), getGhostIndex(), getIndex(), ParallelUtility::getLocalArrayBounds(), getLocalArrayWithGhostBoundaries(), ParallelUtility::getMaxValue(), MappingRC::getName(), MappedGrid::getRectangularGridParameters(), MappedGrid::gridIndexRange(), holePoint, i2, info, MappedGrid::isAllCellCentered(), MappedGrid::isRectangular(), logFile, manualHole, MappedGrid::mapping(), Mapping::mappingName, mask, MappedGrid::mask(), max(), min(), GenericGridCollection::numberOfBaseGrids(), GridCollection::numberOfDimensions(), numberOfHolePoints, numberOfManualHoles, plogFile, pow(), printF(), R, sPrintF(), timeRemoveExteriorPoints, totalTime, and XC.
Referenced by computeOverlap().
int Ogen::resetGrid | ( | CompositeGrid & | cg | ) |
References GET_LOCAL, CompositeGrid::inverseCoordinates, CompositeGrid::inverseGrid, MappedGrid::ISdiscretizationPoint, isNew, mask, GenericGridCollection::numberOfBaseGrids(), numberOfHolePoints, CompositeGrid::numberOfInterpolationPoints, numberOfOrphanPoints, MappedGrid::THEmask, CompositeGrid::update(), and useAnOldGrid.
Referenced by computeOverlap(), and updateOverlap().
|
static |
References CompositeGrid::destroy(), MappedGrid::EVERYTHING, HDF_DataBase::mount(), GenericDataBase::normalMode, GenericDataBase::noStreamMode, printF(), HDF_DataBase::put(), CompositeGrid::put(), HDF_DataBase::setMode(), MappedGrid::THEmask, and HDF_DataBase::unmount().
Referenced by computeOverlap(), generateInterpolationArrays(), markPointsNeededForInterpolationNew(), plot(), and PlotIt::plotGrid().
void Ogen::set | ( | const OgenParameterEnum | option, |
const bool | value | ||
) |
void Ogen::set | ( | const OgenParameterEnum | option, |
const int | value | ||
) |
void Ogen::set | ( | const OgenParameterEnum | option, |
const real | value | ||
) |
|
protected |
References assert, GenericGridCollection::componentGridNumber, CompositeGrid::destroy(), End, CompositeGrid::EVERYTHING, gridIndexRange, GenericGridCollection::gridNumber, CompositeGrid::interpolationIsImplicit, CompositeGrid::interpolationOverlap, CompositeGrid::interpolationWidth, CompositeGrid::mayCutHoles, CompositeGrid::multigridCoarseningRatio, CompositeGrid::multigridLevel, CompositeGrid::multigridProlongationWidth, CompositeGrid::multigridRestrictionWidth, GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), MappedGrid::numberOfDimensions(), GenericGridCollection::numberOfMultigridLevels(), MappedGrid::setGridIndexRange(), MappedGrid::setNumberOfGhostPoints(), CompositeGrid::sharedSidesMayCutHoles, Start, and GenericGridCollection::THElists.
Referenced by updateOverlap().
|
protected |
References assert.
Referenced by markOffAxisRefinementMask().
|
inlineprotected |
return true if grid1 face=(side1,dir1) shares a boundary with grid2 face=(side2,dir2)
References manualSharedBoundary, and numberOfManualSharedBoundaries.
|
protected |
References assert, MappedGrid::boundaryCondition(), MappedGrid::center(), center, End, MappedGrid::extendedIndexRange(), getCPU(), getGhostIndex(), getIndex(), MappingRC::getName(), MappedGrid::getRectangularGridParameters(), MappedGrid::gridIndexRange(), holePoint, i2, incrementalHoleSweep, info, MappedGrid::isAllCellCentered(), MappedGrid::isRectangular(), MappedGrid::mapping(), Mapping::mappingName, mask, MappedGrid::mask(), GenericGridCollection::numberOfBaseGrids(), GridCollection::numberOfDimensions(), MappedGrid::numberOfDimensions(), numberOfHolePoints, pow(), printF(), timeRemoveExteriorPoints, totalTime, and XC.
Referenced by computeOverlap().
|
inline |
References classifyHolesForHybrid, and FALSE.
|
inline |
References classifyHolesForHybrid, and TRUE.
Referenced by ogen().
|
protected |
References assert, MappedGrid::boundaryCondition(), MappedGrid::boundaryFlag(), c, canDiscretize(), End, MappedGrid::extendedIndexRange(), FOR_3D, GET_LOCAL, getBoundaryIndex(), ParallelUtility::getLocalArrayBounds(), MappingRC::getMapping(), MappingRC::getName(), Mapping::getTypeOfCoordinateSingularity(), MappedGrid::gridIndexRange(), i2, info, CompositeGrid::inverseCoordinates, CompositeGrid::inverseGrid, INVERSEGRID, MappedGrid::isAllVertexCentered(), MappedGrid::ISdiscretizationPoint, MappedGrid::ISinteriorBoundaryPoint, MappedGrid::ISinterpolationPoint, MappedGrid::mapping(), Mapping::mappingName, MASK, MappedGrid::mask(), GenericGridCollection::numberOfBaseGrids(), GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), MappedGrid::physicalBoundary, plogFile, Mapping::polarSingularity, and Start.
Referenced by classifyPoints().
|
protected |
References c, canDiscretize(), End, MappedGrid::extendedIndexRange(), FOR_3D, GET_LOCAL, getIndex(), ParallelUtility::getLocalArrayBounds(), MappingRC::getMapping(), Mapping::getTypeOfCoordinateSingularity(), MappedGrid::gridIndexRange(), i2, CompositeGrid::inverseGrid, INVERSEGRID, MappedGrid::isAllVertexCentered(), MappedGrid::ISdiscretizationPoint, MappedGrid::ISinterpolationPoint, MappedGrid::isPeriodic(), MappedGrid::mapping(), MASK, MappedGrid::mask(), GenericGridCollection::numberOfBaseGrids(), GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), Mapping::polarSingularity, and Start.
Referenced by classifyPoints().
|
protected |
References Overture::abort(), abs(), adjustBoundary(), assert, axis1, axis2, axis3, GenericGridCollection::baseGridNumber, BoundaryAdjustment::boundaryAdjustment(), CompositeGridData::boundaryAdjustment, boundaryEps, MappedGrid::boundingBox(), boundingBox, checkBoundaryAdjustment(), checkForBoundaryAdjustments(), Overture::checkMemoryUsage(), BoundaryAdjustment::computedGeometry, GenericGridCollectionData::computedGeometry, debug, delta, BoundaryAdjustment::destroy(), determineBoundaryPointsToAdjust(), dim, MappedGrid::dimension(), BoundaryAdjustment::doNotShare, End, fabs(), FALSE, FOR_3D, GET_LOCAL_CONST, getAdjustmentVectors(), TrivialArray< Type, Dim >::getBase(), TrivialArray< Type, Dim >::getBound(), getBoundaryIndex(), ParallelUtility::getLocalArrayBounds(), getLocalArrayWithGhostBoundaries(), MappingRC::getMapping(), MappedGrid::getName(), TrivialArray< Type, Dim >::getNumberOfElements(), MappedGrid::getRectangularGridParameters(), MappedGrid::gridIndexRange(), BoundaryAdjustment::hasSharedSides(), i2, ia, info, Mapping::inverseMapC(), Mapping::inverseMapCS(), MappedGrid::isAllCellCentered(), MappedGrid::isAllVertexCentered(), isNew, MappedGrid::isRectangular(), manualSharedBoundary, MappedGrid::mapping(), MappedGrid::mask(), mask1, max(), Overture::nullIntArray(), Overture::nullRealArray(), GenericGridCollection::numberOfBaseGrids(), GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), MappedGrid::numberOfDimensions(), numberOfManualSharedBoundaries, plogFile, printF(), r, R, CompositeGrid::rcData, TrivialArray< Type, Dim >::redim(), BoundaryAdjustment::share, BoundaryAdjustment::shareButNoAdjustmentNeeded, BoundaryAdjustment::sidesShare(), sPrintF(), Start, THEinverseMap, THEmask, useBoundaryAdjustment, MappedGrid::vertex(), MappedGrid::vertexBoundaryNormal(), MappedGrid::vertexBoundaryNormalArray(), BoundaryAdjustment::wasCreated(), and XV1.
Referenced by checkInterpolationOnBoundaries(), movingUpdate(), and movingUpdateNew().
|
protected |
References adjustBoundary(), assert, c, canDiscretize(), CompositeGridData::canInterpolate(), checkForOneSided, debug, End, MappedGrid::extendedIndexRange(), FALSE, getIndex(), GenericGridCollection::gridNumber, gridSpacing, i2, ia, Mapping::intersects(), CompositeGrid::inverseCoordinates, CompositeGrid::inverseGrid, Mapping::inverseMap(), MappedGrid::ISdiscretizationPoint, MappedGrid::ISinterpolationPoint, mask, MappedGrid::mask(), GenericGridCollection::numberOfBaseGrids(), GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), MappedGrid::numberOfDimensions(), plogFile, printF(), CompositeGrid::rcData, Start, TRUE, useBoundaryAdjustment, MappedGrid::vertex(), and x.
Referenced by classifyPoints().
|
protected |
References boundingBox, buildBounds(), GenericGridData::computedGeometry, GenericGridCollectionData::computedGeometry, computeGeometryForMovingGrids, GenericGrid::COMPUTEnothing, GenericGridCollection::COMPUTEnothing, debug, End, GenericGrid::geometryHasChanged(), geometryNeedsUpdating, getCPU(), gridScale, info, CompositeGrid::inverseCoordinates, CompositeGrid::inverseGrid, MappedGrid::ISdiscretizationPoint, isNew, MappedGrid::isRectangular(), MappedGrid::mask(), max(), GenericGridCollection::numberOfBaseGrids(), GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), numberOfGridsHasChanged, printF(), rBound, Start, MappedGrid::THEboundingBox, MappedGrid::THEcenter, CompositeGrid::THEinverseMap, GridCollection::THEmask, MappedGrid::THEmask, MappedGrid::THEvertex, MappedGrid::THEvertexBoundaryNormal, CompositeGrid::update(), MappedGrid::update(), and warnForSharedSides.
Referenced by changeParameters(), and updateOverlap().
int Ogen::updateOverlap | ( | CompositeGrid & | cg, |
MappingInformation & | mapInfo | ||
) |
References Overture::getGraphicsInterface(), MappingInformation::graphXInterface, NULL, and ps.
Referenced by computeOverlap(), main(), movingUpdate(), movingUpdateNew(), and ogen().
int Ogen::updateOverlap | ( | CompositeGrid & | cg | ) |
References assert, aString, GenericGridCollection::baseGridNumber, GraphicsParameters::colourByGrid, GenericGridCollection::componentGridNumber, GenericGridCollectionData::computedGeometry, GenericGridCollection::COMPUTEnothing, computeOverlap(), debug, determineMinimalIndexRange(), FALSE, geometryNeedsUpdating, getCPU(), GenericGraphicsInterface::getMenuItem(), GI_BOUNDARY_COLOUR_OPTION, GI_COLOUR_INTERPOLATION_POINTS, GI_PLOT_BLOCK_BOUNDARIES, GI_PLOT_LINES_ON_GRID_BOUNDARIES, GI_PLOT_SHADED_SURFACE_GRIDS, GI_PLOT_THE_OBJECT_AND_EXIT, GenericGridCollection::gridNumber, info, CompositeGrid::interpolationCoordinates, CompositeGrid::interpolationPoint, CompositeGrid::interpoleeGrid, CompositeGrid::interpoleeLocation, isNew, maskRatio, CompositeGrid::multigridLevel, NULL, GenericGridCollection::numberOfBaseGrids(), GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), numberOfGridsHasChanged, numberOfHolePoints, CompositeGrid::numberOfInterpolationPoints, GenericGridCollection::numberOfMultigridLevels(), numberOfOrphanPoints, pow(), ps, psp, resetGrid(), resetTheGrid, GraphicsParameters::set(), setGridParameters(), GenericGraphicsInterface::stopReadingCommandFile(), CompositeGrid::THEinterpolationCoordinates, CompositeGrid::THEinterpolationPoint, CompositeGrid::THEinterpoleeGrid, CompositeGrid::THEinterpoleeLocation, GridCollection::THEmask, GenericGridCollection::THEmultigridLevel, timeUpdateGeometry, totalTime, TRUE, CompositeGrid::update(), updateGeometry(), and CompositeGrid::variableInterpolationWidth.
int Ogen::updateOverlap | ( | CompositeGrid & | cg, |
CompositeGrid & | cgNew, | ||
const LogicalArray & | hasMoved, | ||
const MovingGridOption & | option = useOptimalAlgorithm |
||
) |
References abs(), assert, GenericGridCollection::baseGridNumber, boundingBox, intMappedGridFunction::breakReference(), buildBounds(), GenericGridData::computedGeometry, GenericGridCollectionData::computedGeometry, computeGeometryForMovingGrids, GenericGridCollection::COMPUTEnothing, computeOverlap(), debug, End, MappedGrid::extendedIndexRange(), FALSE, GenericGrid::geometryHasChanged(), GET_NUMBER_OF_ARRAYS, getCPU(), GI_PLOT_THE_OBJECT_AND_EXIT, MappedGrid::gridIndexRange(), gridScale, MappedGrid::indexRange(), info, CompositeGrid::inverseCoordinates, CompositeGrid::inverseGrid, MappedGrid::ISdiscretizationPoint, isMovingGridProblem, MappedGrid::isRectangular(), MappedGridData::mask, MappedGrid::mask(), max(), movingUpdate(), NULL, numberOfArrays, GenericGridCollection::numberOfBaseGrids(), GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), numberOfGridsHasChanged, numberOfHolePoints, CompositeGrid::numberOfInterpolationPoints, numberOfOrphanPoints, printF(), psp, MappedGrid::rcData, GenericGridCollection::refinementLevelNumber, GraphicsParameters::set(), Start, MappedGrid::THEboundingBox, MappedGrid::THEcenter, CompositeGrid::THEinverseMap, GridCollection::THEmask, MappedGrid::THEmask, GenericGridCollection::THErefinementLevel, MappedGrid::THEvertex, MappedGrid::THEvertexBoundaryNormal, timeUpdateGeometry, totalTime, TRUE, CompositeGrid::update(), MappedGrid::update(), MappedGrid::updateReferences(), useNewMovingUpdate, useOptimalAlgorithm, and warnForSharedSides.
int Ogen::updateParameters | ( | CompositeGrid & | cg, |
const int | level = -1 , |
||
const RealArray & | minimumOverlap = Overture::nullRealArray() |
||
) |
References MappedGrid::discretizationWidth(), MappedGrid::extendedIndexRange(), CompositeGrid::interpolationIsImplicit, CompositeGrid::interpolationOverlap, CompositeGrid::interpolationWidth, max(), min(), GenericGridCollection::numberOfBaseGrids(), GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), GenericGridCollection::numberOfMultigridLevels(), and GenericGridCollection::refinementLevelNumber.
Referenced by changeParameters(), updateRefinement(), updateRefinementNew(), and updateRefinementNewer().
int Ogen::updateRefinement | ( | CompositeGrid & | cg, |
const int & | refinementLevel = -1 |
||
) |
References Overture::abort(), abs(), assert, axis1, axis2, axis3, GenericGridCollection::baseGridNumber, MappedGrid::boundaryCondition(), buff, CompositeGridData::canInterpolate(), canInterpolate(), checkForOneSided, checkRefinementInterpolation(), GenericGridData::computedGeometry, GenericGridCollectionData::computedGeometry, GenericGridCollection::COMPUTEnothing, debug, MappedGrid::dimension(), MappedGrid::discretizationWidth(), display(), displayMask(), dx, End, evaluate(), MappedGrid::extendedIndexRange(), FALSE, floorDiv(), fmod(), FOR_3BR, FOR_3D, FOR_3S, fPrintF(), Mapping::functionPeriodic, getBoundaryIndex(), getCPU(), getIndex(), MappedGrid::getRectangularGridParameters(), GIR, MappedGrid::gridIndexRange(), GenericGridCollection::gridNumber, MappedGrid::gridSpacing(), i2, ig, il, indexRange, MappedGrid::indexRange(), CompositeGrid::interpolationCoordinates, interpolationCoordinates, CompositeGrid::interpolationOverlap, CompositeGrid::interpolationPoint, interpolationPointBaseGrid, CompositeGrid::interpolationStartEndIndex, CompositeGrid::interpolationWidth, interpoleeBaseGrid, CompositeGrid::interpoleeGrid, interpoleeGrid, CompositeGrid::interpoleeLocation, interpoleeLocation, ip, IP, IPBG, MappedGrid::isAllCellCentered(), MappedGrid::isCellCentered(), MappedGrid::ISdiscretizationPoint, MappedGrid::ISghostPoint, MappedGrid::ISinterpolationPoint, isPeriodic, MappedGrid::isPeriodic(), MappedGrid::isRectangular(), l3, CompositeGridData::localInterpolationDataForAll, CompositeGridData::localInterpolationDataForAMR, CompositeGridData::localInterpolationDataState, logFile, markOffAxisRefinementMask(), mask, MASK, MappedGrid::mask(), MASKB, MASKR, max(), min(), GenericGridCollection::numberOfBaseGrids(), GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), MappedGrid::numberOfGhostPoints(), CompositeGrid::numberOfInterpolationPoints, numberOfPossibleInterpoleeBaseGrids, GenericGridCollection::numberOfRefinementLevels(), outputRefinementInfo(), intMappedGridFunction::periodicUpdate(), plogFile, r, R, CompositeGrid::rcData, GridCollection::refinementFactor, GridCollection::refinementLevel, GridCollection::setMaskAtRefinements(), sPrintF(), Start, MappedGrid::THEcenter, CompositeGrid::THEinterpolationCoordinates, CompositeGrid::THEinterpolationPoint, CompositeGrid::THEinterpoleeGrid, CompositeGrid::THEinterpoleeLocation, GridCollection::THEmask, MappedGrid::THEmask, MappedGrid::THEvertex, totalTime, TRUE, CompositeGrid::update(), updateParameters(), updateRefinementNewer(), CompositeGrid::variableInterpolationWidth, variableInterpolationWidth, MappedGrid::vertex(), VERTEX0, VERTEX1, and VERTEX2.
Referenced by main().
int Ogen::updateRefinementFillInterpolationData | ( | CompositeGrid & | cg, |
UpdateRefinementData & | urd | ||
) |
References Overture::abort(), assert, axis3, B, IndexBox::base(), GenericGridCollection::baseGridNumber, IndexBox::bound(), MappedGrid::boundaryCondition(), buff, canInterpolate(), CanInterpolate::cgCanInterpolate(), checkForOneSided, Overture::checkMemoryUsage(), ciLocal, computeInterpolationStencil(), CopyArray::copyCoarseToFine(), debug, display(), displayMask(), dx, End, MappedGrid::extendedIndexRange(), FALSE, floorDiv(), fmod(), fPrintF(), Mapping::functionPeriodic, getCPU(), getIndex(), getLocalArrayWithGhostBoundaries(), ParallelUtility::getMaxValues(), MappedGrid::getRectangularGridParameters(), GIR, MappedGrid::gridIndexRange(), GenericGridCollection::gridNumber, MappedGrid::gridSpacing(), i2, ia, ig, il, ilLocal, indexRange, MappedGrid::indexRange(), interpCoords, CompositeGrid::interpolationCoordinates, interpolationCoordinates, CompositeGridData::interpolationCoordinatesLocal, CompositeGrid::interpolationOverlap, CompositeGrid::interpolationPoint, interpolationPointBaseGrid, CompositeGridData::interpolationPointLocal, CompositeGrid::interpolationStartEndIndex, CompositeGrid::interpolationWidth, interpoleeBaseGrid, CompositeGrid::interpoleeGrid, interpoleeGrid, CompositeGridData::interpoleeGridLocal, interpoleeLocation, CompositeGridData::interpoleeLocationLocal, IndexBox::intersect(), ip, IP, IPBG, MappedGrid::isCellCentered(), IndexBox::isEmpty(), MappedGrid::ISinterpolationPoint, isPeriodic, MappedGrid::isPeriodic(), MappedGrid::isRectangular(), l3, logFile, mask, MappedGrid::mask(), MASKB, max(), min(), myid, Overture::nullRealArray(), GenericGridCollection::numberOfBaseGrids(), GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), CompositeGrid::numberOfInterpolationPoints, CompositeGridData::numberOfInterpolationPointsLocal, numberOfPossibleInterpoleeBaseGrids, GenericGridCollection::numberOfRefinementLevels(), outputRefinementInfoNew(), plogFile, pow(), printF(), IndexBox::processor, ParallelUtility::redistribute(), GridCollection::refinementFactor, GridCollection::refinementLevel, IndexBox::setBounds(), sPrintF(), Start, UpdateRefinementData::timeForCopyInterpPoints, UpdateRefinementData::timeForInterpData, variableInterpolationWidth, CompositeGridData::variableInterpolationWidthLocal, MappedGrid::vertex(), VERTEX0, VERTEX1, and VERTEX2.
Referenced by updateRefinementNewer().
int Ogen::updateRefinementFillInterpolationDataNew | ( | CompositeGrid & | cg, |
UpdateRefinementData & | urd | ||
) |
References Overture::abort(), assert, axis3, B, GenericGridCollection::baseGridNumber, MappedGrid::boundaryCondition(), buff, CanInterpolate::canInterpolate(), canInterpolate(), checkForOneSided, ciLocal, CopyArray::copyCoarseToFine(), debug, display(), displayMask(), CanInterpolate::CanInterpolateQueryData::donor, dx, End, MappedGrid::extendedIndexRange(), FALSE, floorDiv(), fmod(), fPrintF(), Mapping::functionPeriodic, getCPU(), getIndex(), getLocalArrayWithGhostBoundaries(), ParallelUtility::getMaxValue(), MappedGrid::getRectangularGridParameters(), GIR, CanInterpolate::CanInterpolateQueryData::grid, MappedGrid::gridIndexRange(), GenericGridCollection::gridNumber, MappedGrid::gridSpacing(), CanInterpolate::CanInterpolateQueryData::i, i2, CanInterpolate::CanInterpolateQueryData::id, ig, CanInterpolate::CanInterpolateResultData::il, il, indexRange, MappedGrid::indexRange(), interpCoords, CompositeGrid::interpolationCoordinates, interpolationCoordinates, CompositeGridData::interpolationCoordinatesLocal, CompositeGrid::interpolationIsImplicit, CompositeGrid::interpolationPoint, interpolationPointBaseGrid, CompositeGridData::interpolationPointLocal, CompositeGrid::interpolationStartEndIndex, CompositeGrid::interpolationWidth, interpoleeBaseGrid, CompositeGrid::interpoleeGrid, interpoleeGrid, CompositeGridData::interpoleeGridLocal, interpoleeLocation, CompositeGridData::interpoleeLocationLocal, ip, IP, IPBG, ir, MappedGrid::isCellCentered(), MappedGrid::ISinterpolationPoint, isPeriodic, MappedGrid::isPeriodic(), MappedGrid::isRectangular(), l3, logFile, MappedGrid::mask(), MASKB, max(), min(), myid, NULL, Overture::nullRealArray(), GenericGridCollection::numberOfBaseGrids(), GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), CompositeGridData::numberOfInterpolationPointsLocal, numberOfPossibleInterpoleeBaseGrids, GenericGridCollection::numberOfRefinementLevels(), outputRefinementInfoNew(), OV_ABORT, plogFile, printF(), ParallelUtility::redistribute(), GridCollection::refinementFactor, GridCollection::refinementLevel, GenericGridCollection::refinementLevelNumber, CanInterpolate::CanInterpolateQueryData::rv, sPrintF(), Start, UpdateRefinementData::timeForCopyInterpPoints, UpdateRefinementData::timeForInterpData, CanInterpolate::transferInterpDataForAMR(), variableInterpolationWidth, CompositeGridData::variableInterpolationWidthLocal, MappedGrid::vertex(), VERTEX0, VERTEX1, VERTEX2, and CanInterpolate::CanInterpolateResultData::width.
Referenced by updateRefinementNewer().
int Ogen::updateRefinementNew | ( | CompositeGrid & | cg, |
const int & | refinementLevel = -1 |
||
) |
References Overture::abort(), abs(), ListOfFloatSerialArray::addElement(), ListOfIntSerialArray::addElement(), assert, axis1, axis2, axis3, B, GenericGridCollection::baseGridNumber, MappedGrid::boundaryCondition(), buff, canInterpolate(), CanInterpolate::cgCanInterpolate(), checkForOneSided, checkRefinementInterpolation(), GenericGridCollectionData::computedGeometry, GenericGridCollection::COMPUTEnothing, CopyArray::copyCoarseToFine(), debug, ListOfIntSerialArray::deleteElement(), ListOfFloatSerialArray::deleteElement(), MappedGrid::dimension(), MappedGrid::discretizationWidth(), display(), displayMask(), dx, End, MappedGrid::extendedIndexRange(), FALSE, floorDiv(), fmod(), FOR_3BR, FOR_3D, FOR_3IJD, FOR_3S, Mapping::functionPeriodic, CopyArray::getAggregateArray(), getBoundaryIndex(), getCPU(), getIndex(), ListOfFloatSerialArray::getLength(), ListOfIntSerialArray::getLength(), ParallelUtility::getLocalArrayBounds(), getLocalArrayWithGhostBoundaries(), ParallelUtility::getMaxValue(), MappedGrid::getRectangularGridParameters(), GIR, MappedGrid::gridIndexRange(), GenericGridCollection::gridNumber, MappedGrid::gridSpacing(), i2, ig, il, indexRange, MappedGrid::indexRange(), interpCoords, CompositeGrid::interpolationCoordinates, interpolationCoordinates, CompositeGridData::interpolationCoordinatesLocal, CompositeGrid::interpolationOverlap, CompositeGrid::interpolationPoint, interpolationPointBaseGrid, CompositeGridData::interpolationPointLocal, CompositeGrid::interpolationStartEndIndex, CompositeGrid::interpolationWidth, interpoleeBaseGrid, CompositeGrid::interpoleeGrid, interpoleeGrid, CompositeGridData::interpoleeGridLocal, interpoleeLocation, CompositeGridData::interpoleeLocationLocal, ip, IP, IPBG, MappedGrid::isCellCentered(), MappedGrid::ISdiscretizationPoint, MappedGrid::ISghostPoint, MappedGrid::ISinterpolationPoint, isPeriodic, MappedGrid::isPeriodic(), MappedGrid::isRectangular(), l3, logFile, markOffAxisRefinementMask(), mask, MASK, MappedGrid::mask(), MASKB, MASKR, max(), min(), myid, NULL, Overture::nullRealArray(), GenericGridCollection::numberOfBaseGrids(), GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), MappedGrid::numberOfGhostPoints(), GenericGridCollection::numberOfGrids(), CompositeGrid::numberOfInterpolationPoints, CompositeGridData::numberOfInterpolationPointsLocal, numberOfPossibleInterpoleeBaseGrids, GenericGridCollection::numberOfRefinementLevels(), outputRefinementInfoNew(), plogFile, r, R, redistribute(), GridCollection::refinementFactor, GridCollection::refinementLevel, GridCollection::setMaskAtRefinements(), sPrintF(), Start, MappedGrid::THEcenter, CompositeGrid::THEinterpolationCoordinates, CompositeGrid::THEinterpolationPoint, CompositeGrid::THEinterpoleeGrid, CompositeGrid::THEinterpoleeLocation, GridCollection::THEmask, MappedGrid::THEmask, MappedGrid::THEvertex, totalTime, TRUE, CompositeGrid::update(), updateParameters(), variableInterpolationWidth, CompositeGridData::variableInterpolationWidthLocal, MappedGrid::vertex(), VERTEX0, VERTEX1, and VERTEX2.
int Ogen::updateRefinementNewer | ( | CompositeGrid & | cg, |
const int & | refinementLevel = -1 |
||
) |
References Overture::abort(), abs(), ListOfIntSerialArray::addElement(), ListOfFloatSerialArray::addElement(), assert, axis1, axis2, axis3, GenericGridCollection::baseGridNumber, buff, checkForOneSided, Overture::checkMemoryUsage(), checkRefinementInterpolation(), GenericGridCollectionData::computedGeometry, GenericGridCollection::COMPUTEnothing, CopyArray::copyCoarseToFine(), debug, ListOfIntSerialArray::deleteElement(), ListOfFloatSerialArray::deleteElement(), MappedGrid::dimension(), MappedGrid::discretizationWidth(), displayMask(), End, MappedGrid::extendedIndexRange(), FALSE, floorDiv(), FOR_3BR, FOR_3D, FOR_3IJD, FOR_3S, fPrintF(), CopyArray::getAggregateArray(), getBoundaryIndex(), getCPU(), getIndex(), ListOfIntSerialArray::getLength(), ListOfFloatSerialArray::getLength(), ParallelUtility::getLocalArrayBounds(), getLocalArrayWithGhostBoundaries(), ParallelUtility::getMaxValue(), MappedGrid::gridIndexRange(), GenericGridCollection::gridNumber, i2, MappedGrid::indexRange(), CompositeGridData::interpolationCoordinatesLocal, CompositeGridData::interpolationPointLocal, CompositeGridData::interpoleeGridLocal, CompositeGridData::interpoleeLocationLocal, ip, IP, MappedGrid::ISdiscretizationPoint, MappedGrid::ISghostPoint, MappedGrid::ISinterpolationPoint, l3, logFile, markOffAxisRefinementMask(), mask, MASK, MappedGrid::mask(), MASKB, MASKR, max(), min(), myid, NULL, GenericGridCollection::numberOfBaseGrids(), GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), MappedGrid::numberOfGhostPoints(), GenericGridCollection::numberOfGrids(), CompositeGrid::numberOfInterpolationPoints, CompositeGridData::numberOfInterpolationPointsLocal, GenericGridCollection::numberOfRefinementLevels(), outputRefinementInfoNew(), plogFile, r, R, GridCollection::refinementFactor, GridCollection::refinementLevel, GridCollection::setMaskAtRefinements(), sPrintF(), Start, MappedGrid::THEcenter, CompositeGrid::THEinterpolationCoordinates, CompositeGrid::THEinterpolationPoint, CompositeGrid::THEinterpoleeGrid, CompositeGrid::THEinterpoleeLocation, GridCollection::THEmask, MappedGrid::THEmask, MappedGrid::THEvertex, UpdateRefinementData::timeForCopyInterpPoints, UpdateRefinementData::timeForInterpData, totalTime, TRUE, CompositeGrid::update(), updateParameters(), updateRefinementFillInterpolationData(), updateRefinementFillInterpolationDataNew(), and CompositeGridData::variableInterpolationWidthLocal.
Referenced by updateRefinement().
|
protected |
Referenced by computeOverlap(), initialize(), and set().
|
protected |
Referenced by changeParameters(), initialize(), and lastChanceInterpolation().
|
protected |
Referenced by classifyPoints(), initialize(), markPointsNeededForInterpolation(), and markPointsNeededForInterpolationNew().
|
protected |
|
protected |
Referenced by classifyPoints(), generateInterpolationArrays(), lastChanceInterpolation(), movingUpdate(), and movingUpdateNew().
|
protected |
|
protected |
Referenced by changeParameters(), checkInterpolationOnBoundaries(), classifyPoints(), classifyRedundantPoints(), generateInterpolationArrays(), plot(), queryAPoint(), updateRefinement(), updateRefinementFillInterpolationData(), updateRefinementFillInterpolationDataNew(), updateRefinementNew(), and updateRefinementNewer().
|
protected |
Referenced by computeOverlap(), initialize(), and ~Ogen().
|
protected |
Referenced by classifyPoints(), initialize(), interpolateAll(), interpolateAPoint(), interpolatePoints(), lastChanceInterpolation(), movingUpdate(), movingUpdateNew(), preInterpolateGrids(), updateCanInterpolate(), updateRefinement(), updateRefinementFillInterpolationData(), updateRefinementFillInterpolationDataNew(), updateRefinementNew(), and updateRefinementNewer().
|
protected |
Referenced by changeParameters(), classifyPoints(), initialize(), turnOffHybridHoleCutting(), and turnOnHybridHoleCutting().
|
protected |
Referenced by initialize(), set(), updateGeometry(), and updateOverlap().
|
protected |
Referenced by plot().
int Ogen::debug |
Referenced by adjustBoundary(), adjustBoundarySerial(), buildACompositeGrid(), buildBounds(), changeParameters(), checkBoundaryAdjustment(), checkHoleCutting(), checkInterpolationOnBoundaries(), checkUpdateRefinement(), classifyPoints(), classifyRedundantPoints(), computeOverlap(), countCrossingsWithRealBoundary(), cutHoles(), cutHolesNew(), cutHolesNewer(), determineBoundaryPointsToAdjust(), determineMinimalIndexRange(), explicitHoleCutting(), getAdjustmentVectors(), improveQuality(), initialize(), interpolateAll(), interpolateAPoint(), interpolateMixedBoundary(), interpolatePoints(), lastChanceInterpolation(), main(), markMaskAtGhost(), markPointsNeededForInterpolation(), markPointsNeededForInterpolationNew(), movingUpdate(), movingUpdateNew(), plot(), preInterpolateGrids(), queryAPoint(), removeExteriorPointsNew(), set(), updateBoundaryAdjustment(), updateCanInterpolate(), updateGeometry(), updateOverlap(), updateRefinement(), updateRefinementFillInterpolationData(), updateRefinementFillInterpolationDataNew(), updateRefinementNew(), and updateRefinementNewer().
int Ogen::defaultInterpolationIsImplicit |
Referenced by buildACompositeGrid(), and initialize().
int Ogen::defaultNumberOfGhostPoints |
Referenced by buildACompositeGrid(), and initialize().
bool Ogen::doubleCheckInterpolation |
Referenced by computeOverlap(), and initialize().
|
protected |
Referenced by changeParameters(), updateGeometry(), and updateOverlap().
|
protected |
Referenced by countCrossingsWithRealBoundary(), updateGeometry(), and updateOverlap().
|
protected |
Referenced by changeParameters(), cutHolesNew(), explicitHoleCutting(), initialize(), plot(), and ~Ogen().
|
protected |
Referenced by changeParameters(), computeOverlap(), and initialize().
|
protected |
|
protected |
Referenced by changeParameters(), classifyPoints(), initialize(), interpolateAll(), and set().
|
protected |
Referenced by computeOverlap(), initialize(), plot(), and sweepOutHolePoints().
int Ogen::info |
Referenced by buildACompositeGrid(), buildCutout(), checkForOrphanPointsOnBoundaries(), checkHoleCutting(), checkInterpolationOnBoundaries(), classifyPoints(), computeOverlap(), countCrossingsWithRealBoundary(), cutHoles(), cutHolesNew(), cutHolesNewer(), findBestGuess(), findTrueBoundary(), generateInterpolationArrays(), getHoleWidth(), improveQuality(), initialize(), interpolateAll(), movingUpdate(), movingUpdateNew(), plot(), preInterpolateGrids(), removeExteriorPoints(), removeExteriorPointsNew(), sweepOutHolePoints(), unmarkBoundaryInterpolationPoints(), updateBoundaryAdjustment(), updateGeometry(), and updateOverlap().
int Ogen::isMovingGridProblem |
Referenced by computeOverlap(), initialize(), movingUpdate(), movingUpdateNew(), and updateOverlap().
|
protected |
bool Ogen::loadBalanceGrids |
Referenced by buildACompositeGrid(), initialize(), and ogen().
|
protected |
Referenced by buildBounds(), checkHoleCutting(), checkInterpolationOnBoundaries(), classifyPoints(), classifyRedundantPoints(), computeOverlap(), cutHoles(), cutHolesNewer(), getAdjustmentVectors(), initialize(), interpolateMixedBoundary(), markMaskAtGhost(), markPointsNeededForInterpolation(), removeExteriorPointsNew(), updateRefinement(), updateRefinementFillInterpolationData(), updateRefinementFillInterpolationDataNew(), updateRefinementNew(), updateRefinementNewer(), and ~Ogen().
|
protected |
Referenced by classifyPoints(), and initialize().
|
protected |
Referenced by changeParameters(), cutHoles(), cutHolesNew(), cutHolesNewer(), and removeExteriorPointsNew().
|
protected |
|
protected |
|
protected |
Referenced by changeParameters().
|
protected |
Referenced by countCrossingsWithRealBoundary(), initialize(), and updateOverlap().
|
protected |
Referenced by changeParameters(), checkInterpolationOnBoundaries(), initialize(), and set().
|
protected |
Referenced by changeParameters(), initialize(), and interpolateAll().
|
protected |
Referenced by changeParameters(), classifyPoints(), and initialize().
|
protected |
Referenced by changeParameters(), checkInterpolationOnBoundaries(), and interpolateMixedBoundary().
|
protected |
Referenced by changeParameters(), and interpolateMixedBoundary().
int Ogen::myid |
Referenced by adjustBoundary(), buildACompositeGrid(), changeParameters(), checkForBoundaryAdjustments(), classifyPoints(), cutHolesNew(), cutHolesNewer(), getHoleWidth(), initialize(), interpolateAPoint(), lastChanceInterpolation(), markPointsNeededForInterpolationNew(), movingUpdateNew(), plot(), queryAPoint(), updateRefinementFillInterpolationData(), updateRefinementFillInterpolationDataNew(), updateRefinementNew(), and updateRefinementNewer().
|
protected |
Referenced by changeParameters(), cutHoles(), cutHolesNew(), and cutHolesNewer().
|
protected |
Referenced by initialize(), and updateOverlap().
|
protected |
Referenced by updateGeometry(), and updateOverlap().
|
protected |
|
protected |
Referenced by changeParameters(), cutHoles(), cutHolesNew(), cutHolesNewer(), initialize(), and removeExteriorPointsNew().
|
protected |
|
protected |
Referenced by changeParameters(), checkInterpolationOnBoundaries(), classifyPoints(), and initialize().
|
protected |
Referenced by changeParameters(), cutHoles(), cutHolesNew(), cutHolesNewer(), and initialize().
|
protected |
|
protected |
Referenced by changeParameters(), and initialize().
|
protected |
|
protected |
Referenced by computeOverlap(), initialize(), and set().
|
protected |
Referenced by adjustBoundary(), adjustBoundarySerial(), checkBoundaryAdjustment(), checkHoleCutting(), checkInterpolationOnBoundaries(), classifyPoints(), cutHolesNew(), cutHolesNewer(), determineBoundaryPointsToAdjust(), explicitHoleCutting(), getAdjustmentVectors(), getHoleWidth(), initialize(), interpolateAll(), interpolatePoints(), lastChanceInterpolation(), markPointsNeededForInterpolationNew(), removeExteriorPointsNew(), unmarkBoundaryInterpolationPoints(), updateBoundaryAdjustment(), updateCanInterpolate(), updateRefinement(), updateRefinementFillInterpolationData(), updateRefinementFillInterpolationDataNew(), updateRefinementNew(), updateRefinementNewer(), and ~Ogen().
|
protected |
Referenced by initialize(), and plot().
|
protected |
Referenced by computeOverlap(), and plot().
|
protected |
Referenced by cutHoles(), cutHolesNew(), cutHolesNewer(), movingUpdate(), movingUpdateNew(), and plot().
|
protected |
Referenced by initialize(), and plot().
|
protected |
Referenced by changeParameters(), and preInterpolateGrids().
|
protected |
Referenced by changeParameters(), chooseASide(), classifyPoints(), computeOverlap(), Ogen(), plot(), queryAPoint(), and updateOverlap().
|
protected |
Referenced by computeOverlap(), movingUpdate(), movingUpdateNew(), plot(), queryAPoint(), and updateOverlap().
|
protected |
Referenced by changeParameters(), improveQuality(), initialize(), and set().
|
protected |
|
protected |
Referenced by changeParameters().
|
protected |
Referenced by changeParameters().
|
protected |
Referenced by classifyPoints(), computeOverlap(), and initialize().
|
protected |
Referenced by checkHoleCutting(), cutHolesNew(), cutHolesNewer(), and initialize().
|
protected |
Referenced by computeOverlap(), cutHoles(), cutHolesNew(), cutHolesNewer(), and initialize().
|
protected |
Referenced by findTrueBoundary(), and initialize().
|
protected |
Referenced by classifyPoints(), computeOverlap(), and initialize().
|
protected |
Referenced by classifyPoints(), computeOverlap(), and initialize().
|
protected |
Referenced by checkInterpolationOnBoundaries(), computeOverlap(), and initialize().
|
protected |
Referenced by checkInterpolationOnBoundaries(), initialize(), and preInterpolateGrids().
|
protected |
Referenced by classifyPoints(), computeOverlap(), and initialize().
|
protected |
Referenced by computeOverlap(), initialize(), removeExteriorPoints(), removeExteriorPointsNew(), and sweepOutHolePoints().
|
protected |
Referenced by classifyPoints(), computeOverlap(), and initialize().
|
protected |
Referenced by computeOverlap(), initialize(), movingUpdate(), movingUpdateNew(), and updateOverlap().
|
protected |
Referenced by checkInterpolationOnBoundaries(), classifyPoints(), computeOverlap(), cutHoles(), cutHolesNew(), cutHolesNewer(), findTrueBoundary(), initialize(), movingUpdate(), movingUpdateNew(), removeExteriorPoints(), removeExteriorPointsNew(), sweepOutHolePoints(), updateOverlap(), updateRefinement(), updateRefinementNew(), and updateRefinementNewer().
|
protected |
Referenced by buildACompositeGrid(), and resetGrid().
|
protected |
Referenced by changeParameters(), checkInterpolationOnBoundaries(), classifyPoints(), cutHoles(), cutHolesNew(), cutHolesNewer(), initialize(), interpolateAll(), interpolateAPoint(), interpolatePoints(), lastChanceInterpolation(), movingUpdate(), movingUpdateNew(), preInterpolateGrids(), updateBoundaryAdjustment(), and updateCanInterpolate().
|
protected |
Referenced by changeParameters(), and initialize().
bool Ogen::useNewMovingUpdate |
Referenced by initialize(), and updateOverlap().
|
protected |
Referenced by checkInterpolationOnBoundaries(), updateGeometry(), and updateOverlap().