Overture  Version 25
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Ugen Class Reference

#include <Ugen.h>

Collaboration diagram for Ugen:
Collaboration graph
[legend]

Public Types

enum  GeneratorType { TriWrap, AdvFront }
 

Public Member Functions

 Ugen ()
 
 Ugen (GenericGraphicsInterface &ps_)
 
 ~Ugen ()
 
void updateHybrid (CompositeGrid &cg, MappingInformation &mapInfo)
 
void updateHybrid (CompositeGrid &cg)
 
void buildHybridInterfaceMappings (MappingInformation &mapInfo, CompositeGrid &cg, Ugen::GeneratorType genWith, intArray *&gridIndex2UnstructuredVertex, intArray &unstructuredVertex2GridIndex, intArray *&gridVertex2UnstructuredVertex, intArray &initialFaceZones)
 
UnstructuredMappinggetUnstructuredMapping () const
 

Protected Member Functions

int initialize ()
 
void plot (const aString &title, CompositeGrid &cg, bool plotComponentGrids, bool plotTriangle, bool plotAdvFront)
 
void preprocessCompositeGridMasks (CompositeGrid &cg)
 
void initializeGeneration (CompositeGrid &cg, intArray *vertexIndex, intArray &numberOfVertices, intArray *vertexIDMap, intArray &vertexGridIndexMap, intArray *gridIndexVertexMap, intArray &initialFaces, intArray &initialFaceZones, realArray &xyz_initial)
 
void removeHangingFaces (CompositeGrid &cg)
 
void buildHybridVertexMappings (CompositeGrid &cg, intArray *vertexIndex, intArray &numberOfVertices, intArray *vertexIDMap, intArray &vertexGridIndexMap, intArray *gridIndexVertexMap, realArray &xyz_initial)
 
void generateInitialFaceList (CompositeGrid &cg, intArray *vertexIndex, intArray &numberOfVertices, intArray *vertexIDMap, intArray &vertexGridIndexMap, intArray *gridIndexVertexMap, intArray &initialFaces, intArray &initialFaceZones)
 
void computeZoneMasks (CompositeGrid &cg, intArray *&zoneMasks, intArray &numberOfMaskedZones)
 
void generateSpacingControlMesh (CompositeGrid &cg, const intArray &initialFaceZones, const realArray &xyz_initial)
 
void generateSpacingControlMeshForSurface (const intArray &initialFaces, const realArray &initial_vertices)
 
void enlargeHole (CompositeGrid &cg, intArray &vertexGridIndexMap, int egrd=-1)
 
void generateHoleLists (CompositeGrid &cg, intArray *vertexIndex, intArray &numberOfVertices)
 
void sealHoles (CompositeGrid &cg, intArray *gridIndexVertexMap, intArray &initialFaces, realArray &xyz_initial, intArray &initialSurfaceMapping)
 
void generateWithAdvancingFront ()
 
void generateWithTriangle ()
 
void sealHoles3D (CompositeGrid &cg, intArray *gridIndexVertexMap, intArray &boundaryHoleVertices, intArray &initialFaces, realArray &xyz_initial)
 

Protected Attributes

AdvancingFront advancingFront
 
TriangleWrapper triangleWrapper
 
UnstructuredMapping delaunayMesh
 
GenericGraphicsInterfaceps
 
GraphicsParameters psp
 

Member Enumeration Documentation

Enumerator
TriWrap 
AdvFront 

Constructor & Destructor Documentation

Ugen::Ugen ( )

References initialize(), NULL, and ps.

Ugen::Ugen ( GenericGraphicsInterface ps_)

References initialize(), and ps.

Ugen::~Ugen ( )

Member Function Documentation

void Ugen::buildHybridInterfaceMappings ( MappingInformation mapInfo,
CompositeGrid cg,
Ugen::GeneratorType  genWith,
intArray *&  gridIndex2UnstructuredVertex,
intArray &  unstructuredVertex2GridIndex,
intArray *&  gridVertex2UnstructuredVertex,
intArray &  initialFaceZones 
)
void Ugen::buildHybridVertexMappings ( CompositeGrid cg,
intArray *  vertexIndex,
intArray &  numberOfVertices,
intArray *  vertexIDMap,
intArray &  vertexGridIndexMap,
intArray *  gridIndexVertexMap,
realArray xyz_initial 
)
protected
void Ugen::computeZoneMasks ( CompositeGrid cg,
intArray *&  zoneMasks,
intArray &  numberOfMaskedZones 
)
protected
void Ugen::enlargeHole ( CompositeGrid cg,
intArray &  vertexGridIndexMap,
int  egrd = -1 
)
protected
void Ugen::generateHoleLists ( CompositeGrid cg,
intArray *  vertexIndex,
intArray &  numberOfVertices 
)
protected
void Ugen::generateInitialFaceList ( CompositeGrid cg,
intArray *  vertexIndex,
intArray &  numberOfVertices,
intArray *  vertexIDMap,
intArray &  vertexGridIndexMap,
intArray *  gridIndexVertexMap,
intArray &  initialFaces,
intArray &  initialFaceZones 
)
protected
void Ugen::generateSpacingControlMesh ( CompositeGrid cg,
const intArray &  initialFaceZones,
const realArray xyz_initial 
)
protected
void Ugen::generateSpacingControlMeshForSurface ( const intArray &  initialFaces,
const realArray initial_vertices 
)
protected
void Ugen::generateWithAdvancingFront ( )
protected
void Ugen::generateWithTriangle ( )
protected
UnstructuredMapping* Ugen::getUnstructuredMapping ( ) const
inline
int Ugen::initialize ( )
protected

Referenced by Ugen().

void Ugen::initializeGeneration ( CompositeGrid cg,
intArray *  vertexIndex,
intArray &  numberOfVertices,
intArray *  vertexIDMap,
intArray &  vertexGridIndexMap,
intArray *  gridIndexVertexMap,
intArray &  initialFaces,
intArray &  initialFaceZones,
realArray xyz_initial 
)
protected
void Ugen::plot ( const aString title,
CompositeGrid cg,
bool  plotComponentGrids,
bool  plotTriangle,
bool  plotAdvFront 
)
protected
void Ugen::preprocessCompositeGridMasks ( CompositeGrid cg)
protected
void Ugen::removeHangingFaces ( CompositeGrid cg)
protected
void Ugen::sealHoles ( CompositeGrid cg,
intArray *  gridIndexVertexMap,
intArray &  initialFaces,
realArray xyz_initial,
intArray &  initialSurfaceMapping 
)
protected
void Ugen::sealHoles3D ( CompositeGrid cg,
intArray *  gridIndexVertexMap,
intArray &  boundaryHoleVertices,
intArray &  initialFaces,
realArray xyz_initial 
)
protected
void Ugen::updateHybrid ( CompositeGrid cg,
MappingInformation mapInfo 
)

References advancingFront, AdvFront, GenericGraphicsInterface::appendToTheDefaultPrompt(), assert, aString, buildHybridInterfaceMappings(), GenericGraphicsInterface::createWindow(), AbstractException::debug_print(), debug_Ugen, delaunayMesh, AdvancingFront::destroyFront(), enlargeHole(), GenericGraphicsInterface::erase(), AdvancingFront::expandFront(), FALSE, generateWithAdvancingFront(), generateWithTriangle(), GenericGraphicsInterface::getAnswer(), GUIState::getDialogSibling(), AdvancingFrontParameters::getEdgeGrowthFactor(), AdvancingFront::getFaces(), TriangleWrapperParameters::getMaximumArea(), AdvancingFrontParameters::getMaxNeighborAngle(), TriangleWrapperParameters::getMinimumAngle(), AdvancingFrontParameters::getNumberOfAdvances(), AdvancingFront::getNumberOfElements(), AdvancingFront::getNumberOfFaces(), DialogData::getOptionMenu(), AdvancingFront::getParameters(), TriangleWrapper::getParameters(), GI_PLOT_THE_OBJECT_AND_EXIT, GenericGraphicsInterface::graphicsIsOn(), MappingInformation::graphXInterface, DialogData::hideSibling(), AdvancingFrontParameters::highlightFace(), initializeGeneration(), GenericGraphicsInterface::inputString(), AdvancingFrontParameters::meshEdges, AdvancingFrontParameters::meshFaces, NULL, GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), GenericGridCollection::numberOfGrids(), numberOfVertices, GenericGraphicsInterface::outputString(), PlotIt::plot(), plot(), GenericGraphicsInterface::popGUI(), preprocessCompositeGridMasks(), ps, psp, GenericGraphicsInterface::pushGUI(), GraphicsParameters::set(), OptionMenu::setCurrentChoice(), AdvancingFrontParameters::setEdgeGrowthFactor(), DialogData::setExitCommand(), TriangleWrapperParameters::setMaximumArea(), AdvancingFrontParameters::setMaxNeighborAngle(), TriangleWrapperParameters::setMinimumAngle(), AdvancingFrontParameters::setNumberOfAdvances(), AdvancingFrontParameters::setQualityTolerance(), DialogData::setSensitive(), DialogData::setTextLabel(), DialogData::setWindowTitle(), DialogData::showSibling(), sPrintF(), sScanF(), AdvancingFrontParameters::toggle(), triangleWrapper, TriWrap, TRUE, and GenericGraphicsInterface::unAppendTheDefaultPrompt().

Referenced by ogen(), sealHoles3D(), SurfaceStitcher::stitchSurfaceCompositeGrid(), and updateHybrid().

void Ugen::updateHybrid ( CompositeGrid cg)

Member Data Documentation

AdvancingFront Ugen::advancingFront
mutableprotected
UnstructuredMapping Ugen::delaunayMesh
protected
GenericGraphicsInterface* Ugen::ps
protected
GraphicsParameters Ugen::psp
protected

Referenced by plot(), sealHoles(), and updateHybrid().

TriangleWrapper Ugen::triangleWrapper
protected

The documentation for this class was generated from the following files: