Overture
Version 25
|
#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"
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) |
#define ELEMENTS |
#define OV_DEBUG |
realArray computeDeviation | ( | UnstructuredMapping & | umap, |
Mapping & | cmap | ||
) |
References Mapping::getClassName(), Mapping::getDomainDimension(), UnstructuredMapping::getEdges(), UnstructuredMapping::getElements(), UnstructuredMapping::getNodes(), UnstructuredMapping::getNumberOfEdges(), UnstructuredMapping::getNumberOfElements(), Mapping::getRangeDimension(), MappingProjectionParameters::getRealArray(), pow(), Mapping::project(), MappingProjectionParameters::r, and MappingProjectionParameters::x.
Referenced by refineTriangulation().
realArray evaluateDeviation | ( | CompositeSurface & | model | ) |
References CompositeSurface::getCompositeTopology(), Mapping::getDomainDimension(), UnstructuredMapping::getElements(), UnstructuredMapping::getNodes(), UnstructuredMapping::getNumberOfElements(), Mapping::getRangeDimension(), MappingProjectionParameters::getRealArray(), CompositeTopology::getTriangulation(), CompositeSurface::isTopologyDetermined(), pow(), CompositeSurface::project(), MappingProjectionParameters::r, CompositeSurface::updateTopology(), and MappingProjectionParameters::x.
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 | ||
) |
References CompositeSurface::add(), aString, GenericGraphicsInterface::createMessageDialog(), ReferenceCounting::decrementReferenceCount(), errorDialog, CompositeSurface::get(), CompositeSurface::getSurfaceID(), ReferenceCounting::incrementReferenceCount(), GenericGraphicsInterface::inputFileName(), HDF_DataBase::mount(), NULL, CompositeSurface::numberOfSubSurfaces(), SC, sPrintF(), and HDF_DataBase::unmount().
int rapOpenModel | ( | aString | modelFileName, |
CompositeSurface & | model | ||
) |
References CompositeSurface::add(), aString, ReferenceCounting::decrementReferenceCount(), CompositeSurface::get(), CompositeSurface::getSurfaceID(), ReferenceCounting::incrementReferenceCount(), HDF_DataBase::mount(), NULL, CompositeSurface::numberOfSubSurfaces(), SC, sPrintF(), and HDF_DataBase::unmount().
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 | ||
) |
References E, Mapping::getDomainBound(), max(), min(), R, and ra.
Referenced by CompositeTopology::buildSubSurfaceTriangulation(), refineTriangulation(), and TrimmedMapping::triangulate().
bool unScaleNodes | ( | Mapping & | referenceSurface, |
realArray & | rt, | ||
bool | collapsedEdge[2][3], | ||
real | rai | ||
) |
References Mapping::getDomainBound(), R, and ra.
Referenced by refineTriangulation().