Overture
Version 25
|
#include <HyperbolicMapping.h>
Public Attributes | |
enum HyperbolicMapping::PickingOptionEnum | pickingOption |
enum HyperbolicMapping::BCoptionEnum | bcOption |
enum HyperbolicMapping::SpacingOptionEnum | spacingOption |
Public Attributes inherited from Mapping | |
int | computeMap |
int | computeMapDerivative |
int | base |
int | bound |
real | signForJacobian |
ApproximateGlobalInverse * | approximateGlobalInverse |
ExactLocalInverse * | exactLocalInverse |
DistributedInverse * | distributedInverse |
Static Public Attributes | |
static aString | boundaryConditionName [numberOfBoundaryConditions] |
static aString | ghostBoundaryConditionName [numberOfGhostBoundaryConditions] |
Static Public Attributes inherited from Mapping | |
static int | useInitialGuessForInverse =TRUE |
static int | debug =0 |
static FILE * | debugFile =NULL |
static FILE * | pDebugFile =NULL |
static const real | bogus =10. |
Protected Member Functions | |
int | buildMarchingParametersDialog (DialogData &marchingParametersDialog, aString bcChoices[]) |
int | assignMarchingParametersDialog (DialogData &marchingParametersDialog, aString bcChoices[]) |
bool | updateMarchingParameters (aString &answer, DialogData &marchingParametersDialog, aString bcChoices[], MappingInformation &mapInfo) |
int | buildPlotOptionsDialog (DialogData &plotOptionsDialog, GraphicsParameters ¶meters) |
bool | updatePlotOptions (aString &answer, DialogData &plotOptionsDialog, MappingInformation &mapInfo, GraphicsParameters ¶meters, GraphicsParameters &referenceSurfaceParameters) |
int | buildSurfaceGridParametersDialog (DialogData &plotOptionsDialog) |
bool | updateSurfaceGridParameters (aString &answer, DialogData &surfaceGridParametersDialog, MappingInformation &mapInfo, GraphicsParameters &referenceSurfaceParameters) |
int | buildBoundaryConditionMappingDialog (DialogData &dialog) |
int | updateBoundaryConditionMappingDialog (DialogData &dialog) |
bool | updateBoundaryConditionMappings (aString &answer, DialogData &dialog, bool checkSelection, SelectionInfo &select, MappingInformation &mapInfo) |
int | buildMarchingSpacingDialog (DialogData &marchingSpacingDialog) |
bool | updateMarchingSpacingOptions (aString &answer, DialogData &dialog, MappingInformation &mapInfo) |
int | buildStartCurveSpacingDialog (DialogData &stretchDialog) |
bool | updateStartCurveSpacingOptions (aString &answer, DialogData &dialog, MappingInformation &mapInfo) |
bool | updateOld (aString &answer, MappingInformation &mapInfo, GraphicsParameters &referenceSurfaceParameters) |
int | initialize () |
int | setup () |
int | updateForInitialCurve (bool updateNumberOfGridLines=true) |
int | setBoundaryConditionAndOffset (int side, int axis, int bc, int offset=-1) |
Set the boundary condition and offset. | |
int | initializeHyperbolicGridParameters () |
int | hypgen (GenericGraphicsInterface &gi, GraphicsParameters ¶meters) |
int | smooth (GenericGraphicsInterface &gi, GraphicsParameters ¶meters) |
int | evaluateStartCurve (realArray &xStart) |
int | initializeMarchingParameters (int numberOfAdditionalSteps, int &i3Start) |
int | initializeMarchingArrays (int i3Start, int numberOfAdditionalSteps, realArray &x, realArray &xt, realArray &xr, realArray &normal, realArray &xrr, realArray &s, realArray &ss, realArray &xrrDotN, realArray &kappa) |
int | initializeSurfaceGrid (int direction, int numberOfAdditionalSteps, int i3Start, int i3Begin, realArray &x, realArray &xt, realArray &xr, realArray &normal, realArray &ds, realArray &s, realArray &ss, realArray &xrr, realArray &normXr, realArray &normXs, realArray &xrSave) |
int | removeNormalComponentOfSmoothing (int axis, const Index &I1, const Index &I2, const Index &I3, realArray &xrr, realArray &xrrDotN, realArray &normal, realArray &xte) |
int | getNormalAndSurfaceArea (const realArray &x, const int &i3, realArray &normal, realArray &s, realArray &xr, realArray &xrr, const real &dSign, realArray &normXr, realArray &normXs, realArray &ss, const int &marchingDirection, int stepNumber=0) |
int | getCurvatureDependentSpeed (realArray &ds, realArray &kappa, const realArray &xrr, const realArray &normal, const realArray &normXr, const realArray &normXs) |
int | getDistanceToStep (const int &i3Delta, realArray &ds, const int &growthDirection) |
int | adjustDistanceToMarch (const int &numberOfAdditionalSteps, const int &growthDirection) |
int | applyBoundaryConditions (const realArray &x, const realArray &x0, const int &marchingDirection, realArray &normal, realArray &xr, bool initialStep=false, int stepNumber=0) |
int | applyBoundaryConditionMatchToMapping (const realArray &x, const int &marchingDirection, realArray &normal, realArray &xr, bool initialStep=false, int option=0) |
int | matchToCurve (bool projectBoundary, Index &I1, Index &I2, Mapping &matchingMapping, MappingProjectionParameters &mpParams, int i1Shift, int i2Shift, const realArray &x, const int &marchingDirection, realArray &normal, realArray &xr, const int sideBlend, const int axisBlend, bool initialStep=false, int option=0) |
Project points onto a boundary curve (or boundary surface for a 3d volume grid) or interior matching curve and adjust normals. | |
int | projectNormalsToMatchCurve (Mapping &matchingMapping, MappingProjectionParameters &mpParams, Index &I1, Index &I2, realArray &normal, realArray &nDot) |
int | blendNormals (realArray &normal, realArray &xr, int numberOfLinesToBlend, Index Iv[3], int axis, int side) |
Blend normals. | |
int | jacobiSmooth (realArray &ss, const int &numberOfSmooths) |
int | formCMatrix (realArray &xr, realArray &xt, const int &i3Mod2, realArray &normal, realArray &normXr, const int &direction) |
int | computeNonlinearDiffussionCoefficient (const realArray &normXr, const realArray &normXs, const realArray &normXt, const int &direction, int stepNumber) |
int | formBlockTridiagonalSystem (const int &direction, realArray &xTri) |
int | implicitSolve (realArray &xTri, const int &i3Mod2, realArray &xr, realArray &xt, realArray &normal, realArray &normXr, realArray &normXs, realArray &normXt, TridiagonalSolver &tri, int stepNumber) |
int | createCurveOnSurface (GenericGraphicsInterface &gi, SelectionInfo &select, Mapping *&curve, Mapping *mapPointer=NULL, real *xCoord=NULL, real *rCoord=NULL, int *boundaryCurveChosen=NULL, bool resetBoundaryConditions=true) |
int | buildCurve (GenericGraphicsInterface &gi, GraphicsParameters ¶meters, DialogData &dialog, aString &answer, SelectionInfo &select, Mapping *&newCurve, const aString &buildCurveColour, bool resetBoundaryConditions=true) |
int | computeCellVolumes (const realArray &xt, const int &i3Mod2, real &minCellVolume, real &maxCellVolume, const real &dSign) |
int | equidistributeAndStretch (const int &i3, const realArray &x, const real &weight, const int marchingDirection=1, bool stretchGrid=true) |
realArray | normalize (const realArray &u) |
int | project (const realArray &x, const int &marchingDirection, realArray &xr, const bool &setBoundaryConditions=TRUE, bool initialStep=false, int stepNumber=0) |
virtual int | project (realArray &x, MappingProjectionParameters &mpParams) |
int | correctProjectionOfInitialCurve (realArray &x, realArray &xr, CompositeSurface &cs, const int &marchingDirection, MappingProjectionParameters &mpParams) |
void | plotDirectionArrows (GenericGraphicsInterface &gi, GraphicsParameters ¶ms) |
int | plotCellQuality (GenericGraphicsInterface &gi, GraphicsParameters ¶meters) |
int | printStatistics (FILE *file=stdout) |
int | findMatchingBoundaryCurve (int side, int axis, int directionToMarch, GenericGraphicsInterface &gi, bool promptForChanges=false) |
int | findNormalsToStartCurve (realArray &r, realArray &normal, int directionToMarch) |
int | drawReferenceSurface (GenericGraphicsInterface &gi, GraphicsParameters &referenceSurfaceParameters, const real &surfaceOffset, const aString &referenceSurfaceColour, const aString &edgeCurveColour) |
int | drawReferenceSurfaceEdges (GenericGraphicsInterface &gi, GraphicsParameters ¶meters, const aString *boundaryColour) |
int | drawHyperbolicGrid (GenericGraphicsInterface &gi, GraphicsParameters ¶meters, bool plotNonPhysicalBoundaries, const real &initialOffset, const aString &hyperbolicMappingColour) |
int | drawBoundariesAndCurves (GenericGraphicsInterface &gi, GraphicsParameters ¶meters, GraphicsParameters &referenceSurfaceParameters, const real &surfaceOffset, const real &initialOffset, const aString &boundaryConditionMappingColour, const aString &referenceSurfaceColour, const aString &edgeCurveColour, const aString &buildCurveColour, const aString *boundaryColour) |
real | getDissipationCoefficient (int stepNumber) |
return the uniform dissipation coefficient as a function of the step number | |
void | setLinesAndDistanceLabels (DialogData &dialog) |
void | updateLinesAndDistanceToMarch () |
Protected Member Functions inherited from Mapping | |
int | buildMappingParametersDialog (DialogData &dialog) |
int | getMappingParametersOption (const aString &answer, DialogData &dialog, GenericGraphicsInterface &gi) |
: Look for a change to one of the mapping parameters. | |
int | updateMappingParametersDialog (DialogData &dialog) |
void | initializePartition () |
int | mappingHasChanged () |
void | setGridIsValid () |
void | setDefaultMappingBounds (const mappingSpace ms, Bound mappingBound[3][2]) |
void | setDefaultCoordinateSystemBounds (const coordinateSystem cs, Bound csBound[3][2]) |
int | validSide (const int side) const |
int | validAxis (const int axis) const |
void | mappingError (const aString &subName, const int side, const int axis) const |
Additional Inherited Members | |
Static Public Member Functions inherited from Mapping | |
static void | openDebugFiles () |
static void | closeDebugFiles () |
static real | epsilon () |
static void | setMinimumNumberOfDistributedGhostLines (int numGhost) |
static int | getGridMinAndMax (const realArray &u, const Range &R1, const Range &R2, const Range &R3, real uMin[3], real uMax[3], bool local=false) |
static Mapping * | makeMapping (const aString &mappingClassName) |
static MappingLinkedList & | staticMapList () |
Static Protected Attributes inherited from Mapping | |
static int | defaultNumberOfGhostPoints =0 |
static int | minimumNumberOfDistributedGhostLines =1 |
|
protected |
|
protected |
HyperbolicMapping::HyperbolicMapping | ( | ) |
References Mapping::debug, initialize(), initializeHyperbolicGridParameters(), Mapping::mappingHasChanged(), and NULL.
Referenced by make().
HyperbolicMapping::HyperbolicMapping | ( | const HyperbolicMapping & | map, |
const CopyType | copyType = DEEP |
||
) |
References DEEP, initialize(), and map().
HyperbolicMapping::HyperbolicMapping | ( | Mapping & | surface_ | ) |
Constructor.
{surface_ | (input)} Generate the grid starting from this curve (2D) or surface (3D) |
surface_ | (input) Generate the grid starting from this curve (2D) or surface (3D) |
References ReferenceCounting::incrementReferenceCount(), initialize(), initializeHyperbolicGridParameters(), Mapping::mappingHasChanged(), setup(), and ReferenceCounting::uncountedReferencesMayExist().
HyperbolicMapping::~HyperbolicMapping | ( | ) |
int HyperbolicMapping::addBoundaryCurves | ( | const int & | numberOfExtraBoundaryCurves, |
Mapping ** | extraBoundaryCurves | ||
) |
References bb, boundaryCurves, getBoundaryCurves(), ReferenceCounting::incrementReferenceCount(), and numberOfBoundaryCurves.
Referenced by MappingBuilder::build(), and update().
|
protected |
References Overture::abort(), constantSpacing, distance, geometricFactor, geometricNormalization, geometricSpacing, initialSpacing, linesToMarch, max(), oneDimensionalMappingSpacing, pow(), and spacingType.
Referenced by initializeMarchingParameters().
|
protected |
References assert, boundaryCondition, boundaryConditionMapping, boundaryConditionMappingProjectionParameters, boundaryOffset, MatchingCurve::curve, MatchingCurve::curveDirection, Mapping::debug, direction(), Mapping::domainDimension, End, getBoundaryIndex(), Mapping::getIsPeriodic(), MatchingCurve::gridLine, i2, indexRange, matchingCurves, matchToABoundaryCurve, matchToCurve(), matchToMapping, NULL, printF(), Mapping::project(), MatchingCurve::projectionParameters, Mapping::rangeDimension, Start, and surfaceGrid.
Referenced by applyBoundaryConditions(), and generate().
|
protected |
References Overture::abort(), applyBoundaryConditionMatchToMapping(), assert, axis1, axis2, axis3, boundaryCondition, Mapping::debug, direction(), display(), Mapping::domainDimension, dx, End, equidistributeAndStretch(), equidistributionWeight, evaluate(), fixXfloatYZ, fixYfloatXZ, fixZfloatXY, floatXfixYZ, floatYfixXZ, floatZfixXY, freeFloating, Mapping::functionPeriodic, getBoundaryIndex(), getCPU(), getGhostIndex(), Mapping::getIndex(), Mapping::getIsPeriodic(), gridIndexRange, indexRange, matchToABoundaryCurve, matchToMapping, matchToMappingOrthogonalFactor, max(), min(), nullRange, numberOfLinesForNormalBlend, outwardSplay, periodic, project(), projectGhostPoints, Mapping::rangeDimension, singularAxis, splayFactor, sPrintF(), SQR, SQRT, Start, surfaceGrid, timeForBoundaryConditions, timing, trailingEdge, useStartCurveStretchingWhileMarching, xSymmetryPlane, ySymmetryPlane, and zSymmetryPlane.
Referenced by generate(), and initializeSurfaceGrid().
|
protected |
References arcLengthWeight, aString, boundaryCondition, boundaryOffset, boundaryUniformDissipationCoefficient, constantSpacing, curvatureWeight, dissipationTransition, Mapping::domainDimension, equidistributionWeight, freeFloating, geometricSpacing, DialogData::getOptionMenu(), numberOfLinesForNormalBlend, numberOfVolumeSmoothingIterations, outwardSplay, plotBoundaryConditionMappings, projectGhostPoints, OptionMenu::setCurrentChoice(), DialogData::setTextLabel(), DialogData::setToggleState(), spacingType, splayFactor, sPrintF(), and uniformDissipationCoefficient.
Referenced by update().
|
virtual |
Reimplemented from Mapping.
References DataPointMapping::basicInverse(), and NULL.
|
virtual |
Here is the inverse mapping function defined for serial ararys.
Reimplemented from Mapping.
References DataPointMapping::basicInverseS(), NULL, OV_ABORT, and printF().
|
protected |
Blend normals.
/param I1,I2,I3 : blend normals next to these points. /axis : blend lines along this axis. /side : 0,1 – blend the boundary (left or right), -1 – blend an interior line
References abs(), Mapping::debug, Mapping::domainDimension, getGhostIndex(), Mapping::getIsPeriodic(), gridIndexRange, i2, ig, max(), numberOfLinesForNormalBlend, Mapping::rangeDimension, REAL_MIN, SQR, and SQRT.
Referenced by getNormalAndSurfaceArea().
|
protected |
References DialogData::addOptionMenu(), aString, bcOption, growthOption, and leftBackward.
Referenced by update().
|
protected |
References DialogData::addInfoLabel(), assert, aString, axis2, GenericGraphicsInterface::beginRecordDisplayLists(), Mapping::bogus, boundaryCurves, GUIState::buildPopup(), createCurveOnSurface(), GraphicsParameters::curveLineWidth, deleteBoundaryCurves(), Mapping::domainDimension, GenericGraphicsInterface::endRecordDisplayLists(), GenericGraphicsInterface::erase(), freeFloating, GraphicsParameters::get(), GenericGraphicsInterface::getAnswer(), Mapping::getClassName(), CompositeSurface::getCompositeTopology(), CompositeTopology::getEdgeCurve(), Mapping::getGrid(), Mapping::getGridDimensions(), CompositeTopology::getNearestEdge(), CompositeTopology::getNumberOfEdgeCurves(), GenericGraphicsInterface::getSaveCommandFile(), GI_MAPPING_COLOUR, initialCurveFromCurveOnSurface, initialCurveIsABoundaryCurve, initialCurveOption, max(), SelectionInfo::nSelect, NULL, numberOfBoundaryCurves, numberOfPointsOnStartCurve, CompositeSurface::numberOfSubSurfaces(), GenericGraphicsInterface::outputToCommandFile(), outwardSplay, pickingOption, pickToChooseInitialCurve, pickToCreateBoundaryCurve, PlotIt::plot(), GenericGraphicsInterface::popGUI(), GenericGraphicsInterface::pushGUI(), REAL_MAX, GenericGraphicsInterface::savePickCommands(), GraphicsParameters::set(), setBoundaryConditionAndOffset(), DialogData::setExitCommand(), DialogData::setTextLabel(), DialogData::setWindowTitle(), sPrintF(), sScanF(), Start, GenericGraphicsInterface::stopReadingCommandFile(), and surfaceGrid.
Referenced by update().
|
protected |
References DialogData::addOptionMenu(), GUIState::addPrefix(), applyBoundaryConditionsToStartCurve, arcLengthWeight, assert, aString, boundaryCondition, boundaryOffset, boundaryUniformDissipationCoefficient, correctProjectionOfInitialCurves, curvatureWeight, dissipationTransition, Mapping::domainDimension, equidistributionWeight, freeFloating, numberOfBoundaryConditions, numberOfLinesForNormalBlend, numberOfVolumeSmoothingIterations, outwardSplay, projectGhostPoints, projectNormalsOnMatchingBoundaries, projectOntoReferenceSurface, DialogData::setOptionMenuColumns(), DialogData::setTextBoxes(), DialogData::setToggleButtons(), splayFactor, sPrintF(), stopOnNegativeCells, surfaceGrid, and uniformDissipationCoefficient.
Referenced by update().
|
protected |
|
protected |
|
protected |
|
protected |
References DialogData::addOptionMenu(), GUIState::addPrefix(), MappingProjectionParameters::adjustForCornersWhenMarching(), assert, aString, distanceToBoundaryCurveTolerance, edgeCurveMatchingTolerance, Mapping::getClassName(), initialCurveFromBoundaryCurves, initialCurveOption, NULL, projectInitialCurve, projectOntoReferenceSurface, DialogData::setPushButtons(), DialogData::setTextBoxes(), DialogData::setToggleButtons(), sPrintF(), startCurveEnd, startCurveStart, surfaceGrid, surfaceMappingProjectionParameters, and useTriangulation.
Referenced by update().
|
protected |
References Mapping::domainDimension, Mapping::getIndex(), indexRange, max(), min(), normalCC, and Mapping::rangeDimension.
Referenced by generate().
|
protected |
References arcLengthWeight, curvatureWeight, direction(), Mapping::domainDimension, End, FALSE, getBoundaryIndex(), getDissipationCoefficient(), Mapping::getIndex(), Mapping::getIsPeriodic(), gridDensityWeight, indexRange, lambda, normalCurvatureWeight, Mapping::rangeDimension, Start, and upwindDissipationCoefficient.
Referenced by implicitSolve().
|
protected |
References assert, Mapping::debug, fabs(), CompositeSurface::getCompositeTopology(), UnstructuredMapping::getElementFaces(), UnstructuredMapping::getElements(), UnstructuredMapping::getFaceElements(), UnstructuredMapping::getFaces(), MappingProjectionParameters::getIntArray(), UnstructuredMapping::getNodes(), UnstructuredMapping::getNumberOfElements(), MappingProjectionParameters::getRealArray(), UnstructuredMapping::getTags(), CompositeTopology::getTriangulation(), max(), min(), NULL, CompositeSurface::numberOfSubSurfaces(), printF(), UnstructuredMapping::projectOnTriangle(), REAL_MIN, s, and SQR.
Referenced by matchToCurve(), and project().
|
protected |
References SelectionInfo::active, assert, aString, axis1, boundaryCondition, boundaryCurves, Mapping::debug, display(), dr, CompositeTopology::edgeCurveIsRemoved, edgeCurveMatchingTolerance, End, fabs(), Mapping::functionPeriodic, TrimmedMapping::getClassName(), Mapping::getClassName(), CompositeSurface::getCompositeTopology(), CompositeTopology::getEdgeCurve(), CompositeTopology::getEdgeCurveStatus(), ReferenceCounting::getGlobalID(), Mapping::getGrid(), Mapping::getGridDimensions(), MappingProjectionParameters::getIntArray(), Mapping::getIsPeriodic(), SplineMapping::getKnots(), CompositeTopology::getNumberOfEdgeCurves(), Mapping::getRangeBound(), Mapping::getRangeDimension(), MappingProjectionParameters::getRealArray(), growthOption, ReferenceCounting::incrementReferenceCount(), initialCurveFromBoundaryCurves, initialCurveFromCoordinateLine0, initialCurveFromCoordinateLine1, initialCurveFromCurveOnSurface, initialCurveFromEdges, initialCurveIsABoundaryCurve, initialCurveOption, Mapping::inverseMapC(), TrimmedMapping::map(), Mapping::map(), NurbsMapping::map(), matchToABoundaryCurve, max(), min(), SelectionInfo::nSelect, NULL, numberOfBoundaryCurves, numberOfPointsOnStartCurve, NurbsMapping::numberOfSubCurves(), CompositeSurface::numberOfSubSurfaces(), GenericGraphicsInterface::outputToCommandFile(), periodic, pickingOption, pickToChooseInitialCurve, pickToCreateBoundaryCurve, projectGhostPoints, r, MappingProjectionParameters::r, R0, Mapping::rangeDimension, REAL_MAX, SelectionInfo::selection, Mapping::setGridDimensions(), SplineMapping::setIsPeriodic(), SplineMapping::setPoints(), SplineMapping::setShapePreserving(), sPrintF(), SQR, SQRT, Start, NurbsMapping::subCurve(), MappingProjectionParameters::subSurfaceIndex, SelectionInfo::x, and x.
Referenced by buildCurve().
int HyperbolicMapping::deleteBoundaryCurves | ( | ) |
References boundaryCurves, ReferenceCounting::decrementReferenceCount(), NULL, and numberOfBoundaryCurves.
Referenced by buildCurve(), setBoundaryCurves(), and update().
int HyperbolicMapping::deleteBoundaryCurves | ( | IntegerArray & | curvesToDelete | ) |
References boundaryCurves, ReferenceCounting::decrementReferenceCount(), NULL, and numberOfBoundaryCurves.
|
virtual |
Reimplemented from Mapping.
References boundaryCondition, boundaryConditionName, curvatureSpeedCoefficient, Mapping::display(), distance, Mapping::domainDimension, End, DataPointMapping::getOrderOfInterpolation(), ghostBoundaryCondition, ghostBoundaryConditionName, growthOption, implicitCoefficient, linesToMarch, max(), min(), NULL, numberOfBoundaryConditions, numberOfGhostBoundaryConditions, numberOfLinesForNormalBlend, numberOfVolumeSmoothingIterations, printF(), projectGhostPoints, spacingOption, spacingType, Start, surfaceGrid, upwindDissipationCoefficient, and Mapping::usingRobustInverse().
Referenced by applyBoundaryConditions(), createCurveOnSurface(), evaluateStartCurve(), formBlockTridiagonalSystem(), formCMatrix(), generate(), getDistanceToStep(), getNormalAndSurfaceArea(), initializeSurfaceGrid(), project(), update(), and updateOld().
|
protected |
References aString, boundaryCondition, boundaryConditionMapping, boundaryCurves, MatchingCurve::curve, GraphicsParameters::curveLineWidth, Mapping::domainDimension, End, FALSE, GraphicsParameters::get(), Mapping::getClassName(), CompositeSurface::getCompositeTopology(), CompositeTopology::getEdgeCurve(), Mapping::getGridDimensions(), CompositeTopology::getNumberOfEdgeCurves(), GI_MAPPING_COLOUR, GI_PLOT_GRID_POINTS_ON_CURVES, GI_PLOT_LINES_ON_MAPPING_BOUNDARIES, GI_PLOT_THE_OBJECT_AND_EXIT, GI_SURFACE_OFFSET, growthOption, matchingCurves, matchToABoundaryCurve, matchToMapping, NULL, numberOfBoundaryCurves, GenericGraphicsInterface::numberOfColourNames, PlotIt::plot(), plotBoundaryConditionMappings, plotBoundaryCurves, plotDirectionArrows(), plotDirectionArrowsOnInitialCurve, plotHyperbolicSurface, Mapping::rangeDimension, GraphicsParameters::set(), Start, startCurve, surfaceGrid, and TRUE.
Referenced by update().
|
protected |
References aString, axis3, cc, curvatureSpeedCoefficient, GraphicsParameters::curveLineWidth, Mapping::domainDimension, equidistributionWeight, fabs(), FALSE, FOR_3D, GraphicsParameters::get(), Mapping::getIndex(), Mapping::getName(), GI_LINE_COLOUR, GI_MAPPING_COLOUR, GI_NUMBER_OF_GHOST_LINES_TO_PLOT, GI_PLOT_BLOCK_BOUNDARIES, GI_PLOT_MAPPING_EDGES, GI_PLOT_NON_PHYSICAL_BOUNDARIES, GI_PLOT_SHADED_MAPPING_BOUNDARIES, GI_SURFACE_OFFSET, GI_TOP_LABEL, GI_TOP_LABEL_SUB_1, growthOption, hexIsBad(), i2, implicitCoefficient, indexRange, Mapping::mappingName, NULL, numberOfGhostLinesToPlot, numberOfVolumeSmoothingIterations, PlotIt::plot(), plotGhostPoints, plotHyperbolicSurface, GenericGraphicsInterface::plotLines(), plotNegativeCells, R, Mapping::rangeDimension, GraphicsParameters::set(), sPrintF(), TRUE, uniformDissipationCoefficient, upwindDissipationCoefficient, x, and xHyper.
Referenced by update().
|
protected |
References assert, GraphicsParameters::curveLineWidth, CompositeTopology::edgeCurveIsMerged, GraphicsParameters::get(), Mapping::getClassName(), CompositeSurface::getCompositeTopology(), CompositeTopology::getEdgeCurve(), CompositeTopology::getEdgeCurveStatus(), Mapping::getName(), CompositeTopology::getNumberOfEdgeCurves(), CompositeTopology::getTriangulation(), GI_MAPPING_COLOUR, GI_PLOT_END_POINTS_ON_CURVES, GI_PLOT_GRID_POINTS_ON_CURVES, GI_PLOT_MAPPING_EDGES, GI_PLOT_THE_OBJECT_AND_EXIT, GI_PLOT_UNS_EDGES, GI_PLOT_UNS_FACES, GI_POINT_SIZE, GI_SURFACE_OFFSET, GI_TOP_LABEL, Mapping::mappingName, NULL, PlotIt::plot(), plotHyperbolicSurface, plotTriangulation, referenceSurfaceHasChanged, and GraphicsParameters::set().
Referenced by update().
|
protected |
References GraphicsParameters::curveLineWidth, Mapping::domainDimension, GraphicsParameters::get(), GI_MAPPING_COLOUR, NULL, PlotIt::plot(), GraphicsParameters::set(), and surfaceGrid.
Referenced by update().
|
protected |
References arcLengthWeight, assert, axis1, boundaryOffset, curvatureWeight, MatchingCurve::curveDirection, Mapping::domainDimension, dr, ReparameterizationTransform::equidistribution, Mapping::getIndex(), Mapping::getIsPeriodic(), gridIndexRange, MatchingCurve::gridLine, ReparameterizationTransform::map(), Mapping::map(), Mapping::mapC(), matchingCurves, max(), NULL, r, ra, Mapping::rangeDimension, REAL_MIN, DataPointMapping::setDataPoints(), ReparameterizationTransform::setEquidistributionParameters(), Mapping::setIsPeriodic(), and startCurveStretchMapping.
Referenced by applyBoundaryConditions(), and evaluateStartCurve().
void HyperbolicMapping::estimateMarchingParameters | ( | real & | estimatedDistanceToMarch, |
int & | estimatedLinesToMarch, | ||
int | directionToMarch, | ||
GenericGraphicsInterface & | gi | ||
) |
References Overture::abort(), assert, axis1, boundaryCondition, boundaryConditionMapping, constantSpacing, direction(), distanceFromLinesAndSpacing, Mapping::domainDimension, End, findMatchingBoundaryCurve(), freeFloating, geometricFactor, geometricSpacing, Mapping::getArcLength(), Mapping::getGridDimensions(), initialSpacing, linesFromDistanceAndSpacing, matchToABoundaryCurve, max(), min(), NULL, outwardSplay, pow(), setBoundaryConditionAndOffset(), spacingFromDistanceAndLines, spacingOption, Start, startCurve, surfaceGrid, and targetGridSpacing.
Referenced by MappingBuilder::build(), and update().
|
protected |
References axis1, axis2, boundaryOffset, MatchingCurve::curvePosition, Mapping::debug, dimension, display(), DIST, Mapping::domainDimension, End, equidistributeAndStretch(), equidistributionWeight, Mapping::getIndex(), gridIndexRange, MatchingCurve::gridLine, i2, Mapping::mapGrid(), matchingCurves, max(), NULL, numberOfPointsOnStartCurve, r, Mapping::rangeDimension, Start, startCurve, startCurveStretchMapping, surfaceGrid, MatchingCurve::x, and xSurface.
Referenced by initializeMarchingArrays(), and plotDirectionArrows().
|
protected |
References abs(), assert, aString, boundaryCondition, boundaryConditionMapping, boundaryConditionMappingWasNewed, boundaryCurves, Mapping::debug, ReferenceCounting::decrementReferenceCount(), direction(), distanceToBoundaryCurveTolerance, dr, End, fabs(), findNormalsToStartCurve(), Mapping::getGrid(), Mapping::getRangeBound(), ReferenceCounting::incrementReferenceCount(), GenericGraphicsInterface::inputString(), Mapping::inverseMap(), Mapping::map(), map(), max(), min(), normal, NULL, numberOfBoundaryCurves, numberOfLinesForNormalBlend, GenericGraphicsInterface::outputString(), Pi, printF(), r, Mapping::rangeDimension, REAL_MAX, sPrintF(), SQR, SQRT, sScanF(), Start, startCurve, GenericGraphicsInterface::stopReadingCommandFile(), and x.
Referenced by estimateMarchingParameters(), and updateMarchingParameters().
|
protected |
References assert, indexRange, Mapping::map(), max(), NULL, project(), Mapping::rangeDimension, REAL_MIN, SQR, SQRT, startCurve, x, and xr.
Referenced by findMatchingBoundaryCurve().
|
protected |
References at, boundaryCondition, bt, c, ct, Mapping::debug, direction(), display(), End, freeFloating, getBoundaryIndex(), getCPU(), Mapping::getIndex(), Mapping::getIsPeriodic(), indexRange, lambda, R, Mapping::rangeDimension, sPrintF(), Start, timeForFormBlockTridiagonalSystem, and timing.
Referenced by implicitSolve().
|
protected |
References c, Mapping::debug, display(), getCPU(), Mapping::getIndex(), implicitCoefficient, indexRange, Mapping::rangeDimension, timeForFormCMatrix, and timing.
Referenced by implicitSolve().
int HyperbolicMapping::generate | ( | const int & | numberOfAdditionalSteps = 0 | ) |
References abs(), applyBoundaryConditionMatchToMapping(), applyBoundaryConditions(), applyBoundaryConditionsToStartCurve, assert, at, axis2, axis3, boundaryCondition, boundaryOffset, boundaryOffsetWasApplied, bt, computeCellVolumes(), ct, Mapping::debug, dimension, direction(), display(), Mapping::domainDimension, End, fabs(), Mapping::getBasicInverseOption(), Mapping::getBoundaryCondition(), getCPU(), getCurvatureDependentSpeed(), getDissipationCoefficient(), getDistanceToStep(), Mapping::getGridDimensions(), Mapping::getIndex(), Mapping::getIsPeriodic(), getNormalAndSurfaceArea(), Mapping::getSignForJacobian(), gid, gridIndexRange, growthOption, implicitSolve(), indexRange, info, initialize(), initializeMarchingArrays(), initializeMarchingParameters(), initializeSurfaceGrid(), linesToMarch, Mapping::mappingHasChanged(), max(), min(), normal, NULL, numberOfPossibleMultigridLevels(), plotNegativeCells, printF(), project(), Mapping::rangeDimension, Mapping::reinitialize(), removeNormalComponentOfSmoothing(), removeNormalSmoothing, s, Mapping::setBasicInverseOption(), DataPointMapping::setDataPoints(), Mapping::setGridDimensions(), sPrintF(), SQR, SQRT, Start, stopOnNegativeCells, surfaceGrid, timeForSetupRHS, timeForUpdate, timing, totalNumberOfSteps, totalTime, VOLUME, x, xHyper, xr, and xtHyper.
Referenced by generateNew(), hypgen(), FilletMapping::initialize(), main(), and update().
int HyperbolicMapping::generateNew | ( | const int & | numberOfAdditionalSteps = 0 | ) |
References generate().
Referenced by MappingBuilder::build(), buildVolumeGrid(), hypgen(), and FilamentMapping::regenerateBodyFittedMapping().
int HyperbolicMapping::generateOld | ( | ) |
|
virtual |
Reimplemented from Mapping.
References applyBoundaryConditionsToStartCurve, arcLengthWeight, assert, aString, boundaryCondition, boundaryConditionMapping, boundaryConditionMappingWasNewed, boundaryOffset, boundaryOffsetWasApplied, boundaryUniformDissipationCoefficient, curvatureSpeedCoefficient, curvatureWeight, Mapping::debug, dimension, dissipationTransition, distance, equidistributionWeight, GenericDataBase::find(), geometricFactor, geometricNormalization, DataPointMapping::get(), GenericDataBase::get(), Mapping::get(), GenericDataBase::getDistributed(), Mapping::getName(), ghostBoundaryCondition, gridIndexRange, growthOption, implicitCoefficient, ReferenceCounting::incrementReferenceCount(), indexRange, initialSpacing, Mapping::inverseIsDistributed, linesToMarch, Mapping::makeMapping(), Mapping::mapIsDistributed, mappingClassName, Mapping::mappingHasChanged(), Mapping::mappingName, matchToMappingOrthogonalFactor, minimumGridSpacing, normalCurvatureWeight, normalDistribution, NULL, numberOfLinesForNormalBlend, numberOfVolumeSmoothingIterations, OV_ABORT, Mapping::partition, printF(), projectGhostPoints, projectInitialCurve, removeNormalSmoothing, saveReferenceSurface, Mapping::setPartition(), smoothAndProject, spacingOption, spacingType, splayFactor, sPrintF(), startCurve, startCurveEnd, startCurveStart, stopOnNegativeCells, surfaceGrid, targetGridSpacing, trailingEdgeDirection, uniformDissipationCoefficient, upwindDissipationCoefficient, Mapping::usesDistributedInverse(), Mapping::usesDistributedMap(), and GenericDataBase::virtualConstructor().
int HyperbolicMapping::getBoundaryCurves | ( | int & | numberOfBoundaryCurves_, |
Mapping **& | boundaryCurves_ | ||
) |
References boundaryCurves, Mapping::getClassName(), NULL, and numberOfBoundaryCurves.
Referenced by addBoundaryCurves(), and update().
|
inlinevirtual |
Reimplemented from Mapping.
Referenced by operator=(), project(), and put().
|
protected |
References axis1, axis2, curvatureSpeedCoefficient, Mapping::domainDimension, End, Mapping::getIndex(), gridIndexRange, indexRange, jacobiSmooth(), max(), Mapping::rangeDimension, and Start.
Referenced by generate().
|
inline |
|
protected |
return the uniform dissipation coefficient as a function of the step number
The uniform dissipation coefficient can be ramped from a small value near the boundary to a larger value away from the boundary. This allows the grid to be more orthogonal to the boundary and also allows the grid lines to march out from a sharp convex corner in a nicer fashion.
References boundaryUniformDissipationCoefficient, dissipationTransition, surfaceGrid, and uniformDissipationCoefficient.
Referenced by computeNonlinearDiffussionCoefficient(), and generate().
|
protected |
References assert, constantSpacing, Mapping::debug, debugFile, display(), distance, fabs(), geometricFactor, geometricNormalization, geometricSpacing, growthOption, initialSpacing, linesToMarch, Mapping::map(), max(), normalDistribution, oneDimensionalMappingSpacing, pow(), printF(), r, spacingFromDistanceAndLines, spacingOption, and spacingType.
Referenced by generate(), and initializeSurfaceGrid().
|
protected |
References assert, blendNormals(), boundaryCondition, boundaryConditionMapping, boundaryConditionMappingProjectionParameters, boundaryOffset, MatchingCurve::curve, MatchingCurve::curveDirection, Mapping::debug, direction(), display(), display(), Mapping::domainDimension, End, fixXfloatYZ, fixYfloatXZ, fixZfloatXY, floatCollapsed, floatXfixYZ, floatYfixXZ, floatZfixXY, freeFloating, getBoundaryIndex(), getCPU(), getGhostIndex(), Mapping::getIndex(), Mapping::getIsPeriodic(), MappingProjectionParameters::getRealArray(), gridIndexRange, MatchingCurve::gridLine, i2, jacobiSmooth(), matchingCurves, matchToABoundaryCurve, matchToMapping, max(), min(), minimumGridSpacing, MappingProjectionParameters::normal, normalCC, normalize(), NULL, MatchingCurve::numberOfLinesForNormalBlend, numberOfLinesForNormalBlend, numberOfVolumeSmoothingIterations, MatchingCurve::projectionParameters, projectNormalsToMatchCurve(), Mapping::rangeDimension, REAL_MIN, s, singularAxis, sPrintF(), SQR, SQRT, Start, surfaceGrid, timeForNormalAndSurfaceArea, timing, trailingEdge, and trailingEdgeDirection.
Referenced by generate(), and initializeSurfaceGrid().
|
inline |
|
protected |
References abs(), aString, GenericGraphicsInterface::erase(), generate(), generateNew(), GenericGraphicsInterface::getMenuItem(), Mapping::getName(), GI_TOP_LABEL, growthOption, GenericGraphicsInterface::inputString(), Mapping::mappingName, GenericGraphicsInterface::outputString(), PlotIt::plot(), GraphicsParameters::set(), sPrintF(), sScanF(), and upwindDissipationCoefficient.
Referenced by update().
|
protected |
References Overture::abort(), at, axis1, axis2, bt, computeNonlinearDiffussionCoefficient(), ct, Mapping::domainDimension, TridiagonalSolver::factor(), formBlockTridiagonalSystem(), formCMatrix(), getCPU(), Mapping::getIsPeriodic(), TridiagonalSolver::normal, TridiagonalSolver::periodic, Mapping::rangeDimension, TridiagonalSolver::solve(), timeForImplicitSolve, timeForTridiagonalSolve, and timing.
Referenced by generate().
|
protected |
References applyBoundaryConditionsToStartCurve, axis1, axis2, boundaryConditionMapping, boundaryConditionMappingWasNewed, boundaryCurves, boundaryOffsetWasApplied, choosePlotBoundsFromGlobalBounds, correctProjectionOfInitialCurves, defaultGhostBoundaryCondition, distanceToBoundaryCurveTolerance, edgeCurveMatchingTolerance, geometricFactor, ghostBoundaryCondition, info, initialCurveIsABoundaryCurve, initialSpacing, Mapping::inverseIsDistributed, Mapping::mapIsDistributed, Mapping::mappingName, normalDistribution, NULL, numberOfBoundaryCurves, numberOfGhostLinesToPlot, numberOfLinesWithConstantSpacing, numberOfTimings, plotGhostPoints, projectInitialCurve, projectNormalsOnMatchingBoundaries, projectOntoReferenceSurface, pStartCurveStretchParams, saveReferenceSurface, Mapping::setGridDimensions(), Mapping::setName(), smoothAndProject, spacingFromDistanceAndLines, spacingOption, startCurve, startCurveStretchMapping, stopOnNegativeCells, surfaceGrid, targetGridSpacing, timing, totalNumberOfSteps, useStartCurveStretchingWhileMarching, and useTriangulation.
Referenced by generate(), and HyperbolicMapping().
|
protected |
References arcLengthWeight, boundaryUniformDissipationCoefficient, constantSpacing, curvatureSpeedCoefficient, curvatureWeight, dissipationTransition, distance, Mapping::domainDimension, End, equidistributionWeight, growthOption, implicitCoefficient, linesToMarch, matchToMappingOrthogonalFactor, minimumGridSpacing, normalCurvatureWeight, numberOfLinesForNormalBlend, numberOfSmoothingIterations, numberOfVolumeSmoothingIterations, Mapping::rangeDimension, removeNormalSmoothing, spacingType, splayFactor, Start, startCurveEnd, startCurveStart, uniformDissipationCoefficient, and upwindDissipationCoefficient.
Referenced by HyperbolicMapping(), setStartingCurve(), setSurface(), and update().
|
protected |
References abs(), c, curvatureSpeedCoefficient, Mapping::debug, dimension, Mapping::domainDimension, evaluateStartCurve(), evaluateTheSurface, FALSE, Mapping::getIndex(), growthOption, lambda, normalCC, Mapping::rangeDimension, removeNormalSmoothing, surfaceGrid, and xSurface.
Referenced by generate().
|
protected |
References adjustDistanceToMarch(), assert, aString, axis3, boundaryOffset, boundaryOffsetWasApplied, Mapping::debug, dimension, distance, Mapping::domainDimension, End, fabs(), geometricFactor, geometricNormalization, Mapping::getBoundaryCondition(), Mapping::getGridDimensions(), Mapping::getIsPeriodic(), Mapping::getName(), Mapping::getShare(), gridIndexRange, growthOption, ReferenceCounting::incrementReferenceCount(), indexRange, initialSpacing, linesToMarch, Mapping::mappingName, NULL, Mapping::numberOfGhostPoints, pow(), Mapping::rangeDimension, Mapping::setBoundaryCondition(), Mapping::setDomainDimension(), Mapping::setGridDimensions(), Mapping::setIsPeriodic(), Mapping::setName(), Mapping::setRangeDimension(), Mapping::setShare(), and Start.
Referenced by generate().
|
protected |
References abs(), applyBoundaryConditions(), boundaryCondition, Mapping::debug, delta, dimension, direction(), display(), Mapping::domainDimension, End, fabs(), getDistanceToStep(), getGhostIndex(), Mapping::getIndex(), Mapping::getIsPeriodic(), getNormalAndSurfaceArea(), gridIndexRange, growthOption, indexRange, Mapping::notPeriodic, project(), projectOntoReferenceSurface, Mapping::rangeDimension, sPrintF(), Start, surfaceGrid, trailingEdge, and VOLUME.
Referenced by generate().
bool HyperbolicMapping::isDefined | ( | ) | const |
References NULL.
|
protected |
References Mapping::domainDimension, End, getBoundaryIndex(), getCPU(), getGhostIndex(), Mapping::getIndex(), Mapping::getIsPeriodic(), gridIndexRange, indexRange, smooth(), Start, timeForSmoothing, and timing.
Referenced by getCurvatureDependentSpeed(), and getNormalAndSurfaceArea().
Reimplemented from Mapping.
References HyperbolicMapping().
|
virtual |
Reimplemented from Mapping.
References assert, axis3, Mapping::base, Mapping::bound, Mapping::computeMap, Mapping::computeMapDerivative, D, Mapping::domainDimension, Mapping::getIndex(), DataPointMapping::map(), NULL, r, R, and Mapping::rangeDimension.
Referenced by findMatchingBoundaryCurve(), HyperbolicMapping(), FilamentMapping::map(), setBoundaryConditionMapping(), setup(), update(), updateForInitialCurve(), and updateMarchingParameters().
|
virtual |
Here is the map function defined for serial arrays.
Reimplemented from Mapping.
References assert, axis3, Mapping::base, Mapping::bound, Mapping::computeMap, Mapping::computeMapDerivative, D, Mapping::domainDimension, Mapping::getIndex(), DataPointMapping::mapS(), NULL, r, R, and Mapping::rangeDimension.
|
protected |
Project points onto a boundary curve (or boundary surface for a 3d volume grid) or interior matching curve and adjust normals.
/param projectBoundary: if true we are projecting onto a boundary (as opposed to an interior line) /param i1Shift: one of 1,0,-1. 1=left boundary (start), 0=interior curve, 1=right boundary
References assert, axis1, axis2, axis3, correctProjectionOfInitialCurve(), Mapping::debug, display(), Mapping::domainDimension, MappingProjectionParameters::elementIndex, Mapping::getClassName(), MappingProjectionParameters::getIntArray(), MappingProjectionParameters::getRealArray(), UnstructuredMapping::getTags(), CompositeTopology::getTriangulation(), i2, matchToMappingOrthogonalFactor, max(), MappingProjectionParameters::normal, NULL, numberOfLinesForNormalBlend, Mapping::project(), projectNormalsToMatchCurve(), projectOntoReferenceSurface, r, MappingProjectionParameters::r, Mapping::rangeDimension, REAL_EPSILON, REAL_MIN, MappingProjectionParameters::reset(), s, MappingProjectionParameters::setAdjustForCornersWhenMarching(), MappingProjectionParameters::setProjectOntoReferenceSurface(), SQR, SQRT, MappingProjectionParameters::subSurfaceIndex, and surfaceGrid.
Referenced by applyBoundaryConditionMatchToMapping().
HyperbolicMapping & HyperbolicMapping::operator= | ( | const HyperbolicMapping & | X0 | ) |
References applyBoundaryConditionsToStartCurve, arcLengthWeight, boundaryCondition, boundaryConditionMapping, boundaryConditionMappingWasNewed, boundaryOffset, boundaryOffsetWasApplied, boundaryUniformDissipationCoefficient, curvatureSpeedCoefficient, curvatureWeight, ReferenceCounting::decrementReferenceCount(), dimension, dissipationTransition, distance, equidistributionWeight, geometricFactor, geometricNormalization, getClassName(), ghostBoundaryCondition, gridIndexRange, growthOption, implicitCoefficient, ReferenceCounting::incrementReferenceCount(), indexRange, initialSpacing, linesToMarch, Mapping::mappingHasChanged(), matchingCurves, matchToMappingOrthogonalFactor, minimumGridSpacing, normalCurvatureWeight, normalDistribution, NULL, numberOfLinesForNormalBlend, numberOfVolumeSmoothingIterations, Mapping::operator=(), plotGhostPoints, printF(), projectGhostPoints, projectInitialCurve, removeNormalSmoothing, saveReferenceSurface, smoothAndProject, spacingOption, spacingType, splayFactor, startCurve, startCurveEnd, startCurveStart, stopOnNegativeCells, surfaceGrid, targetGridSpacing, trailingEdgeDirection, uniformDissipationCoefficient, and upwindDissipationCoefficient.
|
protected |
References cc, Mapping::domainDimension, Mapping::getIndex(), GI_POINT_COLOUR, GI_POINT_SIZE, growthOption, i2, indexRange, max(), min(), GenericGraphicsInterface::plotPoints(), Mapping::rangeDimension, GraphicsParameters::set(), x, and xHyper.
Referenced by update().
|
protected |
References abs(), aString, C, GraphicsParameters::curveLineWidth, dimension, End, evaluateStartCurve(), FALSE, GraphicsParameters::get(), Mapping::getArcLength(), GenericGraphicsInterface::getColour(), GenericGraphicsInterface::getCurrentWindow(), GenericGraphicsInterface::getGlobalBound(), Mapping::getIndex(), GI_PLOT_THE_OBJECT_AND_EXIT, GI_POINT_COLOUR, GI_POINT_SIZE, gridIndexRange, growthOption, indexRange, GenericGraphicsInterface::isGraphicsWindowOpen(), GraphicsParameters::lineWidth, max(), min(), normal, NULL, numberOfPointsOnStartCurve, GenericGraphicsInterface::plotLines(), GenericGraphicsInterface::plotPoints(), project(), Mapping::rangeDimension, REAL_MIN, GenericGraphicsInterface::redraw(), GraphicsParameters::set(), Mapping::setArcLength(), sign(), SQR, SQRT, Start, startCurve, GenericGraphicsInterface::textColour, TRUE, x, and xr.
Referenced by drawBoundariesAndCurves().
|
protected |
References aString, Mapping::domainDimension, Mapping::getClassName(), Mapping::getGridDimensions(), max(), NULL, numberOfTimings, REAL_MIN, surfaceGrid, timing, totalNumberOfSteps, and totalTime.
Referenced by update().
|
protected |
References assert, axis1, axis2, axis3, boundaryCondition, correctProjectionOfInitialCurve(), correctProjectionOfInitialCurves, Mapping::debug, debugFile, display(), Mapping::domainDimension, End, fabs(), getClassName(), Mapping::getClassName(), getCPU(), Mapping::getIndex(), MappingProjectionParameters::getIntArray(), Mapping::getIsPeriodic(), UnstructuredMapping::getNumberOfElements(), MappingProjectionParameters::getRealArray(), CompositeSurface::getSignForNormal(), UnstructuredMapping::getTags(), CompositeTopology::getTriangulation(), gridIndexRange, indexRange, initialCurveFromCurveOnSurface, initialCurveOption, Mapping::inverseMap(), Mapping::map(), max(), min(), NULL, CompositeSurface::numberOfSubSurfaces(), UnstructuredMapping::project(), Mapping::project(), projectGhostPoints, projectOntoReferenceSurface, R, Mapping::rangeDimension, REAL_MIN, MappingProjectionParameters::reset(), s, MappingProjectionParameters::setOnlyChangePointsAdjustedForCornersWhenMarching(), sPrintF(), SQR, SQRT, Start, surfaceMappingProjectionParameters, timeForProject, timing, and useTriangulation.
Referenced by applyBoundaryConditions(), findNormalsToStartCurve(), generate(), initializeSurfaceGrid(), and plotDirectionArrows().
|
inlineprotectedvirtual |
Reimplemented from Mapping.
References Mapping::project().
|
protected |
Project the marching-normal to be parallel to the boundary Given n = normal to the boundary condition mapping (or tangent to BC curve), subtract off the component of `normal' in the direction of n finally renormalize /param mpParams.n (input) : matching surface normal or matching curve tangent. /param normal (output): the new un-normalized marching direction.
References axis1, axis2, axis3, Mapping::debug, fabs(), Mapping::getDomainDimension(), MappingProjectionParameters::getRealArray(), i2, MappingProjectionParameters::normal, NULL, projectNormalsOnMatchingBoundaries, and Mapping::rangeDimension.
Referenced by getNormalAndSurfaceArea(), and matchToCurve().
|
virtual |
Reimplemented from Mapping.
References applyBoundaryConditionsToStartCurve, arcLengthWeight, boundaryCondition, boundaryConditionMapping, boundaryOffset, boundaryOffsetWasApplied, boundaryUniformDissipationCoefficient, GenericDataBase::create(), curvatureSpeedCoefficient, curvatureWeight, Mapping::debug, dimension, dissipationTransition, distance, equidistributionWeight, geometricFactor, geometricNormalization, DataPointMapping::getClassName(), getClassName(), Mapping::getClassName(), Mapping::getName(), ghostBoundaryCondition, gridIndexRange, growthOption, implicitCoefficient, indexRange, initialSpacing, linesToMarch, Mapping::mappingName, matchToMappingOrthogonalFactor, minimumGridSpacing, normalCurvatureWeight, normalDistribution, NULL, numberOfLinesForNormalBlend, numberOfVolumeSmoothingIterations, printF(), projectGhostPoints, projectInitialCurve, DataPointMapping::put(), GenericDataBase::put(), Mapping::put(), GenericDataBase::putDistributed(), Mapping::rangeDimension, removeNormalSmoothing, saveReferenceSurface, smoothAndProject, spacingOption, spacingType, splayFactor, sPrintF(), startCurve, startCurveEnd, startCurveStart, stopOnNegativeCells, surfaceGrid, targetGridSpacing, trailingEdgeDirection, uniformDissipationCoefficient, upwindDissipationCoefficient, Mapping::usesDistributedInverse(), Mapping::usesDistributedMap(), and GenericDataBase::virtualConstructor().
|
protected |
References axis1, axis2, axis3, Mapping::domainDimension, implicitCoefficient, min(), Mapping::rangeDimension, and uniformDissipationCoefficient.
Referenced by generate().
int HyperbolicMapping::saveReferenceSurfaceWhenPut | ( | bool | trueOrFalse = TRUE | ) |
References saveReferenceSurface.
|
protected |
Set the boundary condition and offset.
offset | (input) : if offset==-1 (default) then set the default offset for the given value of bc. |
References boundaryOffset, Mapping::domainDimension, Mapping::rangeDimension, and Mapping::setBoundaryCondition().
Referenced by buildCurve(), estimateMarchingParameters(), setup(), update(), updateForInitialCurve(), updateMarchingParameters(), and updateSurfaceGridParameters().
int HyperbolicMapping::setBoundaryConditionMapping | ( | const int & | side, |
const int & | axis, | ||
Mapping & | map, | ||
const int & | mapSide = -1 , |
||
const int & | mapAxis = -1 |
||
) |
Supply a mapping to match a boundary condition to.
side,axis | (input) : match to this boundary of the hyperbolic grid. |
map | (input): Match the boundary values of the grid to lie on this surface or match the boundary values to lie on the face of this Mapping defined by (mapSide,mapAxis). |
mapSide,mapAxis | (input) : use this face of the Mapping `map'. Supply these values if the hyperbolic grid is to be matched to a face of 'map', rather than map itself. |
References assert, boundaryConditionMapping, boundaryConditionMappingWasNewed, Mapping::getDomainDimension(), Mapping::getRangeDimension(), map(), and Mapping::mappingHasChanged().
int HyperbolicMapping::setBoundaryCurves | ( | const int & | numberOfBoundaryCurves_, |
Mapping ** | boundaryCurves_ | ||
) |
References boundaryCurves, deleteBoundaryCurves(), ReferenceCounting::incrementReferenceCount(), and numberOfBoundaryCurves.
Referenced by MappingBuilder::build().
void HyperbolicMapping::setIsSurfaceGrid | ( | bool | trueOrFalse | ) |
References surfaceGrid.
|
protected |
References abs(), aString, distance, distanceFromLinesAndSpacing, DialogData::getOptionMenu(), growthOption, linesFromDistanceAndSpacing, linesToMarch, OptionMenu::setCurrentChoice(), DialogData::setSensitive(), DialogData::setTextLabel(), spacingOption, sPrintF(), and DialogData::textBoxWidget.
Referenced by update().
int HyperbolicMapping::setParameters | ( | const HyperbolicParameter & | par, |
real | value, | ||
const Direction & | direction = bothDirections |
||
) |
Referenced by MappingBuilder::build(), buildVolumeGrid(), FilletMapping::initialize(), main(), and setParameters().
int HyperbolicMapping::setParameters | ( | const HyperbolicParameter & | par, |
int | value, | ||
const Direction & | direction = bothDirections |
||
) |
References setParameters().
int HyperbolicMapping::setParameters | ( | const HyperbolicParameter & | par, |
const IntegerArray & | ipar = Overture::nullIntArray() , |
||
const RealArray & | rpar = Overture::nullRealArray() , |
||
const Direction & | direction = bothDirections |
||
) |
References applyBoundaryConditionsToStartCurve, axisParameters, barthImplicitness, bothDirections, boundaryCondition, D, dissipation, distance, distanceToMarch, forwardDirection, geometricFactor, ghostBoundaryCondition, growInBothDirections, growInTheReverseDirection, growthOption, initialSpacing, linesInTheNormalDirection, linesToMarch, min(), numberOfRegionsInTheNormalDirection, numberOfVolumeSmoothingIterations, projectGhostBoundaries, projectGhostPoints, reverseDirection, spacing, spacingOption, spacingType, stretchingInTheNormalDirection, targetGridSpacing, THEapplyBoundaryConditionsToStartCurve, THEboundaryConditions, THEgeometricFactor, THEghostBoundaryConditions, THEinitialGridSpacing, THEspacingOption, THEspacingType, THEtargetGridSpacing, and volumeParameters.
int HyperbolicMapping::setPlotOption | ( | PlotOptionEnum | option, |
int | value | ||
) |
References choosePlotBoundsFromGlobalBounds, and setPlotBoundsFromGlobalBounds.
Referenced by MappingBuilder::build().
int HyperbolicMapping::setStartingCurve | ( | Mapping & | startingCurve, |
bool | init = true |
||
) |
References ReferenceCounting::decrementReferenceCount(), evaluateTheSurface, ReferenceCounting::incrementReferenceCount(), initializeHyperbolicGridParameters(), Mapping::mappingHasChanged(), NULL, setup(), startCurve, and ReferenceCounting::uncountedReferencesMayExist().
Referenced by MappingBuilder::build().
int HyperbolicMapping::setSurface | ( | Mapping & | surface, |
bool | isSurfaceGrid = true , |
||
bool | init = true |
||
) |
References ReferenceCounting::decrementReferenceCount(), evaluateTheSurface, Mapping::getDomainDimension(), Mapping::getRangeDimension(), ReferenceCounting::incrementReferenceCount(), initializeHyperbolicGridParameters(), Mapping::mappingHasChanged(), setup(), surfaceGrid, and ReferenceCounting::uncountedReferencesMayExist().
Referenced by MappingBuilder::build(), buildVolumeGrid(), main(), and FilamentMapping::regenerateBodyFittedMapping().
|
protected |
References assert, aString, boundaryCondition, boundaryOffset, boundaryOffsetWasApplied, Mapping::domainDimension, End, evaluateTheSurface, freeFloating, Mapping::getDomainDimension(), Mapping::getGridDimensions(), Mapping::getIsPeriodic(), Mapping::getName(), Mapping::getRangeDimension(), Mapping::getTypeOfCoordinateSingularity(), map(), Mapping::mappingHasChanged(), Mapping::mappingName, Mapping::noCoordinateSingularity, Mapping::notPeriodic, NULL, numberOfVolumeSmoothingIterations, outwardSplay, periodic, Mapping::polarSingularity, projectGhostPoints, Mapping::setBoundaryCondition(), setBoundaryConditionAndOffset(), Mapping::setDomainDimension(), Mapping::setGridDimensions(), Mapping::setIsPeriodic(), Mapping::setName(), Mapping::setRangeDimension(), Mapping::setTypeOfCoordinateSingularity(), singularAxis, Start, startCurve, and surfaceGrid.
Referenced by HyperbolicMapping(), setStartingCurve(), setSurface(), update(), and updateSurfaceGridParameters().
|
protected |
References Mapping::domainDimension, equiGridSmoother(), DataPointMapping::getGrid(), Mapping::getIndex(), gridIndexRange, Mapping::mappingHasChanged(), NULL, GenericGraphicsInterface::outputString(), Mapping::rangeDimension, DataPointMapping::setDataPoints(), EllipticGridGenerator::setup(), smoothAndProject, EllipticGridGenerator::startingGrid(), EllipticGridGenerator::update(), x, and xHyper.
Referenced by jacobiSmooth(), and update().
|
virtual |
Reimplemented from Mapping.
References nullString.
Referenced by OffsetShell::generateVolumeGrids(), and FilamentMapping::update().
int HyperbolicMapping::update | ( | MappingInformation & | mapInfo, |
const aString & | command, | ||
DialogData * | interface = NULL |
||
) |
References abs(), SelectionInfo::active, addBoundaryCurves(), DialogData::addOptionMenu(), GUIState::addPrefix(), GenericGraphicsInterface::appendToTheDefaultPrompt(), assert, assignMarchingParametersDialog(), aString, axis1, axis2, axis3, Mapping::bc, bcOption, GenericGraphicsInterface::beginRecordDisplayLists(), boundaryCondition, boundaryConditionMapping, boundaryCurves, boundaryOffset, buildBoundaryConditionMappingDialog(), buildCurve(), GridStretcher::buildDialog(), GridSmoother::buildDialog(), buildMarchingParametersDialog(), buildMarchingSpacingDialog(), buildPlotOptionsDialog(), GUIState::buildPopup(), buildStartCurveSpacingDialog(), buildSurfaceGridParametersDialog(), CompositeTopology::buildTriangulationForVisibleSurfaces(), choosePlotBoundsFromGlobalBounds, choosePlotBoundsFromReferenceSurface, MatchingCurve::curveDirection, MatchingCurve::curvePosition, Mapping::debug, ReferenceCounting::decrementReferenceCount(), deleteBoundaryCurves(), direction(), display(), distance, distanceFromLinesAndSpacing, Mapping::domainDimension, drawBoundariesAndCurves(), drawHyperbolicGrid(), drawReferenceSurface(), drawReferenceSurfaceEdges(), CompositeTopology::edgeCurveIsRemoved, End, GenericGraphicsInterface::endRecordDisplayLists(), equidistributionWeight, GenericGraphicsInterface::erase(), estimateMarchingParameters(), fabs(), freeFloating, generate(), GraphicsParameters::get(), GenericGraphicsInterface::getAnswer(), Mapping::getBasicInverseOption(), Mapping::getBoundaryCondition(), getBoundaryCurves(), Mapping::getClassName(), CompositeSurface::getCompositeTopology(), GenericGraphicsInterface::getCurrentWindow(), DataPointMapping::getDataPoints(), GUIState::getDialogSibling(), MappingRC::getDomainDimension(), Mapping::getDomainDimension(), CompositeTopology::getEdgeCurve(), CompositeTopology::getEdgeCurveStatus(), GenericGraphicsInterface::getGlobalBound(), ReferenceCounting::getGlobalID(), Mapping::getGrid(), Mapping::getGridDimensions(), MappingProjectionParameters::getIntArray(), Mapping::getIsPeriodic(), ListOfMappingRC::getLength(), MappingRC::getMapping(), GenericGraphicsInterface::getMenuItem(), MappingRC::getName(), Mapping::getName(), CompositeTopology::getNumberOfEdgeCurves(), GraphicsParameters::getNumberOfGhostLinesToPlot(), SplineMapping::getNumberOfKnots(), DialogData::getOptionMenu(), DataPointMapping::getOrderOfInterpolation(), MappingRC::getRangeDimension(), Mapping::getRangeDimension(), MappingProjectionParameters::getRealArray(), GenericGraphicsInterface::getSaveCommandFile(), CompositeTopology::getTriangulation(), GI_MAPPING_COLOUR, GI_PLOT_LINES_ON_MAPPING_BOUNDARIES, GI_PLOT_NON_PHYSICAL_BOUNDARIES, GI_PLOT_SHADED_MAPPING_BOUNDARIES, GI_PLOT_THE_OBJECT_AND_EXIT, GI_PLOT_UNS_EDGES, GI_PLOT_UNS_FACES, GI_POINT_SIZE, GI_SURFACE_OFFSET, GI_TOP_LABEL, GI_USE_PLOT_BOUNDS, gid, SelectionInfo::globalID, MappingInformation::graphXInterface, gridIndexRange, GridStretcher::gridWasChanged, growthOption, DialogData::hideSibling(), hypgen(), if(), implicitCoefficient, ReferenceCounting::incrementReferenceCount(), info, initialCurveFromEdges, initialCurveOption, initializeHyperbolicGridParameters(), initialSpacing, GenericGraphicsInterface::inputString(), Mapping::interactiveUpdate(), Mapping::inverseMap(), leftForward, linesToMarch, DataPointMapping::map(), Mapping::map(), map(), Mapping::mappingHasChanged(), MappingInformation::mappingList, Mapping::mappingName, MappingRC::mapPointer, matchingCurves, max(), measureQuality(), min(), MappingProjectionParameters::normal, SelectionInfo::nSelect, NULL, nullString, numberOfBoundaryCurves, numberOfGhostLinesToPlot, MatchingCurve::numberOfLinesForNormalBlend, numberOfPointsOnStartCurve, numberOfPossibleMultigridLevels(), CompositeSurface::numberOfSubSurfaces(), numberOfVolumeSmoothingIterations, GenericGraphicsInterface::outputString(), GenericGraphicsInterface::outputToCommandFile(), outwardSplay, pickingOption, pickOff, pickToChooseBoundaryConditionMapping, pickToChooseInitialCurve, pickToChooseInteriorMatchingCurve, pickToCreateBoundaryCurve, pickToDeleteBoundaryCurve, pickToEditAMapping, pickToHideSubSurface, pickToQueryAPoint, PlotIt::plot(), plotBoundaryConditionMappings, plotBoundaryCurves, plotCellQuality(), plotDirectionArrowsOnInitialCurve, plotGridPointsOnStartCurve, plotHyperbolicSurface, PlotIt::plotMappingQuality(), plotNegativeCells, plotObject, GenericGraphicsInterface::plotPoints(), plotReferenceSurface, plotTriangulation, GridSmoother::pointsFixed, GenericGraphicsInterface::popGUI(), printF(), printGridStatistics(), printStatistics(), Mapping::project(), projectGhostPoints, DialogData::pushButtonWidget, GenericGraphicsInterface::pushGUI(), r, Mapping::rangeDimension, REAL_MAX, referenceSurfaceHasChanged, Mapping::reinitialize(), GridSmoother::reset(), GenericGraphicsInterface::resetGlobalBound(), s, GenericGraphicsInterface::savePickCommands(), saveReferenceSurface, SelectionInfo::selection, GraphicsParameters::set(), GenericGraphicsInterface::setAxesDimension(), Mapping::setBasicInverseOption(), Mapping::setBoundaryCondition(), setBoundaryConditionAndOffset(), GridSmoother::setBoundaryConditions(), GridSmoother::setBoundaryMappings(), OptionMenu::setCurrentChoice(), MatchingCurve::setCurve(), DialogData::setExitCommand(), GenericGraphicsInterface::setGlobalBound(), Mapping::setGridDimensions(), CompositeSurface::setIsVisible(), setLinesAndDistanceLabels(), GridSmoother::setMatchingCurves(), Mapping::setName(), DialogData::setOptionMenuColumns(), DataPointMapping::setOrderOfInterpolation(), DialogData::setPushButtons(), OptionMenu::setSensitive(), DialogData::setSensitive(), DialogData::setTextBoxes(), DialogData::setTextLabel(), DialogData::setToggleState(), setup(), DialogData::setWindowTitle(), DialogData::showSibling(), GridSmoother::smooth(), smooth(), smoothAndProject, spacingFromDistanceAndLines, spacingOption, DataPointMapping::specifyTopology(), sPrintF(), SQR, sScanF(), Start, startCurve, startCurveEnd, startCurveStart, stopOnNegativeCells, GenericGraphicsInterface::stopReadingCommandFile(), MappingProjectionParameters::subSurfaceIndex, surfaceGrid, targetGridSpacing, GenericGraphicsInterface::unAppendTheDefaultPrompt(), ReferenceCounting::uncountedReferencesMayExist(), GridStretcher::update(), DataPointMapping::update(), UnstructuredMapping::update(), updateBoundaryConditionMappingDialog(), updateBoundaryConditionMappings(), updateForInitialCurve(), updateLinesAndDistanceToMarch(), updateMarchingParameters(), updateMarchingSpacingOptions(), updateOld(), GridSmoother::updateOptions(), updatePlotOptions(), updateStartCurveSpacingOptions(), updateSurfaceGridParameters(), Mapping::updateWithCommand(), useRobustInverse(), Mapping::usingRobustInverse(), MatchingCurve::x, SelectionInfo::x, x, xHyper, and xr.
|
protected |
References aString, bcOption, DialogData::changeOptionMenu(), growthOption, leftBackward, and leftForward.
Referenced by update().
|
protected |
References bcOption, boundaryCondition, boundaryConditionMapping, boundaryConditionMappingWasNewed, boundaryCurves, direction(), Mapping::getClassName(), CompositeSurface::getCompositeTopology(), CompositeTopology::getEdgeCurve(), ReferenceCounting::getGlobalID(), CompositeTopology::getNumberOfEdgeCurves(), MappingInformation::graphXInterface, ReferenceCounting::incrementReferenceCount(), leftBackward, leftForward, matchToABoundaryCurve, SelectionInfo::nSelect, NULL, numberOfBoundaryCurves, GenericGraphicsInterface::outputString(), GenericGraphicsInterface::outputToCommandFile(), plotObject, rightBackward, rightForward, SelectionInfo::selection, sPrintF(), sScanF(), and GenericGraphicsInterface::stopReadingCommandFile().
Referenced by update().
|
protected |
References assert, axis2, boundaryCondition, Mapping::domainDimension, End, evaluateTheSurface, freeFloating, Mapping::getArcLength(), Mapping::getGridDimensions(), Mapping::getIsPeriodic(), Mapping::getTypeOfCoordinateSingularity(), map(), Mapping::mappingHasChanged(), NULL, numberOfPointsOnStartCurve, outwardSplay, periodic, printF(), referenceSurfaceHasChanged, setBoundaryConditionAndOffset(), Mapping::setGridDimensions(), Mapping::setIsPeriodic(), Mapping::setTypeOfCoordinateSingularity(), Start, startCurve, surfaceGrid, and targetGridSpacing.
Referenced by update(), updateStartCurveSpacingOptions(), and updateSurfaceGridParameters().
|
protected |
References Overture::abort(), constantSpacing, distance, distanceFromLinesAndSpacing, geometricFactor, geometricSpacing, initialSpacing, linesFromDistanceAndSpacing, linesToMarch, log(), pow(), spacingOption, spacingType, and targetGridSpacing.
Referenced by update().
|
protected |
References Overture::abort(), applyBoundaryConditionsToStartCurve, arcLengthWeight, assert, aString, axis1, axis3, boundaryCondition, boundaryConditionMapping, boundaryConditionMappingWasNewed, boundaryOffset, boundaryUniformDissipationCoefficient, GenericGraphicsInterface::buildCascadingMenu(), correctProjectionOfInitialCurves, curvatureSpeedCoefficient, curvatureWeight, direction(), dissipationTransition, Mapping::domainDimension, End, equidistributionWeight, findMatchingBoundaryCurve(), freeFloating, Mapping::functionPeriodic, MappingRC::getBoundaryCondition(), Mapping::getClassName(), MappingRC::getDomainDimension(), Mapping::getDomainDimension(), ListOfMappingRC::getLength(), GenericGraphicsInterface::getMenuItem(), MappingRC::getName(), DialogData::getOptionMenu(), MappingRC::getRangeDimension(), Mapping::getRangeDimension(), DialogData::getToggleValue(), gid, MappingInformation::graphXInterface, gridIndexRange, implicitCoefficient, ReferenceCounting::incrementReferenceCount(), GenericGraphicsInterface::indexInCascadingMenu(), GenericGraphicsInterface::inputString(), map(), Mapping::mappingHasChanged(), MappingInformation::mappingList, Mapping::mappingName, MappingRC::mapPointer, matchToMapping, max(), min(), NULL, numberOfLinesForNormalBlend, numberOfVolumeSmoothingIterations, GenericGraphicsInterface::outputString(), outwardSplay, plotBoundaryConditionMappings, plotObject, printF(), projectGhostPoints, projectNormalsOnMatchingBoundaries, projectOntoReferenceSurface, Mapping::rangeDimension, Mapping::setBoundaryCondition(), setBoundaryConditionAndOffset(), OptionMenu::setCurrentChoice(), DataPointMapping::setDataPoints(), Mapping::setGridDimensions(), Mapping::setIsPeriodic(), DialogData::setTextLabel(), DialogData::setToggleState(), splayFactor, sPrintF(), sScanF(), Start, stopOnNegativeCells, surfaceGrid, uniformDissipationCoefficient, x, and xHyper.
Referenced by update().
|
protected |
References aString, constantSpacing, ReferenceCounting::decrementReferenceCount(), distanceFromLinesAndSpacing, geometricFactor, geometricSpacing, DialogData::getOptionMenu(), MappingInformation::graphXInterface, ReferenceCounting::incrementReferenceCount(), initialSpacing, inverseHyperbolicSpacing, StretchMapping::inverseHyperbolicTangent, linesFromDistanceAndSpacing, normalDistribution, NULL, oneDimensionalMappingSpacing, GenericGraphicsInterface::outputString(), OptionMenu::setCurrentChoice(), StretchMapping::setLayerParameters(), StretchMapping::setNumberOfLayers(), StretchMapping::setStretchingType(), DialogData::setTextLabel(), spacingFromDistanceAndLines, spacingOption, spacingType, sPrintF(), sScanF(), StretchMapping::update(), and userDefinedSpacing.
Referenced by update().
|
protected |
References A, abs(), GenericGraphicsInterface::appendToTheDefaultPrompt(), arcLengthWeight, assert, aString, axis2, axis3, choosePlotBoundsFromReferenceSurface, constantSpacing, curvatureSpeedCoefficient, curvatureWeight, ReferenceCounting::decrementReferenceCount(), display(), distance, Mapping::domainDimension, End, equidistributionWeight, GenericGraphicsInterface::erase(), geometricFactor, geometricSpacing, GraphicsParameters::get(), Mapping::getIndex(), GenericGraphicsInterface::getMenuItem(), GI_PLOT_LINES_ON_MAPPING_BOUNDARIES, GI_PLOT_SHADED_MAPPING_BOUNDARIES, GI_PLOT_THE_OBJECT_AND_EXIT, gid, MappingInformation::graphXInterface, gridIndexRange, growthOption, implicitCoefficient, ReferenceCounting::incrementReferenceCount(), initialSpacing, GenericGraphicsInterface::inputString(), StretchMapping::inverseHyperbolicTangent, linesToMarch, Mapping::mappingHasChanged(), matchToMappingOrthogonalFactor, max(), minimumGridSpacing, normalCurvatureWeight, normalDistribution, NULL, numberOfLinesForNormalBlend, numberOfVolumeSmoothingIterations, oneDimensionalMappingSpacing, PlotIt::plot(), plotBoundaryConditionMappings, plotDirectionArrowsOnInitialCurve, plotObject, plotReferenceSurface, projectGhostPoints, projectInitialCurve, Mapping::rangeDimension, removeNormalSmoothing, S, GraphicsParameters::set(), DataPointMapping::setDataPoints(), StretchMapping::setLayerParameters(), StretchMapping::setNumberOfLayers(), StretchMapping::setStretchingType(), spacingType, sPrintF(), sScanF(), Start, surfaceGrid, GenericGraphicsInterface::unAppendTheDefaultPrompt(), uniformDissipationCoefficient, StretchMapping::update(), upwindDissipationCoefficient, x, and xHyper.
Referenced by update().
|
protected |
References aString, choosePlotBoundsFromGlobalBounds, choosePlotBoundsFromReferenceSurface, DialogData::getTextValue(), GI_PLOT_LINES_ON_MAPPING_BOUNDARIES, GI_PLOT_SHADED_MAPPING_BOUNDARIES, GI_PLOT_UNS_EDGES, GI_PLOT_UNS_FACES, MappingInformation::graphXInterface, numberOfGhostLinesToPlot, plotBoundaryCurves, plotGhostPoints, plotGridPointsOnStartCurve, plotObject, plotReferenceSurface, plotTriangulation, printF(), referenceSurfaceHasChanged, GraphicsParameters::set(), DialogData::setToggleState(), and sScanF().
Referenced by update().
|
protected |
References assert, aString, axis1, ReferenceCounting::decrementReferenceCount(), Mapping::domainDimension, equidistributionWeight, Mapping::getIsPeriodic(), MappingInformation::graphXInterface, ReferenceCounting::incrementReferenceCount(), StretchMapping::inverseHyperbolicTangent, NULL, numberOfVolumeSmoothingIterations, GenericGraphicsInterface::outputString(), plotDirectionArrowsOnInitialCurve, plotHyperbolicSurface, plotObject, pStartCurveStretchParams, referenceSurfaceHasChanged, Mapping::setIsPeriodic(), StretchMapping::setLayerParameters(), StretchMapping::setNumberOfLayers(), StretchMapping::setStretchingType(), DialogData::setTextLabel(), DialogData::setToggleState(), sPrintF(), sScanF(), startCurve, startCurveStretchMapping, StretchedSquare::stretchFunction(), surfaceGrid, updateForInitialCurve(), and useStartCurveStretchingWhileMarching.
Referenced by update().
|
protected |
References aString, axis1, boundaryCondition, ReferenceCounting::decrementReferenceCount(), distanceToBoundaryCurveTolerance, Mapping::domainDimension, edgeCurveMatchingTolerance, fabs(), freeFloating, Mapping::getClassName(), SplineMapping::getDomainInterval(), MappingRC::getGridDimensions(), Mapping::getGridDimensions(), MappingRC::getIsPeriodic(), Mapping::getIsPeriodic(), DialogData::getOptionMenu(), MappingInformation::graphXInterface, initialCurveFromBoundaryCurves, initialCurveFromCoordinateLine0, initialCurveFromCoordinateLine1, initialCurveFromCurveOnSurface, initialCurveFromEdges, initialCurveOption, GenericGraphicsInterface::inputString(), ComposeMapping::map1, matchingCurves, matchToABoundaryCurve, matchToMapping, NULL, numberOfPointsOnStartCurve, GenericGraphicsInterface::outputString(), outwardSplay, periodic, plotDirectionArrowsOnInitialCurve, plotHyperbolicSurface, plotObject, printF(), projectInitialCurve, projectOntoReferenceSurface, REAL_EPSILON, referenceSurfaceHasChanged, setBoundaryConditionAndOffset(), OptionMenu::setCurrentChoice(), SplineMapping::setDomainInterval(), Mapping::setGridDimensions(), Mapping::setIsPeriodic(), DialogData::setTextLabel(), DialogData::setToggleState(), setup(), sPrintF(), sScanF(), startCurve, startCurveEnd, startCurveStart, GenericGraphicsInterface::stopReadingCommandFile(), surfaceMappingProjectionParameters, MappingRC::update(), Mapping::update(), updateForInitialCurve(), and useTriangulation.
Referenced by update().
|
virtual |
Reimplemented from Mapping.
References NULL, and Mapping::useRobustInverse().
Referenced by update().
|
protected |
Referenced by buildMarchingParametersDialog(), generate(), get(), initialize(), operator=(), put(), setParameters(), and updateMarchingParameters().
|
protected |
|
protected |
Referenced by formBlockTridiagonalSystem(), generate(), and implicitSolve().
enum HyperbolicMapping::BCoptionEnum HyperbolicMapping::bcOption |
|
protected |
Referenced by applyBoundaryConditionMatchToMapping(), applyBoundaryConditions(), assignMarchingParametersDialog(), buildMarchingParametersDialog(), createCurveOnSurface(), display(), drawBoundariesAndCurves(), estimateMarchingParameters(), findMatchingBoundaryCurve(), formBlockTridiagonalSystem(), generate(), get(), getNormalAndSurfaceArea(), initializeSurfaceGrid(), operator=(), project(), put(), setParameters(), setup(), update(), updateBoundaryConditionMappings(), updateForInitialCurve(), updateMarchingParameters(), and updateSurfaceGridParameters().
|
protected |
Referenced by applyBoundaryConditionMatchToMapping(), drawBoundariesAndCurves(), estimateMarchingParameters(), findMatchingBoundaryCurve(), get(), getNormalAndSurfaceArea(), initialize(), operator=(), put(), setBoundaryConditionMapping(), update(), updateBoundaryConditionMappings(), updateMarchingParameters(), and ~HyperbolicMapping().
|
protected |
Referenced by applyBoundaryConditionMatchToMapping(), and getNormalAndSurfaceArea().
|
protected |
|
static |
Referenced by display().
|
protected |
|
protected |
Referenced by applyBoundaryConditionMatchToMapping(), assignMarchingParametersDialog(), buildMarchingParametersDialog(), equidistributeAndStretch(), evaluateStartCurve(), generate(), get(), getNormalAndSurfaceArea(), initializeMarchingParameters(), operator=(), put(), setBoundaryConditionAndOffset(), setup(), update(), and updateMarchingParameters().
|
protected |
Referenced by generate(), get(), initialize(), initializeMarchingParameters(), operator=(), put(), and setup().
|
protected |
|
protected |
Referenced by formBlockTridiagonalSystem(), generate(), and implicitSolve().
|
protected |
Referenced by formBlockTridiagonalSystem(), formCMatrix(), and initializeMarchingArrays().
|
protected |
Referenced by initialize(), setPlotOption(), update(), and updatePlotOptions().
|
protected |
Referenced by buildPlotOptionsDialog(), update(), updateOld(), and updatePlotOptions().
|
protected |
Referenced by buildMarchingParametersDialog(), initialize(), project(), and updateMarchingParameters().
|
protected |
Referenced by formBlockTridiagonalSystem(), generate(), and implicitSolve().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Referenced by buildSurfaceGridParametersDialog(), createCurveOnSurface(), initialize(), and updateSurfaceGridParameters().
|
protected |
Referenced by applyBoundaryConditions(), assignMarchingParametersDialog(), buildMarchingParametersDialog(), drawHyperbolicGrid(), evaluateStartCurve(), get(), initializeHyperbolicGridParameters(), operator=(), put(), update(), updateMarchingParameters(), updateOld(), and updateStartCurveSpacingOptions().
|
protected |
Referenced by initializeMarchingArrays(), setStartingCurve(), setSurface(), setup(), and updateForInitialCurve().
|
protected |
|
protected |
Referenced by adjustDistanceToMarch(), get(), getDistanceToStep(), initializeMarchingParameters(), operator=(), and put().
|
protected |
Referenced by display(), get(), initialize(), operator=(), put(), and setParameters().
|
static |
Referenced by display().
|
protected |
|
protected |
Referenced by computeNonlinearDiffussionCoefficient().
|
protected |
Referenced by applyBoundaryConditions(), blendNormals(), equidistributeAndStretch(), evaluateStartCurve(), generate(), get(), getCurvatureDependentSpeed(), getNormalAndSurfaceArea(), initializeMarchingParameters(), initializeSurfaceGrid(), jacobiSmooth(), operator=(), plotDirectionArrows(), project(), put(), smooth(), update(), updateMarchingParameters(), and updateOld().
|
protected |
Referenced by buildBoundaryConditionMappingDialog(), createCurveOnSurface(), display(), drawBoundariesAndCurves(), drawHyperbolicGrid(), generate(), get(), getDistanceToStep(), hypgen(), initializeHyperbolicGridParameters(), initializeMarchingArrays(), initializeMarchingParameters(), initializeSurfaceGrid(), operator=(), plotCellQuality(), plotDirectionArrows(), put(), setLinesAndDistanceLabels(), setParameters(), update(), updateBoundaryConditionMappingDialog(), and updateOld().
|
protected |
|
protected |
Referenced by applyBoundaryConditionMatchToMapping(), applyBoundaryConditions(), computeCellVolumes(), computeNonlinearDiffussionCoefficient(), drawHyperbolicGrid(), findNormalsToStartCurve(), formBlockTridiagonalSystem(), formCMatrix(), generate(), get(), getCurvatureDependentSpeed(), initializeMarchingParameters(), initializeSurfaceGrid(), jacobiSmooth(), operator=(), plotCellQuality(), plotDirectionArrows(), project(), and put().
|
protected |
Referenced by generate(), initialize(), and update().
|
protected |
Referenced by buildCurve(), createCurveOnSurface(), and initialize().
|
protected |
Referenced by buildCurve(), buildSurfaceGridParametersDialog(), createCurveOnSurface(), project(), update(), and updateSurfaceGridParameters().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Referenced by applyBoundaryConditions(), get(), initializeHyperbolicGridParameters(), matchToCurve(), operator=(), put(), and updateOld().
|
protected |
Referenced by get(), getNormalAndSurfaceArea(), initializeHyperbolicGridParameters(), operator=(), put(), and updateOld().
|
protected |
Referenced by computeCellVolumes(), getNormalAndSurfaceArea(), and initializeMarchingArrays().
|
protected |
Referenced by computeNonlinearDiffussionCoefficient(), get(), initializeHyperbolicGridParameters(), operator=(), put(), and updateOld().
|
protected |
Referenced by get(), getDistanceToStep(), initialize(), operator=(), put(), updateMarchingSpacingOptions(), updateOld(), and ~HyperbolicMapping().
|
protected |
|
protected |
Referenced by buildPlotOptionsDialog(), drawHyperbolicGrid(), initialize(), update(), and updatePlotOptions().
|
protected |
Referenced by applyBoundaryConditions(), assignMarchingParametersDialog(), blendNormals(), buildMarchingParametersDialog(), display(), findMatchingBoundaryCurve(), get(), getNormalAndSurfaceArea(), initializeHyperbolicGridParameters(), matchToCurve(), operator=(), put(), updateMarchingParameters(), and updateOld().
|
protected |
Referenced by buildMarchingSpacingDialog(), and initialize().
|
protected |
|
protected |
Referenced by initializeHyperbolicGridParameters().
|
protected |
Referenced by assignMarchingParametersDialog(), buildMarchingParametersDialog(), display(), drawHyperbolicGrid(), get(), getNormalAndSurfaceArea(), initializeHyperbolicGridParameters(), operator=(), put(), setParameters(), setup(), update(), updateMarchingParameters(), updateOld(), and updateStartCurveSpacingOptions().
enum HyperbolicMapping::PickingOptionEnum HyperbolicMapping::pickingOption |
Referenced by buildCurve(), createCurveOnSurface(), and update().
|
protected |
Referenced by assignMarchingParametersDialog(), drawBoundariesAndCurves(), update(), updateMarchingParameters(), and updateOld().
|
protected |
Referenced by buildPlotOptionsDialog(), drawBoundariesAndCurves(), update(), and updatePlotOptions().
|
protected |
Referenced by drawBoundariesAndCurves(), update(), updateOld(), updateStartCurveSpacingOptions(), and updateSurfaceGridParameters().
|
protected |
Referenced by buildPlotOptionsDialog(), drawHyperbolicGrid(), initialize(), operator=(), and updatePlotOptions().
|
protected |
Referenced by buildPlotOptionsDialog(), update(), and updatePlotOptions().
|
protected |
|
protected |
Referenced by drawHyperbolicGrid(), generate(), and update().
|
protected |
|
protected |
Referenced by buildPlotOptionsDialog(), update(), updateOld(), and updatePlotOptions().
|
protected |
Referenced by buildPlotOptionsDialog(), drawReferenceSurface(), update(), and updatePlotOptions().
|
protected |
|
protected |
Referenced by buildSurfaceGridParametersDialog(), get(), initialize(), operator=(), put(), updateOld(), and updateSurfaceGridParameters().
|
protected |
Referenced by buildMarchingParametersDialog(), initialize(), projectNormalsToMatchCurve(), and updateMarchingParameters().
|
protected |
|
protected |
Referenced by buildStartCurveSpacingDialog(), initialize(), updateStartCurveSpacingOptions(), and ~HyperbolicMapping().
|
protected |
|
protected |
Referenced by generate(), get(), initializeHyperbolicGridParameters(), initializeMarchingArrays(), operator=(), put(), and updateOld().
|
protected |
Referenced by get(), initialize(), operator=(), put(), saveReferenceSurfaceWhenPut(), and update().
|
protected |
Referenced by get(), initialize(), operator=(), put(), smooth(), and update().
enum HyperbolicMapping::SpacingOptionEnum HyperbolicMapping::spacingOption |
|
protected |
|
protected |
|
protected |
Referenced by drawBoundariesAndCurves(), estimateMarchingParameters(), evaluateStartCurve(), findMatchingBoundaryCurve(), findNormalsToStartCurve(), get(), HyperbolicMapping(), initialize(), operator=(), plotDirectionArrows(), put(), setStartingCurve(), setup(), update(), updateForInitialCurve(), updateStartCurveSpacingOptions(), updateSurfaceGridParameters(), and ~HyperbolicMapping().
|
protected |
|
protected |
|
protected |
|
protected |
Referenced by buildMarchingParametersDialog(), generate(), get(), initialize(), operator=(), put(), update(), and updateMarchingParameters().
|
protected |
Referenced by applyBoundaryConditionMatchToMapping(), applyBoundaryConditions(), buildCurve(), buildMarchingParametersDialog(), buildSurfaceGridParametersDialog(), display(), drawBoundariesAndCurves(), drawReferenceSurfaceEdges(), estimateMarchingParameters(), evaluateStartCurve(), generate(), get(), getDissipationCoefficient(), getNormalAndSurfaceArea(), HyperbolicMapping(), initialize(), initializeMarchingArrays(), initializeSurfaceGrid(), matchToCurve(), operator=(), printStatistics(), put(), setIsSurfaceGrid(), setSurface(), setup(), update(), updateForInitialCurve(), updateMarchingParameters(), updateOld(), and updateStartCurveSpacingOptions().
|
protected |
Referenced by buildSurfaceGridParametersDialog(), project(), and updateSurfaceGridParameters().
|
protected |
Referenced by estimateMarchingParameters(), get(), initialize(), operator=(), put(), setParameters(), update(), updateForInitialCurve(), and updateLinesAndDistanceToMarch().
|
protected |
|
protected |
Referenced by generate(), initialize(), and printStatistics().
|
protected |
Referenced by get(), getNormalAndSurfaceArea(), operator=(), and put().
|
protected |
|
protected |
|
protected |
Referenced by applyBoundaryConditions(), buildStartCurveSpacingDialog(), initialize(), and updateStartCurveSpacingOptions().
|
protected |
Referenced by buildSurfaceGridParametersDialog(), initialize(), project(), and updateSurfaceGridParameters().
|
protected |
Referenced by drawHyperbolicGrid(), generate(), plotCellQuality(), smooth(), update(), updateMarchingParameters(), and updateOld().
|
protected |
Referenced by evaluateStartCurve(), and initializeMarchingArrays().
|
protected |
Referenced by generate().