Overture  Version 25
Macros | Functions
refineTriangulation.C File Reference
#include "Mapping.h"
#include "rap.h"
#include "TriangleWrapper.h"
#include "UnstructuredMapping.h"
#include "CompositeSurface.h"
#include "CompositeTopology.h"
#include "GenericGraphicsInterface.h"
#include "MappingProjectionParameters.h"
#include "PlotIt.h"
Include dependency graph for refineTriangulation.C:

Macros

#define OV_DEBUG
 
#define ELEMENTS
 

Functions

int rapOpenModel (GenericGraphicsInterface &gi, GraphicsParameters &gp, CompositeSurface &model)
 
int rapOpenModel (aString modelFileName, CompositeSurface &model)
 
realArray evaluateDeviation (CompositeSurface &model)
 
real refineVisibleSurfaces (GenericGraphicsInterface &gi, CompositeSurface &model, real absoluteTol)
 
bool scaleNodes (Mapping &referenceSurface, realArray &rc, bool collapsedEdge[2][3], bool isTrimmedMapping, real rai)
 
bool unScaleNodes (Mapping &referenceSurface, realArray &rt, bool collapsedEdge[2][3], real rai)
 
bool findRBound (realArray &rc, bool collapsedEdge[2][3], real &rBound, int &axis, bool &atMin)
 
realArray computeDeviation (UnstructuredMapping &umap, Mapping &cmap)
 
real refineTriangulation (UnstructuredMapping &umap, Mapping &cmap, real absoluteTol)
 

Macro Definition Documentation

#define ELEMENTS
#define OV_DEBUG

Function Documentation

realArray computeDeviation ( UnstructuredMapping umap,
Mapping cmap 
)
realArray evaluateDeviation ( CompositeSurface model)
bool findRBound ( realArray rc,
bool  collapsedEdge[2][3],
real rBound,
int &  axis,
bool &  atMin 
)

References fabs(), max(), and REAL_MAX.

Referenced by refineTriangulation().

int rapOpenModel ( GenericGraphicsInterface gi,
GraphicsParameters gp,
CompositeSurface model 
)
int rapOpenModel ( aString  modelFileName,
CompositeSurface model 
)
real refineTriangulation ( UnstructuredMapping umap,
Mapping cmap,
real  absoluteTol 
)

References Mapping::cartesianSpace, computeDeviation(), Mapping::determineResolution(), dx, GenericGraphicsInterface::erase(), evaluate(), fabs(), findRBound(), TriangleWrapper::generate(), TriangleWrapper::generateElementList(), UnstructuredMapping::getBoundaryFace(), TrimmedMapping::getClassName(), Mapping::getClassName(), Mapping::getDomainDimension(), UnstructuredMapping::getEdges(), UnstructuredMapping::getElements(), UnstructuredMapping::getFaceElements(), UnstructuredMapping::getFaces(), TriangleWrapperParameters::getFreezeSegments(), Overture::getGraphicsInterface(), UnstructuredMapping::getNodes(), UnstructuredMapping::getNumberOfBoundaryFaces(), UnstructuredMapping::getNumberOfEdges(), UnstructuredMapping::getNumberOfElements(), UnstructuredMapping::getNumberOfNodes(), TriangleWrapper::getParameters(), TriangleWrapper::getPoints(), Mapping::getRangeDimension(), TriangleWrapperParameters::getVoronoi(), TriangleWrapper::initialize(), Mapping::inverseMap(), TrimmedMapping::map(), Mapping::map(), max(), min(), Mapping::parameterSpace, PlotIt::plot(), GenericGraphicsInterface::plotPoints(), R, REAL_EPSILON, REAL_MAX, REAL_MIN, TriangleWrapperParameters::saveNeighbourList(), scaleNodes(), UnstructuredMapping::setNodesAndConnectivity(), TriangleWrapperParameters::setQuietMode(), TriangleWrapperParameters::setVerboseMode(), TriangleWrapperParameters::toggleFreezeSegments(), TriangleWrapperParameters::toggleVoronoi(), unScaleNodes(), and x.

Referenced by CompositeTopology::buildSubSurfaceTriangulation(), and refineVisibleSurfaces().

real refineVisibleSurfaces ( GenericGraphicsInterface gi,
CompositeSurface model,
real  absoluteTol 
)
bool scaleNodes ( Mapping referenceSurface,
realArray rc,
bool  collapsedEdge[2][3],
bool  isTrimmedMapping,
real  rai 
)
bool unScaleNodes ( Mapping referenceSurface,
realArray rt,
bool  collapsedEdge[2][3],
real  rai 
)

References Mapping::getDomainBound(), R, and ra.

Referenced by refineTriangulation().