#include <GridSmoother.h>
|
| GridSmoother (int domainDimension, int rangeDimension) |
|
| ~GridSmoother () |
|
int | buildDialog (DialogData &dialog) |
|
bool | updateOptions (aString &answer, DialogData &dialog, MappingInformation &mapInfo) |
|
void | reset () |
|
void | setWeights (real arcLength, real curvature, real area) |
|
int | setBoundaryConditions (int bc[2][3]) |
|
int | setBoundaryConditions (IntegerArray &bc) |
|
int | setBoundaryMappings (Mapping *boundaryMapping[2][3]) |
|
int | setMatchingCurves (vector< MatchingCurve > &matchingCurves) |
|
int | periodicUpdate (realArray &x, const IntegerArray &indexRange) |
|
int | smooth (Mapping &map, DataPointMapping &dpm, GenericGraphicsInterface &gi, GraphicsParameters ¶meters, int projectGhost[2][3]) |
|
int | applyBoundaryConditions (Mapping &map, DataPointMapping &dpm, realArray &x, const IntegerArray &indexRange, const IntegerArray &gids, const Index Iv[3], const Index Jv[3], const Index Kv[3], realArray &normal, bool projectSurfaceGrids=true) |
|
Enumerator |
---|
periodic |
|
pointsFixed |
|
pointsSlide |
|
boundaryIsSmoothed |
|
Enumerator |
---|
lineAttraction |
|
pointAttraction |
|
GridSmoother::GridSmoother |
( |
int |
domainDimension, |
|
|
int |
rangeDimension |
|
) |
| |
References arclengthWeight, areaWeight, bc, blendingFactor, boundaryMapping, controlFunctionComputed, curvatureWeight, domainDimension, maximumProjectionCorrection, mpParams, NULL, numberOfControlFunctionSmooths, numberOfEllipticSmooths, numberOfEquidistributionIterations, numberOfIterations, numberOfLaplacianSmooths, numberOfNormalSmooths, numberOfWeightSmooths, omega, pointsSlide, projectSmoothedGridOntoReferenceSurface, rangeDimension, MappingProjectionParameters::setAdjustForCornersWhenMarching(), MappingProjectionParameters::setIsAMarchingAlgorithm(), smoothGridGhostPoints, smoothingOffset, smoothingRegion, smoothNormals, totalIterations, and useInitialGridAsControlGrid.
GridSmoother::~GridSmoother |
( |
| ) |
|
References assert, bc, blendingFactor, boundaryMapping, computeNormals(), MatchingCurve::curve, ReferenceCounting::decrementReferenceCount(), display(), domainDimension, fabs(), getBoundaryIndex(), getGhostIndex(), MappingProjectionParameters::getRealArray(), MatchingCurve::gridLine, ReferenceCounting::incrementReferenceCount(), matchingCurves, max(), maximumProjectionCorrection, min(), mpParams, MappingProjectionParameters::normal, NULL, numberOfNormalSmooths, periodic, periodicUpdate(), pointsSlide, Mapping::project(), MatchingCurve::projectionParameters, projectSmoothedGridOntoReferenceSurface, R, rangeDimension, regionsNotToProject, MappingProjectionParameters::reset(), MappingProjectionParameters::setIsAMarchingAlgorithm(), smoothGridGhostPoints, smoothingOffset, smoothNormals, and smoothSurfaceNormals.
Referenced by smooth().
int GridSmoother::buildDialog |
( |
DialogData & |
dialog | ) |
|
References DialogData::addOptionMenu(), GUIState::addPrefix(), assert, aString, bc, blendingFactor, domainDimension, ipar, lineAttraction, numberOfControlFunctionSmooths, numberOfEllipticSmooths, numberOfEquidistributionIterations, numberOfIterations, numberOfLaplacianSmooths, omega, projectSmoothedGridOntoReferenceSurface, regionsNotToProject, rpar, DialogData::setOptionMenuColumns(), DialogData::setPushButtons(), DialogData::setTextBoxes(), DialogData::setToggleButtons(), smoothGridGhostPoints, smoothingOffset, smoothNormals, sPrintF(), and useInitialGridAsControlGrid.
Referenced by MappingBuilder::buildSurfacePatch(), and HyperbolicMapping::update().
void GridSmoother::computeNormals |
( |
realArray & |
normal, |
|
|
const Index & |
I1, |
|
|
const Index & |
I2, |
|
|
const Index & |
I3, |
|
|
const realArray & |
x |
|
) |
| |
|
protected |
void GridSmoother::reset |
( |
| ) |
|
int GridSmoother::setBoundaryConditions |
( |
int |
bc[2][3] | ) |
|
int GridSmoother::setBoundaryConditions |
( |
IntegerArray & |
bc | ) |
|
int GridSmoother::setBoundaryMappings |
( |
Mapping * |
boundaryMapping[2][3] | ) |
|
int GridSmoother::setMatchingCurves |
( |
vector< MatchingCurve > & |
matchingCurves | ) |
|
void GridSmoother::setWeights |
( |
real |
arcLength, |
|
|
real |
curvature, |
|
|
real |
area |
|
) |
| |
References applyBoundaryConditions(), arclengthWeight, areaWeight, assert, axis1, bc, controlFunctionComputed, curvatureWeight, domainDimension, dr, ellipticSmooth, End, equiGridSmoother(), fabs(), fixedControlFunctions, getBoundaryIndex(), DataPointMapping::getDataPoints(), Mapping::getDomainDimension(), getGhostIndex(), Mapping::getGridDimensions(), getIndex(), Mapping::getIsPeriodic(), Mapping::getRangeDimension(), indexRange, ipar, DataPointMapping::map(), max(), maximumProjectionCorrection, min(), normal, numberOfControlFunctionSmooths, numberOfEllipticSmooths, numberOfEquidistributionIterations, numberOfIterations, numberOfLaplacianSmooths, numberOfWeightSmooths, omega, periodic, periodicUpdate(), pointsFixed, pointsSlide, rangeDimension, REAL_MIN, rpar, DataPointMapping::setDataPoints(), smoothingOffset, source, Start, totalIterations, useInitialGridAsControlGrid, and x.
Referenced by MappingBuilder::buildSurfacePatch(), and HyperbolicMapping::update().
References arclengthWeight, areaWeight, aString, bc, blendingFactor, curvatureWeight, domainDimension, DialogData::getOptionMenu(), MappingInformation::graphXInterface, ipar, lineAttraction, numberOfControlFunctionSmooths, numberOfEllipticSmooths, numberOfEquidistributionIterations, numberOfIterations, numberOfLaplacianSmooths, numberOfWeightSmooths, omega, GenericGraphicsInterface::outputString(), projectSmoothedGridOntoReferenceSurface, regionsNotToProject, rpar, OptionMenu::setCurrentChoice(), DialogData::setTextLabel(), DialogData::setToggleState(), smoothGridGhostPoints, smoothingOffset, smoothNormals, sPrintF(), sScanF(), and useInitialGridAsControlGrid.
Referenced by MappingBuilder::buildSurfacePatch(), and HyperbolicMapping::update().
real GridSmoother::arclengthWeight |
|
protected |
real GridSmoother::areaWeight |
|
protected |
real GridSmoother::blendingFactor |
|
protected |
Mapping* GridSmoother::boundaryMapping[2][3] |
|
protected |
bool GridSmoother::controlFunctionComputed |
|
protected |
real GridSmoother::curvatureWeight |
|
protected |
int GridSmoother::domainDimension |
|
protected |
real GridSmoother::maximumProjectionCorrection |
|
protected |
int GridSmoother::numberOfControlFunctionSmooths |
|
protected |
int GridSmoother::numberOfEllipticSmooths |
|
protected |
int GridSmoother::numberOfEquidistributionIterations |
|
protected |
int GridSmoother::numberOfIterations |
|
protected |
int GridSmoother::numberOfLaplacianSmooths |
|
protected |
int GridSmoother::numberOfNormalSmooths |
|
protected |
int GridSmoother::numberOfWeightSmooths |
|
protected |
int GridSmoother::projectSmoothedGridOntoReferenceSurface |
|
protected |
int GridSmoother::rangeDimension |
|
protected |
int GridSmoother::smoothGridGhostPoints |
|
protected |
int GridSmoother::smoothingOffset[2][3] |
|
protected |
int GridSmoother::smoothingRegion[2][3] |
|
protected |
int GridSmoother::smoothNormals |
|
protected |
int GridSmoother::totalIterations |
|
protected |
int GridSmoother::useInitialGridAsControlGrid |
|
protected |
The documentation for this class was generated from the following files: