Overture
Version 25
|
#include "EquiDistribute.h"
#include "arrayGetIndex.h"
#include "display.h"
#include "DataPointMapping.h"
#include "GenericGraphicsInterface.h"
#include "CompositeSurface.h"
Macros | |
#define | AREA(i1, i2, i3) (wa(i1,i2,i3)*areaWeight/(eps+max(wa(i1,i2,i3)))) |
#define | CURVATURE(i1, i2, i3) (w2(i1,i2,i3)*(curvatureWeight/(eps+max(w2(i1,i2,i3))))) |
Functions | |
int | equidistribute (const RealArray &w, RealArray &r) |
int | periodicUpdate (realArray &x, const IntegerArray &indexRange, const IntegerArray &bc, const int &domainDimension, const int &rangeDimension) |
int | equiGridSmoother (const int &domainDimension, const int &rangeDimension, IntegerArray &indexRange, IntegerArray &bc, const int &axis, const realArray &x, realArray &r, const real arcLengthWeight, const real curvatureWeight, const real areaWeight, int numberOfSmooths) |
int | equiGridSmoother (Mapping &map, DataPointMapping &dpm, GenericGraphicsInterface &gi, GraphicsParameters ¶meters, IntegerArray &bc, real &arcLengthWeight, real &curvatureWeight, real &areaWeight) |
Referenced by equiGridSmoother().
Referenced by equiGridSmoother().
int equiGridSmoother | ( | const int & | domainDimension, |
const int & | rangeDimension, | ||
IntegerArray & | indexRange, | ||
IntegerArray & | bc, | ||
const int & | axis, | ||
const realArray & | x, | ||
realArray & | r, | ||
const real | arcLengthWeight, | ||
const real | curvatureWeight, | ||
const real | areaWeight, | ||
int | numberOfSmooths | ||
) |
References AREA, assert, axis1, axis2, axis3, CURVATURE, End, equidistribute(), evaluate(), fabs(), getBoundaryIndex(), getIndex(), i2, max(), periodicUpdate(), r, REAL_EPSILON, SQR, SQRT, and Start.
Referenced by equiGridSmoother(), GridSmoother::smooth(), and HyperbolicMapping::smooth().
int equiGridSmoother | ( | Mapping & | map, |
DataPointMapping & | dpm, | ||
GenericGraphicsInterface & | gi, | ||
GraphicsParameters & | parameters, | ||
IntegerArray & | bc, | ||
real & | arcLengthWeight, | ||
real & | curvatureWeight, | ||
real & | areaWeight | ||
) |
References aString, axis1, End, equiGridSmoother(), GenericGraphicsInterface::erase(), fabs(), getBoundaryIndex(), Mapping::getClassName(), Mapping::getDomainDimension(), DataPointMapping::getGrid(), Mapping::getGridDimensions(), getIndex(), Mapping::getIsPeriodic(), GenericGraphicsInterface::getMenuItem(), Mapping::getName(), Mapping::getRangeDimension(), GI_TOP_LABEL, indexRange, GenericGraphicsInterface::inputString(), Mapping::inverseMap(), DataPointMapping::map(), Mapping::map(), Mapping::mappingName, max(), GenericGraphicsInterface::outputString(), periodicUpdate(), PlotIt::plot(), CompositeSurface::project(), r, GenericGraphicsInterface::redraw(), GraphicsParameters::set(), DataPointMapping::setDataPoints(), sPrintF(), sScanF(), Start, TRUE, and x.
int periodicUpdate | ( | realArray & | x, |
const IntegerArray & | indexRange, | ||
const IntegerArray & | bc, | ||
const int & | domainDimension, | ||
const int & | rangeDimension | ||
) |
References End, getBoundaryIndex(), and Start.
Referenced by equiGridSmoother(), and ExposedPoints::interpolate().