Overture  Version 25
Static Public Member Functions | Static Public Attributes | Static Protected Member Functions | List of all members
PlotIt Class Reference

#include <PlotIt.h>

Static Public Member Functions

static void plot (GenericGraphicsInterface &gi, Mapping &map, GraphicsParameters &parameters=Overture::defaultGraphicsParameters(), int dList=0, bool lit=FALSE)
 
static void plot (GenericGraphicsInterface &gi, MappedGrid &mg, GraphicsParameters &parameters=Overture::defaultGraphicsParameters())
 
static void plot (GenericGraphicsInterface &gi, AdvancingFront &front, GraphicsParameters &parameters=Overture::defaultGraphicsParameters())
 
static void plot (GenericGraphicsInterface &gi, GridCollection &cg, GraphicsParameters &parameters=Overture::defaultGraphicsParameters())
 
static void plotMappingQuality (GenericGraphicsInterface &gi, Mapping &map, GraphicsParameters &parameters=Overture::defaultGraphicsParameters())
 
static void plotGridQuality (GenericGraphicsInterface &gi, MappedGrid &mg, GraphicsParameters &parameters=Overture::defaultGraphicsParameters())
 
static void plotGridQuality (GenericGraphicsInterface &gi, GridCollection &gc, GraphicsParameters &parameters=Overture::defaultGraphicsParameters())
 
static void plot (GenericGraphicsInterface &gi, const realArray &t, const realArray &x, const aString &title=nullString, const aString &tName=nullString, const aString *xName=NULL, GraphicsParameters &parameters=Overture::defaultGraphicsParameters())
 
static void plot (GenericGraphicsInterface &gi, const realArray &x, const realArray &t, const realArray &u, GraphicsParameters &parameters=Overture::defaultGraphicsParameters())
 
static int plotParallelGridDistribution (GridCollection &cg, GenericGraphicsInterface &gi, GraphicsParameters &par)
 
static void contour (GenericGraphicsInterface &gi, const realMappedGridFunction &u, GraphicsParameters &parameters=Overture::defaultGraphicsParameters())
 
static void contour (GenericGraphicsInterface &gi, const realGridCollectionFunction &u, GraphicsParameters &parameters=Overture::defaultGraphicsParameters())
 
static void streamLines (GenericGraphicsInterface &gi, const realMappedGridFunction &uv, GraphicsParameters &parameters=Overture::defaultGraphicsParameters())
 
static void streamLines (GenericGraphicsInterface &gi, const realGridCollectionFunction &uv0, GraphicsParameters &parameters=Overture::defaultGraphicsParameters())
 
static void displacement (GenericGraphicsInterface &gi, const realGridCollectionFunction &u, GraphicsParameters &parameters=Overture::defaultGraphicsParameters())
 
static int userDefinedOutput (const realGridCollectionFunction &uv, GraphicsParameters &par, const aString &callingFunctionName)
 
static int buildColourDialog (DialogData &dialog)
 
static bool getColour (const aString &answer_, DialogData &dialog, aString &colour)
 
static void getGridBounds (const GridCollection &gc, GraphicsParameters &params, RealArray &xBound)
 

Static Public Attributes

static int parallelPlottingOption =1
 

Static Protected Member Functions

static void plotGrid (GenericGraphicsInterface &gi, GridCollection &cg, GraphicsParameters &parameters=Overture::defaultGraphicsParameters(), const realGridCollectionFunction *v=NULL)
 
static void contour1d (GenericGraphicsInterface &gi, const realGridCollectionFunction &u, GraphicsParameters &parameters=Overture::defaultGraphicsParameters())
 
static void contour2d (GenericGraphicsInterface &gi, const realGridCollectionFunction &u, GraphicsParameters &parameters=Overture::defaultGraphicsParameters())
 
static void contourOpt2d (GenericGraphicsInterface &gi, const realGridCollectionFunction &uGCF, GraphicsParameters &parameters, real &uMin, real &uMax, real &uRaise, bool &recomputeVelocityMinMax, bool &contourLevelsSpecified, RealArray &xBound)
 
static void contour3d (GenericGraphicsInterface &gi, const realGridCollectionFunction &u, GraphicsParameters &parameters=Overture::defaultGraphicsParameters())
 
static void contour3dNew (GenericGraphicsInterface &gi, const realGridCollectionFunction &u, GraphicsParameters &parameters=Overture::defaultGraphicsParameters())
 
static void streamLines2d (GenericGraphicsInterface &gi, GridCollection &gc, const realGridCollectionFunction &uv, GraphicsParameters &parameters)
 
static void streamLines3d (GenericGraphicsInterface &gi, GridCollection &gc, const realGridCollectionFunction &uv, GraphicsParameters &parameters)
 
static void plotStreamLines (GenericGraphicsInterface &gi, const GridCollection &gc, const realGridCollectionFunction &uv, IntegerArray &componentsToInterpolate, IntegerArray &maskForStreamLines_, real arrowSize, GraphicsParameters &psp, real &xa, real &ya, real &xb, real &yb, real &xba, real &yba, real &uMin, real &uMax, int &nrsmx, int &nxg, int &nyg, int &intopt)
 Draw all streamlines.
 
static void drawAStreamLine (GenericGraphicsInterface &gi, const GridCollection &gc, const realGridCollectionFunction &uv, int *componentsToInterpolate, IntegerArray &maskForStreamLines, real arrowSize, GraphicsParameters &psp, real *uip, int *indexGuessp, real &xa, real &ya, real &xb, real &yb, real &xba, real &yba, real &uMin, real &uMax, real &cfl, int &nrsmx, int &nxg, int &nyg, real &xtp, real &ytp, int &intopt)
 
static int drawContourLinesOnAnElement (GenericGraphicsInterface &gi, real *u, real *x, const int numberOfVerticies, const real deltaU, const real deltaUInverse, const real uMin, const real uMax, const real uAverage, const real uScaleFactor, const real uRaise, const RealArray &contourLevels, bool &lineStipple, bool contourLevelsSpecified, GraphicsParameters &psp)
 
static void plotShadedFace (GenericGraphicsInterface &gi, const MappedGrid &c, const intSerialArray &mask, const realSerialArray &vertex, const Index &I1, const Index &I2, const Index &I3, const int axis, const int side, GraphicsParameters &parameters)
 
static void contourCuts (GenericGraphicsInterface &gi, const realGridCollectionFunction &uGCF, GraphicsParameters &parameters)
 
static void getBounds (const realGridCollectionFunction &u, real &uMin, real &uMax, GraphicsParameters &parameters, const Range &R0=nullRange, const Range &R1=nullRange, const Range &R2=nullRange, const Range &R3=nullRange, const Range &R4=nullRange)
 
static void getPlotBounds (const GridCollection &gc, GraphicsParameters &params, RealArray &xBound)
 
static void plotGridBoundaries (GenericGraphicsInterface &gi, const GridCollection &cg, IntegerArray &boundaryConditionList, int numberOfBoundaryConditions, const int colourOption=0, const real zRaise=0., GraphicsParameters &parameters=Overture::defaultGraphicsParameters())
 
static int bcNumber (const int bc, IntegerArray &boundaryConditionList, int numberOfBoundaryConditions)
 
static void grid3d (GenericGraphicsInterface &gi, const GridCollection &cg, GraphicsParameters &parameters, IntegerArray &boundaryConditionList, int numberOfBoundaryConditions, IntegerArray &numberList, int &number, int list, int litList)
 
static void surfaceGrid3d (GenericGraphicsInterface &gi, const GridCollection &gc, GraphicsParameters &psp, IntegerArray &boundaryConditionList, int numberOfBoundaryConditions, IntegerArray &numberList, int &number, int list, int lightList)
 
static int plotUnstructured (GenericGraphicsInterface &gi, const UnstructuredMapping &map, GraphicsParameters &par, int dList=0, bool lit=FALSE)
 
static int plotAdvancingFront (GenericGraphicsInterface &gi, const AdvancingFront &front, GraphicsParameters &par, const int plotOptions)
 
static void plotUM (GenericGraphicsInterface &gi, UnstructuredMapping &map, GraphicsParameters &parameters=Overture::defaultGraphicsParameters(), int dList=0, bool lit=FALSE)
 
static void plotStructured (GenericGraphicsInterface &gi, Mapping &map, GraphicsParameters &parameters=Overture::defaultGraphicsParameters(), int dList=0, bool lit=FALSE)
 
static void plotCompositeSurface (GenericGraphicsInterface &gi, CompositeSurface &cs, GraphicsParameters &params=Overture::defaultGraphicsParameters())
 
static void plotSubSurfaceNormals (GenericGraphicsInterface &gi, CompositeSurface &cs, GraphicsParameters &params)
 
static void plotDirectionArrows (GenericGraphicsInterface &gi, HyperbolicMapping &hyp, GraphicsParameters &params)
 
static void plotTrimmedMapping (GenericGraphicsInterface &gi, TrimmedMapping &map, GraphicsParameters &params=Overture::defaultGraphicsParameters(), int dList=0, bool lit=FALSE)
 
static void plotNurbsMapping (GenericGraphicsInterface &gi, NurbsMapping &map, GraphicsParameters &params=Overture::defaultGraphicsParameters(), int dList=0, bool lit=FALSE)
 
static void renderTrimmedNurbsMapping (GenericGraphicsInterface &gi, TrimmedMapping &map, GraphicsParameters &params=Overture::defaultGraphicsParameters(), bool lit=FALSE)
 
static void renderNurbsSurface (GenericGraphicsInterface &gi, NurbsMapping &map, float mode)
 
static void renderNurbsCurve (GenericGraphicsInterface &gi, NurbsMapping &map, float mode, int type)
 
static void renderTrimmedNurbsByMode (GenericGraphicsInterface &gi, TrimmedMapping &map, float mode)
 
static void plotShadedFace (GenericGraphicsInterface &gi, const RealArray &x, const Index &I1, const Index &I2, const Index &I3, const int axis, const int side, const int domainDimension, const int rangeDimension, const RealArray &rgb, const intArray &mask=Overture::nullIntegerDistributedArray())
 
static void plotLinesOnSurface (GenericGraphicsInterface &gi, const RealArray &x, const Index &I1, const Index &I2, const Index &I3, const int axis, const bool offsetLines, const real eps, GraphicsParameters &parameters, const intArray &mask=Overture::nullIntegerDistributedArray())
 
static void plotMappingBoundaries (GenericGraphicsInterface &gi, const Mapping &mapping, const RealArray &vertex, const int colourOption=1, const real zRaise=0., GraphicsParameters &parameters=Overture::defaultGraphicsParameters())
 
static void plotMappingEdges (GenericGraphicsInterface &gi, const RealArray &x, const IntegerArray &gridIndexRange, GraphicsParameters &parameters, const intArray &mask, int grid=0)
 
static void plotGrid2d (GenericGraphicsInterface &gi, GridCollection &gc, GraphicsParameters &psp, RealArray &xBound, int multigridLevelToPlot, IntegerArray &numberList, int &number)
 
static void plot3dContours (GenericGraphicsInterface &gi, const realGridCollectionFunction &uGCF, GraphicsParameters &psp, int list, int lightList, bool &plotContours, bool &recomputeVelocityMinMax, real &uMin, real &uMax, ContourSurface *&cs, IntegerArray &numberOfPolygonsPerSurface, IntegerArray &numberOfVerticesPerSurface)
 
static void plot3dContoursNew (GenericGraphicsInterface &gi, const realGridCollectionFunction &uGCF, GraphicsParameters &psp, int list, int lightList, bool &plotContours, bool &recomputeVelocityMinMax, real &uMin, real &uMax, ContourSurface *&cs, IntegerArray &numberOfPolygonsPerSurface, IntegerArray &numberOfVerticesPerSurface)
 
static aString getGridColour (int item, int side, int axis, int grid, const GridCollection &gc, GenericGraphicsInterface &gi, GraphicsParameters &par)
 
static int adjustGrid (GridCollection &gc, const realGridCollectionFunction &v, GraphicsParameters &parameters, realSerialArray *&xSave, real displacementScaleFactor)
 Adjust the grid to include the displacement.
 
static int unAdjustGrid (GridCollection &gc, const realGridCollectionFunction &v, GraphicsParameters &parameters, realSerialArray *&xSave, real displacementScaleFactor)
 Un-adjust the grid to remove the displacement.
 

Member Function Documentation

int PlotIt::adjustGrid ( GridCollection gc,
const realGridCollectionFunction v,
GraphicsParameters parameters,
realSerialArray *&  xSave,
real  displacementScaleFactor 
)
staticprotected

Adjust the grid to include the displacement.

For solid-mechanics problems, the actual grid may be the sum of the vertex array and a displacement (or just the "displacement" itself). This routine changes the vertex array to match the actual grid. Call unAdjustGrid to undo this operation.

Parameters
gc,u,parameters(input) : (input/ouput) : xSave==NULL the first time this routine is called. Keep this pointer for calling unAdjustGrid. (input) : scale the displacement by this factor

References MappedGrid::dimension(), GraphicsParameters::displacementComponent, getIndex(), ParallelUtility::getLocalArrayBounds(), getLocalArrayWithGhostBoundaries(), NULL, GenericGridCollection::numberOfComponentGrids(), MappedGrid::numberOfDimensions(), printF(), MappedGrid::THEcenter, MappedGrid::THEvertex, MappedGrid::update(), and MappedGrid::vertex().

Referenced by contour(), and displacement().

int PlotIt::bcNumber ( const int  bc,
IntegerArray boundaryConditionList,
int  numberOfBoundaryConditions 
)
staticprotected
int PlotIt::buildColourDialog ( DialogData dialog)
static
void PlotIt::contour ( GenericGraphicsInterface gi,
const realMappedGridFunction u,
GraphicsParameters parameters = Overture::defaultGraphicsParameters() 
)
static
void PlotIt::contour ( GenericGraphicsInterface gi,
const realGridCollectionFunction u,
GraphicsParameters parameters = Overture::defaultGraphicsParameters() 
)
static
void PlotIt::contour1d ( GenericGraphicsInterface gi,
const realGridCollectionFunction u,
GraphicsParameters parameters = Overture::defaultGraphicsParameters() 
)
staticprotected

References GenericGraphicsInterface::appendToTheDefaultPrompt(), assert, aString, axis1, GUIState::buildPopup(), cc, GraphicsParameters::colourLineContours, GraphicsParameters::componentForContours, GraphicsParameters::componentsToPlot, GraphicsParameters::curveLineWidth, GenericGraphicsInterface::defaultOrigin, dimension, End, GenericGraphicsInterface::eraseColourBar(), GenericGraphicsInterface::generateNewDisplayList(), GenericDataBase::get(), GraphicsParameters::get(), GenericGraphicsInterface::getAnswer(), getBounds(), doubleGridCollectionFunction::getComponentBase(), doubleGridCollectionFunction::getComponentBound(), doubleGridCollectionFunction::getComponentDimension(), GenericGraphicsInterface::getCurrentWindow(), ShowFileReader::getFrame(), getGridBounds(), getIndex(), GenericGraphicsInterface::getLineWidthScaleFactor(), GenericGraphicsInterface::getMenuItem(), doubleGridCollectionFunction::getName(), GenericGraphicsInterface::getNewLabelList(), ListOfShowFileParameters::getParameter(), GenericGraphicsInterface::getPlotTheBackgroundGrid(), GenericGraphicsInterface::getProcessorForGraphics(), GenericGraphicsInterface::getYAxisLabel(), GI_TOP_LABEL, GI_TOP_LABEL_SUB_1, glLineWidth, glPointSize, doubleGridCollectionFunction::gridCollection, gridIndexRange, GraphicsParameters::gridsToPlot, i2, GenericGraphicsInterface::inputString(), GraphicsParameters::isDefault(), GenericGraphicsInterface::isGraphicsWindowOpen(), isHiddenByRefinement, MappedGrid::IShiddenByRefinement, GenericGraphicsInterface::label(), GraphicsParameters::lineWidth, Mapping::mappingName, mask, max(), min(), GraphicsParameters::minorContourWidth, NULL, GenericGridCollection::numberOfComponentGrids(), GraphicsParameters::numberOfGhostLinesToPlot, GenericGridCollection::numberOfRefinementLevels(), GraphicsParameters::objectWasPlotted, GenericGraphicsInterface::outputString(), plot(), GraphicsParameters::plotBound, GraphicsParameters::plotColourBar, GraphicsParameters::plotGridPointsOnCurves, GraphicsParameters::plotHiddenRefinementPoints, GenericGraphicsInterface::plotLabels(), GraphicsParameters::plotObject, GraphicsParameters::plotObjectAndExit, GraphicsParameters::plotTitleLabels, GenericGraphicsInterface::popGUI(), printF(), GenericGraphicsInterface::pushGUI(), r, REAL_EPSILON, GenericGraphicsInterface::redraw(), GenericGraphicsInterface::resetGlobalBound(), doubleMappedGridFunction::sa(), GenericGraphicsInterface::setAxesDimension(), GenericGraphicsInterface::setAxesOrigin(), GenericGraphicsInterface::setColour(), GenericGraphicsInterface::setCurrentWindow(), GenericGraphicsInterface::setGlobalBound(), GenericGraphicsInterface::setKeepAspectRatio(), GenericGraphicsInterface::setPlotTheBackgroundGrid(), GenericGraphicsInterface::setYAxisLabel(), GraphicsParameters::showFileParameters, GraphicsParameters::showFileReader, GraphicsParameters::size, sPrintF(), sScanF(), Start, GenericGraphicsInterface::stopReadingCommandFile(), GenericGraphicsInterface::textColour, MappedGrid::THEcenter, GraphicsParameters::toggleContours, GraphicsParameters::toggleSum, GenericGraphicsInterface::unAppendTheDefaultPrompt(), GridCollection::update(), GraphicsParameters::usePlotBounds, userDefinedOutput(), GenericGraphicsInterface::worldToNormalizedCoordinates(), x, and GenericGraphicsInterface::xLabel().

Referenced by contour().

void PlotIt::contour2d ( GenericGraphicsInterface gi,
const realGridCollectionFunction u,
GraphicsParameters parameters = Overture::defaultGraphicsParameters() 
)
staticprotected

References SelectionInfo::active, DialogData::addOptionMenu(), GraphicsParameters::adjustGridForDisplacement, GenericGraphicsInterface::appendToTheDefaultPrompt(), assert, aString, GraphicsParameters::axesOrigin, GraphicsParameters::blue, boundaryCondition, GUIState::buildPopup(), c, GraphicsParameters::colourLineContours, GraphicsParameters::colourTable, GraphicsParameters::componentForContours, GraphicsParameters::computeCoarseningFactor, contourCuts(), GraphicsParameters::contourLevels, contourOpt2d(), GraphicsParameters::contourSurfaceVerticalScaleFactor, GenericGraphicsInterface::defaultOrigin, GraphicsParameters::displacementScaleFactor, GenericGraphicsInterface::displayColourBar(), displayValuesAtAPoint(), GenericGraphicsInterface::eraseLabels(), fabs(), GraphicsParameters::flatShading, ForBoundary, GenericGraphicsInterface::generateNewDisplayList(), GraphicsParameters::get(), GenericGraphicsInterface::getAnswer(), getBounds(), doubleGridCollectionFunction::getComponentBase(), doubleGridCollectionFunction::getComponentBound(), doubleGridCollectionFunction::getComponentDimension(), getCPU(), GenericGraphicsInterface::getCurrentWindow(), getIndex(), GenericGraphicsInterface::getKeepAspectRatio(), GenericGraphicsInterface::getMenuItem(), doubleGridCollectionFunction::getName(), DialogData::getOptionMenu(), getPlotBounds(), GenericGraphicsInterface::getPlotTheBackgroundGrid(), GenericGraphicsInterface::getProcessorForGraphics(), DialogData::getTextValue(), DialogData::getToggleValue(), GI_PLOT_NON_PHYSICAL_BOUNDARIES, GraphicsParameters::gray, GraphicsParameters::green, GraphicsParameters::gridBoundaryConditionOptions, GenericGraphicsInterface::gridCoarseningFactor, doubleGridCollectionFunction::gridCollection, gridIndexRange, GraphicsParameters::gridOptions, GraphicsParameters::gridsToPlot, i2, GenericGraphicsInterface::inputString(), GraphicsParameters::isDefault(), GenericGraphicsInterface::isGraphicsWindowOpen(), isHiddenByRefinement, MappedGrid::IShiddenByRefinement, GenericGraphicsInterface::isInteractiveGraphicsOn(), MappedGrid::isRectangular(), GraphicsParameters::keepAspectRatio, GraphicsParameters::labelComponent, GraphicsParameters::labelMinMax, GraphicsParameters::majorContourWidth, Mapping::mappingName, max(), min(), GraphicsParameters::minAndMaxContourLevels, GraphicsParameters::minAndMaxContourLevelsSpecified, GraphicsParameters::minimumContourSpacing, GraphicsParameters::minorContourWidth, SelectionInfo::nSelect, GraphicsParameters::numberOfColourTables, GenericGridCollection::numberOfComponentGrids(), GraphicsParameters::numberOfContourLevels, GridCollection::numberOfDimensions(), GraphicsParameters::numberOfGhostLinesToPlot, GraphicsParameters::objectWasPlotted, GenericGraphicsInterface::outputString(), GenericGraphicsInterface::outputToCommandFile(), Overture::OV_COMM, parallelPlottingOption, plot(), GraphicsParameters::plotBackupInterpolation, GraphicsParameters::plotBackupInterpolationPoints, GraphicsParameters::plotBlockBoundaries, GraphicsParameters::plotBound, GraphicsParameters::plotBoundaryGridLines, GraphicsParameters::plotColourBar, GraphicsParameters::plotContourLines, GraphicsParameters::plotDashedLinesForNegativeContours, GraphicsParameters::plotGrid, GraphicsParameters::plotGridBlockBoundaries, plotGridBoundaries(), GraphicsParameters::plotGridBoundariesOnContourPlots, GraphicsParameters::plotHiddenRefinementPoints, GraphicsParameters::plotInteriorBoundary, GraphicsParameters::plotInteriorBoundaryPoints, GraphicsParameters::plotInteriorGridLines, GraphicsParameters::plotInterpolation, GenericGraphicsInterface::plotLabels(), GraphicsParameters::plotLinesOnGridBoundaries, GraphicsParameters::plotNonPhysicalBoundaries, GraphicsParameters::plotObject, GraphicsParameters::plotObjectAndExit, GraphicsParameters::plotShadedSurface, GraphicsParameters::plotShadedSurfaceGrids, GraphicsParameters::plotShadedSurfaces, GraphicsParameters::plotTitleLabels, GraphicsParameters::plotWireFrame, GenericGraphicsInterface::popGUI(), printF(), GenericGraphicsInterface::pushGUI(), R, GraphicsParameters::rainbow, GraphicsParameters::red, GenericGraphicsInterface::redraw(), GenericGraphicsInterface::resetGlobalBound(), GenericGraphicsInterface::savePickCommands(), SelectionInfo::selection, GraphicsParameters::set(), GenericGraphicsInterface::setAxesDimension(), GenericGraphicsInterface::setAxesOrigin(), OptionMenu::setCurrentChoice(), GenericGraphicsInterface::setCurrentWindow(), DialogData::setExitCommand(), GenericGraphicsInterface::setGlobalBound(), GenericGraphicsInterface::setKeepAspectRatio(), DialogData::setOptionMenuColumns(), GenericGraphicsInterface::setPlotTheBackgroundGrid(), DialogData::setPushButtons(), DialogData::setTextBoxes(), DialogData::setTextLabel(), DialogData::setToggleButtons(), DialogData::setToggleState(), DialogData::setWindowTitle(), GraphicsParameters::size, sPrintF(), sScanF(), GenericGraphicsInterface::stopReadingCommandFile(), MappedGrid::THEcenter, MappedGrid::THEmask, MappedGrid::THEvertex, GraphicsParameters::toggleContours, GraphicsParameters::toggleSum, GraphicsParameters::topLabel, GraphicsParameters::topLabel1, GenericGraphicsInterface::unAppendTheDefaultPrompt(), MappedGrid::update(), GenericGraphicsInterface::updateColourBar(), GraphicsParameters::usePlotBounds, GraphicsParameters::userDefined, userDefinedOutput(), SelectionInfo::x, GraphicsParameters::xScaleFactor, and GraphicsParameters::yScaleFactor.

Referenced by contour().

void PlotIt::contour3d ( GenericGraphicsInterface gi,
const realGridCollectionFunction u,
GraphicsParameters parameters = Overture::defaultGraphicsParameters() 
)
staticprotected

References abs(), SelectionInfo::active, DialogData::addOptionMenu(), GraphicsParameters::adjustGridForDisplacement, GenericGraphicsInterface::appendToTheDefaultPrompt(), assert, aString, axis1, axis2, axis3, GenericGridCollection::baseGridNumber, GraphicsParameters::baseMinMaxOnContourPlaneValues, GraphicsParameters::baseMinMaxOnGlobalValues, GraphicsParameters::blue, MappedGridData::boundaryCondition, boundaryCondition, MappedGridData::boundaryDiscretizationWidth, buildColourDialog(), GUIState::buildPopup(), C, c, MappedGrid::changeToAllCellCentered(), ContourSurface::colourIndex, GraphicsParameters::colourLineContours, ContourSurface::colourSurfaceByIndex, ContourSurface::colourSurfaceDefault, GraphicsParameters::colourTable, GraphicsParameters::componentForContours, contour(), GraphicsParameters::contour3dMinMaxOption, contourCuts(), GraphicsParameters::contourLevels, GraphicsParameters::contourPlane, GraphicsParameters::coordinatePlane, ContourSurface::destroy(), MappedGrid::dimension(), MappedGridData::discretizationWidth, GraphicsParameters::displacementScaleFactor, displayValuesAtAPoint(), dr, GenericGraphicsInterface::drawColourBar(), dx, End, GenericGraphicsInterface::erase(), GenericGraphicsInterface::eraseLabels(), fabs(), FALSE, ForBoundary, GenericGraphicsInterface::generateNewDisplayList(), GraphicsParameters::get(), GenericGraphicsInterface::getAnswer(), getBounds(), getColour(), doubleGridCollectionFunction::getComponentBase(), doubleGridCollectionFunction::getComponentBound(), doubleGridCollectionFunction::getComponentDimension(), getCPU(), GenericGraphicsInterface::getCurrentWindow(), GUIState::getDialogSibling(), getIndex(), GenericGraphicsInterface::getKeepAspectRatio(), GenericGraphicsInterface::getLineWidthScaleFactor(), MappingRC::getMapping(), GenericGraphicsInterface::getMenuItem(), doubleGridCollectionFunction::getName(), DialogData::getOptionMenu(), getPlotBounds(), GenericGraphicsInterface::getPlotTheBackgroundGrid(), GenericGraphicsInterface::getProcessorForGraphics(), MappedGrid::getRectangularGridParameters(), DialogData::getTextValue(), DialogData::getToggleValue(), GenericGraphicsInterface::getValues(), getXColour(), GI_POINT_COLOUR, GI_POINT_SIZE, SelectionInfo::globalID, GraphicsParameters::gray, GraphicsParameters::green, doubleGridCollectionFunction::gridCollection, MappedGrid::gridIndexRange(), gridIndexRange, MappedGrid::gridSpacing(), GraphicsParameters::gridsToPlot, DialogData::hideSibling(), i2, ContourSurface::inactive, indexRange, initContourSurfaceList(), GenericGraphicsInterface::inputString(), MappingRC::inverseMap(), Mapping::inverseMap(), MappingRC::inverseMapS(), GraphicsParameters::isDefault(), GenericGraphicsInterface::isGraphicsWindowOpen(), GenericGraphicsInterface::isInteractiveGraphicsOn(), ContourSurface::isoSurface, isoSurfaceValue, GraphicsParameters::isoSurfaceValue, MappedGridData::isPeriodic, MappedGrid::isRectangular(), GraphicsParameters::keepAspectRatio, GraphicsParameters::labelComponent, GraphicsParameters::labelMinMax, MappedGrid::mapping(), Mapping::mappingName, mask, MappedGrid::mask(), max(), min(), GraphicsParameters::minAndMaxContourLevels, GraphicsParameters::minAndMaxContourLevelsSpecified, GraphicsParameters::minimumContourSpacing, ContourSurface::notBuilt, nr, SelectionInfo::nSelect, NULL, nullRange, GenericGridCollection::numberOfBaseGrids(), GraphicsParameters::numberOfColourTables, GenericGridCollection::numberOfComponentGrids(), GraphicsParameters::numberOfContourLevels, GraphicsParameters::numberOfContourPlanes, GraphicsParameters::numberOfCoordinatePlanes, GridCollection::numberOfDimensions(), GraphicsParameters::numberOfGhostLinesToPlot, GenericGridCollection::numberOfGrids(), GraphicsParameters::numberOfIsoSurfaces, numberOfPolygonsPerSurface, numberOfVerticesPerSurface, GraphicsParameters::objectWasPlotted, GenericGraphicsInterface::outputString(), GenericGraphicsInterface::outputToCommandFile(), Overture::OV_COMM, parallelPlottingOption, plot(), plot3dContours(), GraphicsParameters::plotBound, GraphicsParameters::plotColourBar, GraphicsParameters::plotContourLines, GraphicsParameters::plotContourOnGridFace, GenericGraphicsInterface::plotLabels(), GraphicsParameters::plotObject, GraphicsParameters::plotObjectAndExit, GenericGraphicsInterface::plotPoints(), GraphicsParameters::plotShadedSurface, GraphicsParameters::plotTitleLabels, GraphicsParameters::plotWireFrame, pointSize, GenericGraphicsInterface::popGUI(), printF(), GenericGraphicsInterface::pushGUI(), r, R, GraphicsParameters::rainbow, REAL_MAX, GraphicsParameters::red, GenericGraphicsInterface::redraw(), s, GenericGraphicsInterface::savePickCommands(), SelectionInfo::selection, GraphicsParameters::set(), GenericGraphicsInterface::setAxesDimension(), OptionMenu::setCurrentChoice(), GenericGraphicsInterface::setCurrentWindow(), DialogData::setExitCommand(), GenericGraphicsInterface::setGlobalBound(), Mapping::setGridDimensions(), GenericGraphicsInterface::setKeepAspectRatio(), doubleMappedGridFunction::setName(), DialogData::setOptionMenuColumns(), GenericGraphicsInterface::setPlotTheBackgroundGrid(), DialogData::setPushButtons(), DialogData::setTextBoxes(), DialogData::setTextLabel(), DialogData::setToggleButtons(), DialogData::setToggleState(), DialogData::setWindowTitle(), MappedGridData::sharedBoundaryFlag, MappedGridData::sharedBoundaryTolerance, DialogData::showSibling(), sPrintF(), sScanF(), Start, GenericGraphicsInterface::stopReadingCommandFile(), ContourSurface::surfaceColourType, ContourSurface::surfaceStatus, ContourSurface::surfaceType, MappedGrid::THEcenter, MappedGrid::THEmask, MappedGrid::THEvertex, GraphicsParameters::toggleContours, GraphicsParameters::topLabel, GraphicsParameters::topLabel1, TRUE, GenericGraphicsInterface::unAppendTheDefaultPrompt(), MappedGrid::update(), GraphicsParameters::usePlotBounds, GraphicsParameters::userDefined, userDefinedOutput(), ContourSurface::value, MappedGrid::vertex(), SelectionInfo::x, x, GraphicsParameters::xScaleFactor, GraphicsParameters::yScaleFactor, and GraphicsParameters::zScaleFactor.

Referenced by contour().

void PlotIt::contour3dNew ( GenericGraphicsInterface gi,
const realGridCollectionFunction u,
GraphicsParameters parameters = Overture::defaultGraphicsParameters() 
)
staticprotected

Referenced by contour().

void PlotIt::contourCuts ( GenericGraphicsInterface gi,
const realGridCollectionFunction uGCF,
GraphicsParameters parameters 
)
staticprotected

References Overture::abort(), ListOfMappingRC::addElement(), GenericGraphicsInterface::appendToTheDefaultPrompt(), assert, aString, axis1, axis2, axis3, boundaryCondition, InterpolatePoints::buildInterpolationInfo(), GUIState::buildPopup(), C, c, GraphicsParameters::colourLineContours, contour(), createMappings(), dr, End, GenericGraphicsInterface::erase(), GenericGraphicsInterface::getAnswer(), doubleGridCollectionFunction::getComponentBase(), doubleGridCollectionFunction::getComponentBound(), doubleGridCollectionFunction::getComponentDimension(), GenericGraphicsInterface::getCurrentWindow(), MappingRC::getDomainDimension(), Mapping::getGridDimensions(), Mapping::getGridSerial(), ListOfMappingRC::getLength(), GenericGraphicsInterface::getMenuItem(), MappingRC::getName(), doubleGridCollectionFunction::getName(), Mapping::getName(), MappingRC::getRangeDimension(), InterpolatePoints::getStatus(), GenericGraphicsInterface::getXAxisLabel(), GI_COLOUR_LINE_CONTOURS, GI_TOP_LABEL_SUB_1, GI_TOP_LABEL_SUB_2, GI_TOP_LABEL_SUB_3, MappingInformation::graphXInterface, doubleGridCollectionFunction::gridCollection, MappedGrid::indexRange(), GenericGraphicsInterface::inputString(), InterpolatePoints::interpolatePoints(), GraphicsParameters::isDefault(), GraphicsParameters::linePlotEndPoints, MappedGrid::mapping(), MappingInformation::mappingList, Mapping::mappingName, MappingRC::mapS(), Mapping::mapS(), MappedGrid::mask(), max(), min(), NULL, GenericGridCollection::numberOfBaseGrids(), GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), GenericGridCollection::numberOfGrids(), GraphicsParameters::numberOfLines, GraphicsParameters::numberOfPointsPerLine, GraphicsParameters::objectWasPlotted, GenericGraphicsInterface::outputString(), GraphicsParameters::plotObjectAndExit, GenericGraphicsInterface::popGUI(), printF(), GenericGraphicsInterface::pushGUI(), r, R, GraphicsParameters::set(), GenericGraphicsInterface::setAxesLabels(), DataPointMapping::setDataPoints(), InterpolatePoints::setInterpolationOffset(), doubleMappedGridFunction::setName(), sPrintF(), SQR, sScanF(), Start, GenericGraphicsInterface::stopReadingCommandFile(), MappedGrid::THEmask, MappedGrid::THEvertex, GraphicsParameters::topLabel1, GraphicsParameters::topLabel2, GraphicsParameters::topLabel3, uInterpolated, GenericGraphicsInterface::unAppendTheDefaultPrompt(), MappedGrid::update(), and x.

Referenced by contour2d(), and contour3d().

void PlotIt::contourOpt2d ( GenericGraphicsInterface gi,
const realGridCollectionFunction uGCF,
GraphicsParameters parameters,
real uMin,
real uMax,
real uRaise,
bool &  recomputeVelocityMinMax,
bool &  contourLevelsSpecified,
RealArray xBound 
)
staticprotected

References abs(), GraphicsParameters::adjustGridForDisplacement, assert, axis3, GenericGraphicsInterface::backGroundColour, IndexBox::base(), UnstructuredMapping::begin(), IndexBox::bound(), GridFunctionParameters::cellCentered, center, CMASK, COLOUR_INDEX, GraphicsParameters::colourLineContours, colourTable, GraphicsParameters::colourTable, GraphicsParameters::componentForContours, GenericGridCollectionData::computedGeometry, GraphicsParameters::contourLevels, GraphicsParameters::contourSurfaceSpatialBound, GraphicsParameters::contourSurfaceVerticalScaleFactor, COORD0, COORD1, ParallelUtility::copy(), dimension, drawContourLinesOnAnElement(), dx, UnstructuredMapping::Edge, ELEMENT, End, UnstructuredMapping::end(), extendedIndexRange, UnstructuredMapping::Face, GridFunctionParameters::faceCentered, FALSE, GraphicsParameters::flatShading, FOR_3, FOR_3WithStride, getBounds(), doubleMappedGridFunction::getComponentDimension(), getCPU(), Mapping::getDomainDimension(), UnstructuredMapping::getElements(), UnstructuredMapping::getFaces(), ReferenceCounting::getGlobalID(), doubleMappedGridFunction::getGridFunctionType(), GenericGraphicsInterface::getLineWidthScaleFactor(), CopyArray::getLocalArrayBox(), getLocalArrayWithGhostBoundaries(), UnstructuredMapping::getMaxNumberOfNodesPerElement(), UnstructuredMapping::getNodes(), UnstructuredMapping::getNumberOfElements(), UnstructuredMapping::getNumberOfFaces(), UnstructuredMapping::getNumberOfNodes(), GenericGraphicsInterface::getProcessorForGraphics(), glDisable, glEnable, glLineWidth, glVertex3, GenericGraphicsInterface::gridCoarseningFactor, doubleGridCollectionFunction::gridCollection, gridIndexRange, GraphicsParameters::gridsToPlot, i2, ia, IndexBox::isEmpty(), isHiddenByRefinement, MappedGrid::IShiddenByRefinement, isPeriodic, GraphicsParameters::lineWidth, GraphicsParameters::majorContourWidth, mask, max(), min(), GraphicsParameters::minAndMaxContourLevels, GraphicsParameters::minAndMaxContourLevelsSpecified, GraphicsParameters::minimumContourSpacing, GenericGridCollection::numberOfComponentGrids(), GraphicsParameters::numberOfContourLevels, GridCollection::numberOfDimensions(), GraphicsParameters::numberOfGhostLinesToPlot, GenericGridCollection::numberOfRefinementLevels(), UnstructuredMapping::numberOfVertices(), OFFSET_FACTOR, Overture::OV_COMM, parallelPlottingOption, GraphicsParameters::plotContourLines, GraphicsParameters::plotGridBoundariesOnContourPlots, GraphicsParameters::plotHiddenRefinementPoints, GraphicsParameters::plotShadedSurface, GraphicsParameters::plotWireFrame, doubleMappedGridFunction::positionOfComponent(), printF(), GraphicsParameters::rainbow, GenericGraphicsInterface::setColour(), GenericGraphicsInterface::setColourFromTable(), GenericGraphicsInterface::setGlobalBound(), GraphicsParameters::size, Start, GenericGrid::structuredGrid, GenericGraphicsInterface::textColour, MappedGrid::THEcenter, MappedGrid::THEvertex, GraphicsParameters::toggleContours, U, MappedGrid::update(), X, x, and XC.

Referenced by contour2d().

void PlotIt::displacement ( GenericGraphicsInterface gi,
const realGridCollectionFunction u,
GraphicsParameters parameters = Overture::defaultGraphicsParameters() 
)
static
void PlotIt::drawAStreamLine ( GenericGraphicsInterface gi,
const GridCollection gc,
const realGridCollectionFunction uv,
int *  componentsToInterpolate,
IntegerArray maskForStreamLines,
real  arrowSize,
GraphicsParameters psp,
real uip,
int *  indexGuessp,
real xa,
real ya,
real xb,
real yb,
real xba,
real yba,
real uMin,
real uMax,
real cfl,
int &  nrsmx,
int &  nxg,
int &  nyg,
real xtp,
real ytp,
int &  intopt 
)
staticprotected
int PlotIt::drawContourLinesOnAnElement ( GenericGraphicsInterface gi,
real u,
real x,
const int  numberOfVerticies,
const real  deltaU,
const real  deltaUInverse,
const real  uMin,
const real  uMax,
const real  uAverage,
const real  uScaleFactor,
const real  uRaise,
const RealArray contourLevels,
bool &  lineStipple,
bool  contourLevelsSpecified,
GraphicsParameters psp 
)
staticprotected
void PlotIt::getBounds ( const realGridCollectionFunction u,
real uMin,
real uMax,
GraphicsParameters parameters,
const Range &  R0 = nullRange,
const Range &  R1 = nullRange,
const Range &  R2 = nullRange,
const Range &  R3 = nullRange,
const Range &  R4 = nullRange 
)
staticprotected
bool PlotIt::getColour ( const aString answer_,
DialogData dialog,
aString colour 
)
static
void PlotIt::getGridBounds ( const GridCollection gc,
GraphicsParameters params,
RealArray xBound 
)
static
aString PlotIt::getGridColour ( int  item,
int  side,
int  axis,
int  grid,
const GridCollection gc,
GenericGraphicsInterface gi,
GraphicsParameters par 
)
staticprotected
void PlotIt::getPlotBounds ( const GridCollection gc,
GraphicsParameters params,
RealArray xBound 
)
staticprotected
void PlotIt::grid3d ( GenericGraphicsInterface gi,
const GridCollection cg,
GraphicsParameters parameters,
IntegerArray boundaryConditionList,
int  numberOfBoundaryConditions,
IntegerArray numberList,
int &  number,
int  list,
int  litList 
)
staticprotected

References abs(), GraphicsParameters::adjustGridForDisplacement, assert, axis1, axis2, axis3, IndexBox::base(), bcNumber(), GraphicsParameters::blockBoundaryColourOption, BND, IndexBox::bound(), GraphicsParameters::boundaryColourOption, GraphicsParameters::boundaryColourValue, boundaryCondition, MappedGrid::boundaryCondition(), c, center, CENTER0, CENTER1, CENTER2, CFACE, collectInterpolationData(), GraphicsParameters::colourBlack, GraphicsParameters::colourByBoundaryCondition, GraphicsParameters::colourByDomain, GraphicsParameters::colourByGrid, GraphicsParameters::colourByIndex, GraphicsParameters::colourByRefinementLevel, GraphicsParameters::colourByShare, GraphicsParameters::colourByValue, GraphicsParameters::colourInterpolationPoints, GenericGridData::computedGeometry, ParallelUtility::copy(), CopyArray::copyArray(), GraphicsParameters::defaultColour, MappedGrid::dimension(), GenericGridCollection::domainNumber, GraphicsParameters::doNotPlotFace00, GraphicsParameters::doNotPlotFace01, GraphicsParameters::doNotPlotFace02, GraphicsParameters::doNotPlotFace10, GraphicsParameters::doNotPlotFace11, GraphicsParameters::doNotPlotFace12, GraphicsParameters::doNotPlotGridLinesOnFace00, GraphicsParameters::doNotPlotGridLinesOnFace01, GraphicsParameters::doNotPlotGridLinesOnFace02, GraphicsParameters::doNotPlotGridLinesOnFace10, GraphicsParameters::doNotPlotGridLinesOnFace11, GraphicsParameters::doNotPlotGridLinesOnFace12, dx, End, extendedGridIndexRange(), FALSE, FOR_3, FOR_3WithStride, Mapping::functionPeriodic, getBoundaryIndex(), GridCollection::getClassName(), GenericGraphicsInterface::getColourName(), ReferenceCounting::getGlobalID(), getGridColour(), MappedGrid::getGridType(), getIndex(), GenericGraphicsInterface::getLineWidthScaleFactor(), ParallelUtility::getLocalArrayBounds(), CopyArray::getLocalArrayBox(), getLocalArrayWithGhostBoundaries(), MappingRC::getMapping(), getNormal(), GenericGraphicsInterface::getProcessorForGraphics(), MappedGrid::getRectangularGridParameters(), ParallelUtility::getSum(), glDisable, glEnable, glLineWidth, glNormal3v, glPointSize, glVertex3, GraphicsParameters::gridBoundaryConditionOptions, GenericGraphicsInterface::gridCoarseningFactor, GraphicsParameters::gridColours, GraphicsParameters::gridCoordinatePlane, MappedGrid::gridIndexRange(), gridIndexRange, GraphicsParameters::gridOptions, GraphicsParameters::gridsToPlot, i2, IFACE, CompositeGrid::interpolationPoint, CompositeGrid::interpoleeGrid, interpoleeGrid, ip, IP, MappedGrid::isAllVertexCentered(), IndexBox::isEmpty(), isHiddenByRefinement, MappedGrid::IShiddenByRefinement, MappedGrid::ISinteriorBoundaryPoint, MappedGrid::isPeriodic(), MappedGrid::isRectangular(), GraphicsParameters::lineWidth, MappedGrid::mapping(), mask, MASK, MappedGrid::mask(), MASK_UIB, max(), min(), normal, GenericGridCollection::numberOfBaseGrids(), GenericGraphicsInterface::numberOfColourNames, GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), GraphicsParameters::numberOfGhostLinesToPlot, GraphicsParameters::numberOfGridCoordinatePlanes, CompositeGrid::numberOfInterpolationPoints, GenericGridCollection::numberOfRefinementLevels(), OFFSET_FACTOR, GraphicsParameters::plotBackupInterpolation, GraphicsParameters::plotBackupInterpolationPoints, GraphicsParameters::plotBlockBoundaries, GraphicsParameters::plotBoundaryGridLines, GraphicsParameters::plotBranchCuts, GraphicsParameters::plotHiddenRefinementPoints, GraphicsParameters::plotInteriorBoundary, GraphicsParameters::plotInteriorGridLines, GraphicsParameters::plotInterpolation, GraphicsParameters::plotInterpolationCells, GraphicsParameters::plotInterpolationPoints, GraphicsParameters::plotNonPhysicalBoundaries, GraphicsParameters::plotRefinementGrids, plotShadedFace(), GraphicsParameters::plotShadedSurfaces, GraphicsParameters::plotUnsBoundaryEdges, GraphicsParameters::plotUnsEdges, GraphicsParameters::plotUnsFaces, GraphicsParameters::plotUnsNodes, plotUnstructured(), GraphicsParameters::pointSize, printF(), CompositeGrid::reference(), GenericGridCollection::refinementLevelNumber, GenericGraphicsInterface::setColour(), setXColour(), MappedGrid::sharedBoundaryFlag(), GraphicsParameters::size, Start, GraphicsParameters::surfaceOffset, GenericGraphicsInterface::textColour, MappedGrid::THEvertex, GraphicsParameters::toggleGrids, GenericGrid::unstructuredGrid, GridCollection::USESbackupRules, MappedGrid::vertex(), VERTEX0, VERTEX1, and VERTEX2.

Referenced by plotGrid().

void PlotIt::plot ( GenericGraphicsInterface gi,
Mapping map,
GraphicsParameters parameters = Overture::defaultGraphicsParameters(),
int  dList = 0,
bool  lit = FALSE 
)
static

References broadCast(), Mapping::debug, Mapping::getClassName(), ReferenceCounting::getGlobalID(), Mapping::getName(), GenericGraphicsInterface::getProcessorForGraphics(), TrimmedMapping::getTriangulation(), GenericGraphicsInterface::graphicsIsOn(), Mapping::mappingName, NULL, GraphicsParameters::objectWasPlotted, plotCompositeSurface(), plotNurbsMapping(), plotStructured(), plotUM(), ReferenceCounting::setGlobalID(), TrimmedMapping::surface, and TrimmedMapping::trimmingIsValid().

Referenced by MappingBuilder::assignBoundaryConditions(), HyperbolicMapping::buildCurve(), MappingBuilder::buildCurveOnSurface(), CompositeTopology::buildEdgeSegment(), Ogmg::buildExtraLevels(), Ogmg::buildExtraLevelsNew(), CompositeTopology::buildSubSurfaceTriangulation(), MappingBuilder::buildSurfacePatch(), checkGrid(), contour1d(), contour2d(), contour3d(), MappingsFromCAD::createCompositeCurve(), MappingsFromCAD::createCurveOnAParametricSurface(), MappingsFromCAD::createManifoldSolidBRepObject(), OffsetShell::createOffsetMappings(), MappingsFromCAD::createSurface(), MappingsFromCAD::createTrimmedSurface(), Integrate::defineSurfacesAndComputeWeights(), IntersectionMapping::determineIntersection(), HyperbolicMapping::drawBoundariesAndCurves(), HyperbolicMapping::drawHyperbolicGrid(), HyperbolicMapping::drawReferenceSurface(), HyperbolicMapping::drawReferenceSurfaceEdges(), TrimmedMapping::editNurbsTrimCurve(), equiGridSmoother(), EllipticTransform::generateGrid(), HyperbolicMapping::hypgen(), JoinMapping::initialize(), FilletMapping::initialize(), main(), ShowFilePlotter::plot(), MappingBuilder::plot(), plot(), Ugen::plot(), MeshQualityMetrics::plot(), Ogen::plot(), NurbsMapping::plot(), plot3dToOverture(), ShowFilePlotter::plotAll(), plotCompositeSurface(), TrimmedMappingBuilder::plotCurvesAndSurfaces(), BodyForce::plotForcingRegions(), plotSurfaceAndEdges(), Ogen::queryAPoint(), refineTriangulation(), Ogmg::smoothTest(), DataPointMapping::specifyTopology(), streamLines2d(), streamLines3d(), TrimmedMapping::triangulate(), SmoothedPolygon::update(), RocketMapping::update(), PolynomialMapping::update(), ChannelMapping::update(), LoftedSurfaceMapping::update(), CompositeTopology::update(), NormalMapping::update(), StretchedSquare::update(), StretchTransform::update(), JoinMapping::update(), DepthMapping::update(), DataPointMapping::update(), QuadraticMapping::update(), CircleMapping::update(), PlaneMapping::update(), SquareMapping::update(), FilletMapping::update(), ReorientMapping::update(), OrthographicTransform::update(), EllipticTransform::update(), MatrixTransform::update(), UserDefinedMapping1::update(), RevolutionMapping::update(), RestrictionMapping::update(), BoxMapping::update(), CylinderMapping::update(), AirfoilMapping::update(), TFIMapping::update(), AnnulusMapping::update(), LineMapping::update(), ReductionMapping::update(), IntersectionMapping::update(), SphereMapping::update(), SweepMapping::update(), CrossSectionMapping::update(), EllipticGridGenerator::update(), ComposeMapping::update(), ReparameterizationTransform::update(), StretchMapping::update(), SplineMapping::update(), CompositeSurface::update(), FilamentMapping::update(), TrimmedMapping::update(), HyperbolicMapping::update(), Mapping::update(), UnstructuredMapping::update(), NurbsMapping::update(), Ugen::updateHybrid(), HyperbolicMapping::updateOld(), and viewMappings().

void PlotIt::plot ( GenericGraphicsInterface gi,
MappedGrid mg,
GraphicsParameters parameters = Overture::defaultGraphicsParameters() 
)
static
void PlotIt::plot ( GenericGraphicsInterface gi,
AdvancingFront front,
GraphicsParameters parameters = Overture::defaultGraphicsParameters() 
)
static

References assert, aString, GUIState::buildPopup(), GenericGraphicsInterface::chooseAColour(), contour(), GenericGraphicsInterface::erase(), AdvancingFrontParameters::frontEdges, AdvancingFrontParameters::frontFaces, AdvancingFrontParameters::frontNodes, GenericGraphicsInterface::generateNewDisplayList(), GenericGraphicsInterface::getAnswer(), AdvancingFront::getControlFunction(), GenericGraphicsInterface::getCurrentWindow(), AdvancingFront::getDomainDimension(), AdvancingFront::getParameters(), GenericGraphicsInterface::getPlotTheAxes(), AdvancingFront::getRangeDimension(), AdvancingFront::getVertices(), GenericGraphicsInterface::isGraphicsWindowOpen(), GraphicsParameters::mappingColour, max(), AdvancingFrontParameters::meshEdges, AdvancingFrontParameters::meshFaces, min(), GenericGraphicsInterface::outputString(), plotAdvancingFront(), GraphicsParameters::plotObject, GraphicsParameters::plotObjectAndExit, GraphicsParameters::plotTheAxes, GraphicsParameters::plotWireFrame, GenericGraphicsInterface::popGUI(), GenericGraphicsInterface::pushGUI(), R, GenericGraphicsInterface::redraw(), GenericGraphicsInterface::setAxesDimension(), GenericGraphicsInterface::setCurrentWindow(), DialogData::setExitCommand(), GenericGraphicsInterface::setGlobalBound(), GenericGraphicsInterface::setPlotTheAxes(), GenericGraphicsInterface::setPlotTheColouredSquares(), DialogData::setToggleButtons(), DialogData::setToggleState(), DialogData::setWindowTitle(), sPrintF(), AdvancingFrontParameters::state(), GenericGraphicsInterface::stopReadingCommandFile(), and AdvancingFrontParameters::toggle().

void PlotIt::plot ( GenericGraphicsInterface gi,
GridCollection cg,
GraphicsParameters parameters = Overture::defaultGraphicsParameters() 
)
static

References broadCast(), ci, display(), GridCollection::getClassName(), getLocalArrayWithGhostBoundaries(), GenericGraphicsInterface::getProcessorForGraphics(), GenericGraphicsInterface::graphicsIsOn(), ig, il, CompositeGridData::interpolationCoordinates, CompositeGrid::interpolationCoordinates, CompositeGridData::interpolationCoordinatesLocal, CompositeGridData::interpolationPoint, CompositeGrid::interpolationPoint, CompositeGridData::interpolationPointLocal, CompositeGridData::interpoleeGrid, CompositeGrid::interpoleeGrid, CompositeGridData::interpoleeGridLocal, CompositeGridData::interpoleeLocation, CompositeGrid::interpoleeLocation, CompositeGridData::interpoleeLocationLocal, ip, CompositeGridData::localInterpolationDataForAll, CompositeGridData::localInterpolationDataState, GenericGridCollection::numberOfBaseGrids(), GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), CompositeGrid::numberOfInterpolationPoints, CompositeGridData::numberOfInterpolationPointsLocal, GraphicsParameters::objectWasPlotted, parallelPlottingOption, CompositeGridData::partition, plotGrid(), printF(), ParallelGridUtility::redistribute(), ListOfIntDistributedArray::reference(), ListOfFloatDistributedArray::reference(), GenericGraphicsInterface::setSingleProcessorGraphicsMode(), MappedGrid::THEcenter, MappedGrid::THEmask, MappedGrid::THEvertex, GridCollection::update(), CompositeGridData::variableInterpolationWidth, CompositeGrid::variableInterpolationWidth, and CompositeGridData::variableInterpolationWidthLocal.

void PlotIt::plot ( GenericGraphicsInterface gi,
const realArray t,
const realArray x,
const aString title = nullString,
const aString tName = nullString,
const aString xName = NULL,
GraphicsParameters parameters = Overture::defaultGraphicsParameters() 
)
static
void PlotIt::plot ( GenericGraphicsInterface gi,
const realArray x,
const realArray t,
const realArray u,
GraphicsParameters parameters = Overture::defaultGraphicsParameters() 
)
static
void PlotIt::plot3dContours ( GenericGraphicsInterface gi,
const realGridCollectionFunction uGCF,
GraphicsParameters psp,
int  list,
int  lightList,
bool &  plotContours,
bool &  recomputeVelocityMinMax,
real uMin,
real uMax,
ContourSurface *&  cs,
IntegerArray numberOfPolygonsPerSurface,
IntegerArray numberOfVerticesPerSurface 
)
staticprotected

References assert, GraphicsParameters::baseMinMaxOnContourPlaneValues, ContourSurface::built, CD, GraphicsParameters::colourLineContours, ContourSurface::colourSurfaceByIndex, GraphicsParameters::componentForContours, GraphicsParameters::contour3dMinMaxOption, contourLevel, ContourSurface::contourPlane, GraphicsParameters::contourPlane, GraphicsParameters::coordinatePlane, ContourSurface::coordinateSurface, ContourSurface::csData, debug, FALSE, getBounds(), getCPU(), GenericGraphicsInterface::getLineWidthScaleFactor(), GenericGraphicsInterface::getProcessorForGraphics(), getXColour(), glDisable, glEnable, glLineWidth, glNormal3, glVertex3, doubleGridCollectionFunction::gridCollection, GraphicsParameters::gridsToPlot, isHiddenByRefinement, MappedGrid::IShiddenByRefinement, ContourSurface::isoSurface, isoSurfaceValue, GraphicsParameters::isoSurfaceValue, GraphicsParameters::lineWidth, GraphicsParameters::majorContourWidth, max(), min(), GraphicsParameters::minAndMaxContourLevels, GraphicsParameters::minAndMaxContourLevelsSpecified, GraphicsParameters::minimumContourSpacing, MPI_Real, normal, ContourSurface::notBuilt, NULL, nullRange, GenericGridCollection::numberOfComponentGrids(), GraphicsParameters::numberOfContourLevels, GraphicsParameters::numberOfContourPlanes, GraphicsParameters::numberOfCoordinatePlanes, GraphicsParameters::numberOfGhostLinesToPlot, GraphicsParameters::numberOfIsoSurfaces, numberOfPolygonsPerSurface, GenericGridCollection::numberOfRefinementLevels(), numberOfVerticesPerSurface, OFFSET_FACTOR, Overture::OV_COMM, parallelPlottingOption, GraphicsParameters::plotColourBar, GraphicsParameters::plotContourLines, GraphicsParameters::plotContourOnGridFace, GraphicsParameters::plotHiddenRefinementPoints, GraphicsParameters::plotShadedSurface, GraphicsParameters::plotTitleLabels, GraphicsParameters::plotWireFrame, printF(), REAL_MAX, GenericGraphicsInterface::setColour(), GenericGraphicsInterface::setColourFromTable(), GraphicsParameters::size, ContourSurface::surfaceStatus, XSCALE, YSCALE, and ZSCALE.

Referenced by contour3d().

static void PlotIt::plot3dContoursNew ( GenericGraphicsInterface gi,
const realGridCollectionFunction uGCF,
GraphicsParameters psp,
int  list,
int  lightList,
bool &  plotContours,
bool &  recomputeVelocityMinMax,
real uMin,
real uMax,
ContourSurface *&  cs,
IntegerArray numberOfPolygonsPerSurface,
IntegerArray numberOfVerticesPerSurface 
)
staticprotected
int PlotIt::plotAdvancingFront ( GenericGraphicsInterface gi,
const AdvancingFront front,
GraphicsParameters par,
const int  plotOptions 
)
staticprotected
void PlotIt::plotCompositeSurface ( GenericGraphicsInterface gi,
CompositeSurface cs,
GraphicsParameters params = Overture::defaultGraphicsParameters() 
)
staticprotected

References DialogData::addOptionMenu(), GenericGraphicsInterface::appendToTheDefaultPrompt(), aString, CompositeSurface::boundary, GraphicsParameters::boundaryColourOption, GUIState::buildPopup(), GenericGraphicsInterface::chooseAColour(), GraphicsParameters::colourBlack, GraphicsParameters::colourByGrid, CompositeSurface::dList, GenericGraphicsInterface::drawColouredSquares(), End, FALSE, GenericGraphicsInterface::generateNewDisplayList(), GraphicsParameters::get(), GenericGraphicsInterface::getAnswer(), CompositeSurface::getColour(), GenericGraphicsInterface::getColourName(), getCPU(), GenericGraphicsInterface::getCurrentWindow(), Mapping::getName(), Mapping::getRangeBound(), Mapping::getRangeDimension(), GI_GRID_LINE_COLOUR_OPTION, GI_LABEL_GRIDS_AND_BOUNDARIES, GI_MAPPING_COLOUR, GI_PLOT_BOUNDS, GI_PLOT_LABELS, GI_PLOT_MAPPING_EDGES, GI_PLOT_SHADED_MAPPING_BOUNDARIES, GI_PLOT_THE_OBJECT_AND_EXIT, GI_PLOT_UNS_EDGES, GI_USE_PLOT_BOUNDS, GraphicsParameters::gridLineColourOption, CompositeSurface::gridLines, GraphicsParameters::isDefault(), Bound::isFinite(), GenericGraphicsInterface::isGraphicsWindowOpen(), CompositeSurface::isVisible(), GraphicsParameters::labelGridsAndBoundaries, GraphicsParameters::mappingColour, min(), GenericGraphicsInterface::numberOfColourNames, GraphicsParameters::numberOfGhostLinesToPlot, CompositeSurface::numberOfSubSurfaces(), GenericGraphicsInterface::outputString(), plot(), CompositeSurface::plotGhostLines, GenericGraphicsInterface::plotLabels(), GraphicsParameters::plotLinesOnMappingBoundaries, GraphicsParameters::plotMappingEdges, GraphicsParameters::plotMappingNormals, GraphicsParameters::plotNonPhysicalBoundaries, GraphicsParameters::plotObject, GraphicsParameters::plotObjectAndExit, GraphicsParameters::plotShadedMappingBoundaries, plotSubSurfaceNormals(), GraphicsParameters::plotTheAxes, GraphicsParameters::plotTitleLabels, GraphicsParameters::plotUnsBoundaryEdges, GraphicsParameters::plotUnsEdges, GenericGraphicsInterface::popGUI(), GenericGraphicsInterface::pushGUI(), Mapping::rangeAxis1Name, Mapping::rangeAxis2Name, Mapping::rangeAxis3Name, REAL_MAX, GenericGraphicsInterface::redraw(), s, GraphicsParameters::set(), GenericGraphicsInterface::setAxesDimension(), GenericGraphicsInterface::setAxesLabels(), CompositeSurface::setColour(), GenericGraphicsInterface::setColour(), GenericGraphicsInterface::setCurrentWindow(), DialogData::setExitCommand(), GenericGraphicsInterface::setGlobalBound(), GenericGraphicsInterface::setKeepAspectRatio(), DialogData::setOptionMenuColumns(), GenericGraphicsInterface::setPlotDL(), DialogData::setPushButtons(), DialogData::setToggleButtons(), DialogData::setWindowTitle(), CompositeSurface::shadedSurface, sPrintF(), Start, GenericGraphicsInterface::textColour, TRUE, and GenericGraphicsInterface::unAppendTheDefaultPrompt().

Referenced by plot().

static void PlotIt::plotDirectionArrows ( GenericGraphicsInterface gi,
HyperbolicMapping hyp,
GraphicsParameters params 
)
staticprotected
void PlotIt::plotGrid ( GenericGraphicsInterface gi,
GridCollection cg,
GraphicsParameters parameters = Overture::defaultGraphicsParameters(),
const realGridCollectionFunction v = NULL 
)
staticprotected

References Overture::abort(), SelectionInfo::active, DialogData::addOptionMenu(), DialogData::addPulldownMenu(), GenericGraphicsInterface::appendToTheDefaultPrompt(), assert, aString, axis1, axis2, axis3, GenericGridCollection::baseGridNumber, bcNumber(), GraphicsParameters::blockBoundaryColourOption, GraphicsParameters::boundaryColourOption, boundaryCondition, buildColourDialog(), GUIState::buildPopup(), c, MappedGrid::center(), center, GenericGraphicsInterface::chooseAColour(), ci, GraphicsParameters::colourBlack, GraphicsParameters::colourByBoundaryCondition, GraphicsParameters::colourByDomain, GraphicsParameters::colourByGrid, GraphicsParameters::colourByIndex, GraphicsParameters::colourByRefinementLevel, GraphicsParameters::colourByShare, GraphicsParameters::colourInterpolationPoints, GraphicsParameters::computeCoarseningFactor, GraphicsParameters::defaultColour, dimension, MappedGrid::dimension(), MappedGrid::discretizationWidth(), GraphicsParameters::displacementScaleFactor, GenericGridCollection::domainNumber, GraphicsParameters::doNotPlotFace00, GraphicsParameters::doNotPlotFace01, GraphicsParameters::doNotPlotFace02, GraphicsParameters::doNotPlotFace10, GraphicsParameters::doNotPlotFace11, GraphicsParameters::doNotPlotFace12, GraphicsParameters::doNotPlotGridLinesOnFace00, GraphicsParameters::doNotPlotGridLinesOnFace01, GraphicsParameters::doNotPlotGridLinesOnFace02, GraphicsParameters::doNotPlotGridLinesOnFace10, GraphicsParameters::doNotPlotGridLinesOnFace11, GraphicsParameters::doNotPlotGridLinesOnFace12, dr, GenericGraphicsInterface::drawColouredSquares(), End, fabs(), FALSE, ForBoundary, GenericGraphicsInterface::generateNewDisplayList(), GraphicsParameters::get(), GenericGraphicsInterface::getAnswer(), GridCollection::getClassName(), getColour(), GenericGraphicsInterface::getColourName(), GUIState::getDialogSibling(), ReferenceCounting::getGlobalID(), getIndex(), GenericGraphicsInterface::getLineWidthScaleFactor(), GenericGraphicsInterface::getMenuItem(), MappedGrid::getName(), DialogData::getOptionMenu(), getPlotBounds(), GenericGraphicsInterface::getProcessorForGraphics(), DialogData::getPulldownMenu(), DialogData::getTextValue(), DialogData::getToggleValue(), getXColour(), GI_PLOT_THE_OBJECT_AND_EXIT, GI_PLOT_UNS_EDGES, GI_PLOT_UNS_FACES, GI_TOGGLEBUTTON, SelectionInfo::globalID, glPointSize, glVertex3, MappingInformation::graphXInterface, grid3d(), GraphicsParameters::gridBoundaryConditionOptions, GenericGraphicsInterface::gridCoarseningFactor, GraphicsParameters::gridColours, GraphicsParameters::gridCoordinatePlane, MappedGrid::gridIndexRange(), gridIndexRange, GraphicsParameters::gridLineColourOption, GraphicsParameters::gridOptions, MappedGrid::gridSpacing(), GraphicsParameters::gridsToPlot, DialogData::hideSibling(), i2, ig, il, indexRange, GenericGraphicsInterface::inputString(), CompositeGrid::interpolationCoordinates, CompositeGridData::interpolationCoordinatesLocal, CompositeGrid::interpolationPoint, CompositeGridData::interpolationPointLocal, CompositeGrid::interpoleeGrid, CompositeGridData::interpoleeGridLocal, CompositeGrid::interpoleeLocation, CompositeGridData::interpoleeLocationLocal, ip, GraphicsParameters::isDefault(), GenericGraphicsInterface::isGraphicsWindowOpen(), GenericGraphicsInterface::isInteractiveGraphicsOn(), GraphicsParameters::keepAspectRatio, GraphicsParameters::labelBoundaries, GraphicsParameters::labelGridsAndBoundaries, CompositeGridData::localInterpolationDataForAMR, CompositeGridData::localInterpolationDataState, Mapping::mappingName, mask, MappedGrid::mask(), max(), min(), GridCollection::multigridLevel, CompositeGridData::noLocalInterpolationData, SelectionInfo::nSelect, NULL, GenericGridCollection::numberOfBaseGrids(), GenericGraphicsInterface::numberOfColourNames, GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), MappedGrid::numberOfDimensions(), GraphicsParameters::numberOfGhostLinesToPlot, GraphicsParameters::numberOfGridCoordinatePlanes, GenericGridCollection::numberOfGrids(), CompositeGrid::numberOfInterpolationPoints, GenericGridCollection::numberOfMultigridLevels(), GenericGridCollection::numberOfRefinementLevels(), GraphicsParameters::objectWasPlotted, Regrid::outputRefinementInfo(), GenericGraphicsInterface::outputString(), GenericGraphicsInterface::outputToCommandFile(), Overture::OV_COMM, OV_GET_SERIAL_ARRAY_CONST, parallelPlottingOption, GraphicsParameters::plotBackupInterpolation, GraphicsParameters::plotBackupInterpolationPoints, GraphicsParameters::plotBlockBoundaries, GraphicsParameters::plotBound, GraphicsParameters::plotBoundaryGridLines, GraphicsParameters::plotBranchCuts, GraphicsParameters::plotGrid, plotGrid2d(), GraphicsParameters::plotGridBlockBoundaries, plotGridBoundaries(), GraphicsParameters::plotGridLines, plotGridQuality(), GraphicsParameters::plotHiddenRefinementPoints, GraphicsParameters::plotInteriorBoundary, GraphicsParameters::plotInteriorBoundaryPoints, GraphicsParameters::plotInteriorGridLines, GraphicsParameters::plotInterpolation, GraphicsParameters::plotInterpolationCells, GraphicsParameters::plotInterpolationPoints, GenericGraphicsInterface::plotLabels(), GraphicsParameters::plotLinesOnGridBoundaries, GraphicsParameters::plotNonPhysicalBoundaries, GraphicsParameters::plotObject, GraphicsParameters::plotObjectAndExit, GraphicsParameters::plotRefinementGrids, GraphicsParameters::plotShadedSurfaceGrids, GraphicsParameters::plotShadedSurfaces, GraphicsParameters::plotTitleLabels, plotUM(), GraphicsParameters::plotUnsBoundaryEdges, GraphicsParameters::plotUnsEdges, GraphicsParameters::plotUnsFaces, GraphicsParameters::plotUnsNodes, GraphicsParameters::pointSize, GenericGraphicsInterface::popGUI(), printF(), GridStatistics::printGridStatistics(), GenericGraphicsInterface::pushGUI(), r, GenericGraphicsInterface::redraw(), GenericGridCollection::refinementLevelNumber, Ogen::saveGridToAFile(), GenericGraphicsInterface::savePickCommands(), SelectionInfo::selection, GraphicsParameters::set(), GenericGraphicsInterface::setAxesDimension(), GenericGraphicsInterface::setColour(), GenericGraphicsInterface::setColourName(), OptionMenu::setCurrentChoice(), DialogData::setExitCommand(), GenericGraphicsInterface::setGlobalBound(), GenericGraphicsInterface::setKeepAspectRatio(), DialogData::setOptionMenuColumns(), DialogData::setPushButtons(), DialogData::setTextBoxes(), DialogData::setTextLabel(), DialogData::setToggleButtons(), PullDownMenu::setToggleState(), DialogData::setToggleState(), DialogData::setWindowTitle(), DialogData::showSibling(), sPrintF(), sScanF(), Start, GenericGraphicsInterface::stopReadingCommandFile(), surfaceGrid3d(), GenericGraphicsInterface::textColour, MappedGrid::THEcenter, MappedGrid::THEmask, MappedGrid::THEvertex, GraphicsParameters::toggleGrids, GraphicsParameters::toggleSum, TRUE, GenericGraphicsInterface::unAppendTheDefaultPrompt(), MappingRC::update(), GridCollection::update(), MappedGrid::update(), GraphicsParameters::usePlotBounds, CompositeGrid::variableInterpolationWidth, CompositeGridData::variableInterpolationWidthLocal, MappedGrid::vertex(), SelectionInfo::x, x, GraphicsParameters::xScaleFactor, GraphicsParameters::yLevelFor1DGrids, GraphicsParameters::yScaleFactor, GraphicsParameters::zLevelFor2DGrids, and GraphicsParameters::zScaleFactor.

Referenced by displacement(), and plot().

void PlotIt::plotGrid2d ( GenericGraphicsInterface gi,
GridCollection gc,
GraphicsParameters psp,
RealArray xBound,
int  multigridLevelToPlot,
IntegerArray numberList,
int &  number 
)
staticprotected

References abs(), GraphicsParameters::adjustGridForDisplacement, aString, axis1, axis2, IndexBox::base(), GraphicsParameters::blockBoundaryColourOption, IndexBox::bound(), GraphicsParameters::boundaryColourOption, MappedGrid::boundaryCondition(), MappedGrid::boundaryFlag(), center, CENTER0, CENTER1, CMASK, collectInterpolationData(), GraphicsParameters::colourInterpolationPoints, GenericGridData::computedGeometry, ParallelUtility::copy(), CopyArray::copyArray(), dimension, MappedGrid::dimension(), display(), dx, End, extendedGridIndexRange(), FOR_3, FOR_3WithStride, ForBoundary, getBoundaryIndex(), GridCollection::getClassName(), GenericGraphicsInterface::getColourName(), ReferenceCounting::getGlobalID(), getGridColour(), MappedGrid::getGridType(), getIndex(), ListOfIntDistributedArray::getLength(), GenericGraphicsInterface::getLineWidthScaleFactor(), ParallelUtility::getLocalArrayBounds(), CopyArray::getLocalArrayBox(), getLocalArrayWithGhostBoundaries(), MappingRC::getMapping(), GenericGraphicsInterface::getProcessorForGraphics(), GI_MAPPING_COLOUR, glLineWidth, glPointSize, glVertex3, GenericGraphicsInterface::gridCoarseningFactor, MappedGrid::gridIndexRange(), gridIndexRange, GraphicsParameters::gridLineColourOption, GraphicsParameters::gridOptions, GraphicsParameters::gridsToPlot, i2, ia, CompositeGrid::interpolationPoint, CompositeGrid::interpoleeGrid, interpoleeGrid, INTERPOLEEGRID, ip, IP, MappedGrid::isAllCellCentered(), MappedGrid::isAllVertexCentered(), IndexBox::isEmpty(), isHiddenByRefinement, MappedGrid::IShiddenByRefinement, MappedGrid::isRectangular(), GraphicsParameters::labelBoundaries, GraphicsParameters::labelGridsAndBoundaries, GraphicsParameters::lineWidth, MappedGrid::mapping(), mask, MASK, MappedGrid::mask(), MASK_CNR, MASK_DNR, max(), min(), GridCollection::multigridLevel, CompositeGrid::multigridLevel, GenericGridCollection::numberOfBaseGrids(), GenericGraphicsInterface::numberOfColourNames, GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), MappedGrid::numberOfDimensions(), GraphicsParameters::numberOfGhostLinesToPlot, GenericGridCollection::numberOfRefinementLevels(), MappedGrid::physicalBoundary, GraphicsParameters::plotBackupInterpolationPoints, GraphicsParameters::plotBranchCuts, GraphicsParameters::plotGridBlockBoundaries, GraphicsParameters::plotGridLines, GraphicsParameters::plotHiddenRefinementPoints, GraphicsParameters::plotInterpolation, GraphicsParameters::plotInterpolationCells, GraphicsParameters::plotInterpolationPoints, GraphicsParameters::plotNonPhysicalBoundaries, GraphicsParameters::plotRefinementGrids, plotUnstructured(), GraphicsParameters::pointSize, printF(), GenericGridCollection::refinementLevelNumber, GraphicsParameters::set(), GenericGraphicsInterface::setColour(), setXColour(), GraphicsParameters::size, sPrintF(), Start, GenericGraphicsInterface::textColour, MappedGrid::THEcenter, MappedGrid::THEvertex, GraphicsParameters::toggleGrids, GenericGrid::unstructuredGrid, CompositeGrid::update(), GridCollection::USESbackupRules, MappedGrid::vertex(), VERTEX0, VERTEX1, GenericGraphicsInterface::xLabel(), GraphicsParameters::yLevelFor1DGrids, and GraphicsParameters::zLevelFor2DGrids.

Referenced by plotGrid().

void PlotIt::plotGridBoundaries ( GenericGraphicsInterface gi,
const GridCollection cg,
IntegerArray boundaryConditionList,
int  numberOfBoundaryConditions,
const int  colourOption = 0,
const real  zRaise = 0.,
GraphicsParameters parameters = Overture::defaultGraphicsParameters() 
)
staticprotected

References axis1, axis2, IndexBox::base(), bcNumber(), IndexBox::bound(), GraphicsParameters::boundaryColourOption, GraphicsParameters::boundaryColourValue, boundaryCondition, GraphicsParameters::colourBlack, GraphicsParameters::colourByBoundaryCondition, GraphicsParameters::colourByDomain, GraphicsParameters::colourByGrid, GraphicsParameters::colourByIndex, GraphicsParameters::colourByRefinementLevel, GraphicsParameters::colourByShare, GraphicsParameters::colourByValue, GenericGridCollectionData::computedGeometry, COORD0, COORD1, ParallelUtility::copy(), GraphicsParameters::defaultColour, GenericGridCollection::domainNumber, dx, extendedGridIndexRange(), FOR_3, ForBoundary, getBoundaryIndex(), GenericGraphicsInterface::getColourName(), GenericGraphicsInterface::getLineWidthScaleFactor(), ParallelUtility::getLocalArrayBounds(), CopyArray::getLocalArrayBox(), getLocalArrayWithGhostBoundaries(), GenericGraphicsInterface::getProcessorForGraphics(), getXColour(), glLineWidth, glVertex3, GraphicsParameters::gridBoundaryConditionOptions, GraphicsParameters::gridColours, gridIndexRange, GraphicsParameters::gridOptions, GraphicsParameters::gridsToPlot, i2, IndexBox::isEmpty(), MappedGrid::ISinteriorBoundaryPoint, GraphicsParameters::lineWidth, mask, MASK_DINIB, MASK_DNIB, max(), min(), Overture::nullRealDistributedArray(), GenericGridCollection::numberOfBaseGrids(), GenericGraphicsInterface::numberOfColourNames, GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), GraphicsParameters::plotBranchCuts, GraphicsParameters::plotInteriorBoundary, GraphicsParameters::plotNonPhysicalBoundaries, GraphicsParameters::plotRefinementGrids, printF(), GenericGridCollection::refinementLevelNumber, GenericGraphicsInterface::setColour(), setXColour(), GraphicsParameters::size, GenericGraphicsInterface::textColour, MappedGrid::THEvertex, GraphicsParameters::toggleGrids, GenericGrid::unstructuredGrid, XSCALE, and YSCALE.

Referenced by contour2d(), plotGrid(), and streamLines2d().

void PlotIt::plotGridQuality ( GenericGraphicsInterface gi,
MappedGrid mg,
GraphicsParameters parameters = Overture::defaultGraphicsParameters() 
)
static
void PlotIt::plotGridQuality ( GenericGraphicsInterface gi,
GridCollection gc,
GraphicsParameters parameters = Overture::defaultGraphicsParameters() 
)
static

References Overture::abort(), DialogData::addOptionMenu(), GUIState::addPrefix(), assert, aString, MappedGrid::center(), contour(), MappedGrid::dimension(), GenericGraphicsInterface::erase(), fabs(), GenericGraphicsInterface::getAnswer(), doubleGridCollectionFunction::getComponentBase(), doubleGridCollectionFunction::getComponentBound(), getIndex(), doubleGridCollectionFunction::getName(), DialogData::getOptionMenu(), DialogData::getTextValue(), GI_TOP_LABEL, GenericGraphicsInterface::graphicsIsOn(), MappedGrid::gridIndexRange(), l2Norm(), OGFunction::laplacian(), max(), maxNorm(), min(), GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), MappedGrid::numberOfDimensions(), MappedGrid::numberOfGhostPoints(), doubleGridCollectionFunction::periodicUpdate(), GenericGraphicsInterface::popGUI(), printF(), GenericGraphicsInterface::pushGUI(), REAL_MIN, GraphicsParameters::set(), OptionMenu::setCurrentChoice(), DialogData::setExitCommand(), doubleGridCollectionFunction::setName(), DialogData::setOptionMenuColumns(), GenericGridCollectionOperators::setOrderOfAccuracy(), DialogData::setTextBoxes(), DialogData::setTextLabel(), DialogData::setWindowTitle(), sPrintF(), SQR, SQRT, sScanF(), GenericGraphicsInterface::stopReadingCommandFile(), MappedGrid::THEcenter, MappedGrid::THEinverseVertexDerivative, MappedGrid::THEvertex, MappedGrid::THEvertexDerivative, GridCollection::update(), MappedGrid::vertexDerivative(), OGFunction::x(), x, xr, OGFunction::xx(), OGFunction::xy(), OGFunction::y(), and OGFunction::yy().

void PlotIt::plotLinesOnSurface ( GenericGraphicsInterface gi,
const RealArray x,
const Index &  I1,
const Index &  I2,
const Index &  I3,
const int  axis,
const bool  offsetLines,
const real  eps,
GraphicsParameters parameters,
const intArray &  mask = Overture::nullIntegerDistributedArray() 
)
staticprotected
void PlotIt::plotMappingBoundaries ( GenericGraphicsInterface gi,
const Mapping mapping,
const RealArray vertex,
const int  colourOption = 1,
const real  zRaise = 0.,
GraphicsParameters parameters = Overture::defaultGraphicsParameters() 
)
staticprotected
void PlotIt::plotMappingEdges ( GenericGraphicsInterface gi,
const RealArray x,
const IntegerArray gridIndexRange,
GraphicsParameters parameters,
const intArray &  mask,
int  grid = 0 
)
staticprotected
void PlotIt::plotMappingQuality ( GenericGraphicsInterface gi,
Mapping map,
GraphicsParameters parameters = Overture::defaultGraphicsParameters() 
)
static
void PlotIt::plotNurbsMapping ( GenericGraphicsInterface gi,
NurbsMapping map,
GraphicsParameters params = Overture::defaultGraphicsParameters(),
int  dList = 0,
bool  lit = FALSE 
)
staticprotected
int PlotIt::plotParallelGridDistribution ( GridCollection cg,
GenericGraphicsInterface gi,
GraphicsParameters par 
)
static
void PlotIt::plotShadedFace ( GenericGraphicsInterface gi,
const MappedGrid c,
const intSerialArray &  mask,
const realSerialArray vertex,
const Index &  I1,
const Index &  I2,
const Index &  I3,
const int  axis,
const int  side,
GraphicsParameters parameters 
)
staticprotected
void PlotIt::plotShadedFace ( GenericGraphicsInterface gi,
const RealArray x,
const Index &  I1,
const Index &  I2,
const Index &  I3,
const int  axis,
const int  side,
const int  domainDimension,
const int  rangeDimension,
const RealArray rgb,
const intArray &  mask = Overture::nullIntegerDistributedArray() 
)
staticprotected
void PlotIt::plotStreamLines ( GenericGraphicsInterface gi,
const GridCollection gc,
const realGridCollectionFunction uv,
IntegerArray componentsToInterpolate,
IntegerArray maskForStreamLines_,
real  arrowSize,
GraphicsParameters psp,
real xa,
real ya,
real xb,
real yb,
real xba,
real yba,
real uMin,
real uMax,
int &  nrsmx,
int &  nxg,
int &  nyg,
int &  intopt 
)
staticprotected
void PlotIt::plotStructured ( GenericGraphicsInterface gi,
Mapping map,
GraphicsParameters parameters = Overture::defaultGraphicsParameters(),
int  dList = 0,
bool  lit = FALSE 
)
staticprotected

References GenericGraphicsInterface::appendToTheDefaultPrompt(), assert, aString, axis1, axis2, axis3, GraphicsParameters::boundaryColourOption, GUIState::buildPopup(), GenericGraphicsInterface::chooseAColour(), GraphicsParameters::colourByBoundaryCondition, GraphicsParameters::colourByGrid, GraphicsParameters::colourByShare, GraphicsParameters::curveLineWidth, Mapping::debug, GraphicsParameters::defaultColour, delta1, dim, dimension, dr, GenericGraphicsInterface::drawColouredSquares(), End, fabs(), FALSE, FOR_3, ForBoundary, GenericGraphicsInterface::generateNewDisplayList(), GenericGraphicsInterface::getAnswer(), Mapping::getBoundaryCondition(), GenericGraphicsInterface::getColour(), GenericGraphicsInterface::getColourName(), GenericGraphicsInterface::getCurrentWindow(), Mapping::getDomainDimension(), ReferenceCounting::getGlobalID(), Mapping::getGridDimensions(), Mapping::getGridSerial(), GenericGraphicsInterface::getLineWidthScaleFactor(), Mapping::getName(), Mapping::getRangeBound(), Mapping::getRangeDimension(), Mapping::getShare(), GI_PLOT_MAPPING_EDGES, glDisable, glEnable, glLineWidth, glPointSize, glVertex3, GraphicsParameters::gridCoordinatePlane, gridIndexRange, i2, GenericGraphicsInterface::inputString(), GraphicsParameters::isDefault(), Bound::isFinite(), GenericGraphicsInterface::isGraphicsWindowOpen(), GraphicsParameters::keepAspectRatio, GraphicsParameters::labelGridsAndBoundaries, GraphicsParameters::lineWidth, Mapping::mapGrid(), Mapping::mapGridS(), GraphicsParameters::mappingColour, MappingParameters::mask, max(), min(), Overture::nullRealArray(), Overture::nullRealDistributedArray(), GraphicsParameters::numberOfGhostLinesToPlot, GraphicsParameters::numberOfGridCoordinatePlanes, OFFSET_FACTOR, GenericGraphicsInterface::outputString(), GraphicsParameters::plotBound, GraphicsParameters::plotBoundsChanged, GraphicsParameters::plotEndPointsOnCurves, GraphicsParameters::plotGridPointsOnCurves, GenericGraphicsInterface::plotLabels(), GraphicsParameters::plotLinesOnMappingBoundaries, plotLinesOnSurface(), plotMappingBoundaries(), plotMappingEdges(), GraphicsParameters::plotMappingEdges, GraphicsParameters::plotNonPhysicalBoundaries, GraphicsParameters::plotObject, GraphicsParameters::plotObjectAndExit, plotShadedFace(), GraphicsParameters::plotShadedMappingBoundaries, GraphicsParameters::plotTheAxes, GraphicsParameters::plotTitleLabels, GraphicsParameters::pointColour, GraphicsParameters::pointSize, GenericGraphicsInterface::popGUI(), printF(), GenericGraphicsInterface::pushGUI(), r, Mapping::rangeAxis1Name, Mapping::rangeAxis2Name, Mapping::rangeAxis3Name, REAL_EPSILON, GenericGraphicsInterface::redraw(), GraphicsParameters::relativeChangeForPlotBounds, GraphicsParameters::set(), GenericGraphicsInterface::setAxesDimension(), GenericGraphicsInterface::setAxesLabels(), GenericGraphicsInterface::setColour(), GenericGraphicsInterface::setCurrentWindow(), GenericGraphicsInterface::setGlobalBound(), GenericGraphicsInterface::setKeepAspectRatio(), GUIState::setUserButtons(), GUIState::setUserMenu(), GraphicsParameters::size, sPrintF(), sScanF(), Start, GraphicsParameters::surfaceOffset, GenericGraphicsInterface::textColour, TRUE, GenericGraphicsInterface::unAppendTheDefaultPrompt(), GraphicsParameters::usePlotBounds, GraphicsParameters::usePlotBoundsOrLarger, Mapping::usesDistributedMap(), and x.

Referenced by plot(), plotNurbsMapping(), and plotTrimmedMapping().

void PlotIt::plotSubSurfaceNormals ( GenericGraphicsInterface gi,
CompositeSurface cs,
GraphicsParameters params 
)
staticprotected
void PlotIt::plotTrimmedMapping ( GenericGraphicsInterface gi,
TrimmedMapping map,
GraphicsParameters params = Overture::defaultGraphicsParameters(),
int  dList = 0,
bool  lit = FALSE 
)
staticprotected
void PlotIt::plotUM ( GenericGraphicsInterface gi,
UnstructuredMapping map,
GraphicsParameters parameters = Overture::defaultGraphicsParameters(),
int  dList = 0,
bool  lit = FALSE 
)
staticprotected

References DialogData::addRadioBox(), UnstructuredMapping::adjacency_begin(), UnstructuredMapping::adjacency_end(), GenericGraphicsInterface::appendToTheDefaultPrompt(), aString, UnstructuredMapping::boundaryEdgeDL, GUIState::buildPopup(), GenericGraphicsInterface::chooseAColour(), GenericGraphicsInterface::createMessageDialog(), GraphicsParameters::curveLineWidth, GenericGraphicsInterface::drawColouredSquares(), UnstructuredMapping::Edge, UnstructuredMapping::edgeDL, End, UnstructuredMapping::EntityTypeStrings, UnstructuredMapping::eraseUnstructuredMapping(), errorDialog, UnstructuredMapping::faceDL, UnstructuredMapping::faceNormalDL, FALSE, GenericGraphicsInterface::generateNewDisplayList(), GraphicsParameters::get(), GenericGraphicsInterface::getAnswer(), GenericGraphicsInterface::getCurrentWindow(), UnstructuredMapping::getDisplayList(), Mapping::getDomainDimension(), UnstructuredMapping::getEntities(), ReferenceCounting::getGlobalID(), UnstructuredMapping::getNodes(), Mapping::getRangeBound(), Mapping::getRangeDimension(), DialogData::getToggleValue(), GI_LABEL_GRIDS_AND_BOUNDARIES, GI_PLOT_LABELS, GI_PLOT_SHADED_MAPPING_BOUNDARIES, GI_PLOT_THE_OBJECT_AND_EXIT, glDisable, GraphicsParameters::isDefault(), Bound::isFinite(), GenericGraphicsInterface::isGraphicsWindowOpen(), GraphicsParameters::labelGridsAndBoundaries, GraphicsParameters::mappingColour, UnstructuredMappingAdjacencyIterator::nAdjacent(), UnstructuredMapping::nodeDL, GraphicsParameters::numberOfGhostLinesToPlot, GenericGraphicsInterface::outputString(), GraphicsParameters::plotGridPointsOnCurves, GenericGraphicsInterface::plotLabels(), GenericGraphicsInterface::plotLines(), GraphicsParameters::plotLinesOnMappingBoundaries, GraphicsParameters::plotMappingNormals, GraphicsParameters::plotObject, GraphicsParameters::plotObjectAndExit, GenericGraphicsInterface::plotPoints(), GraphicsParameters::plotShadedMappingBoundaries, GraphicsParameters::plotTitleLabels, GraphicsParameters::plotUnsBoundaryEdges, GraphicsParameters::plotUnsEdges, GraphicsParameters::plotUnsFaces, GraphicsParameters::plotUnsNodes, plotUnstructured(), GraphicsParameters::plotWireFrame, GenericGraphicsInterface::popGUI(), GenericGraphicsInterface::pushGUI(), GenericGraphicsInterface::redraw(), UnstructuredMapping::Region, GraphicsParameters::set(), GenericGraphicsInterface::setAxesDimension(), UnstructuredMapping::setColour(), GenericGraphicsInterface::setCurrentWindow(), UnstructuredMapping::setDisplayList(), DialogData::setExitCommand(), GenericGraphicsInterface::setGlobalBound(), GenericGraphicsInterface::setKeepAspectRatio(), GenericGraphicsInterface::setPlotDL(), DialogData::setSensitive(), DialogData::setTextBoxes(), DialogData::setToggleButtons(), UnstructuredMapping::size(), sPrintF(), sScanF(), Start, GenericGraphicsInterface::stopReadingCommandFile(), GraphicsParameters::surfaceOffset, DialogData::textBoxWidget, TRUE, GenericGraphicsInterface::unAppendTheDefaultPrompt(), GraphicsParameters::unsCutplaneNormal, GraphicsParameters::unsCutplaneVertex, GraphicsParameters::useUnsCutplane, and UnstructuredMapping::Vertex.

Referenced by plot(), and plotGrid().

int PlotIt::plotUnstructured ( GenericGraphicsInterface gi,
const UnstructuredMapping map,
GraphicsParameters par,
int  dList = 0,
bool  lit = FALSE 
)
staticprotected

References UnstructuredMapping::begin(), GraphicsParameters::blockBoundaryColourOption, GraphicsParameters::boundaryColourOption, GraphicsParameters::colourBlack, GraphicsParameters::colourByBoundaryCondition, GraphicsParameters::colourByGrid, GraphicsParameters::colourByValue, GraphicsParameters::defaultColour, UnstructuredMapping::Edge, UnstructuredMapping::end(), UnstructuredMapping::EntityTypeStrings, UnstructuredMapping::Face, GraphicsParameters::get(), UnstructuredMapping::getBC(), UnstructuredMapping::getColour(), GenericGraphicsInterface::getColourName(), Mapping::getDomainDimension(), UnstructuredMapping::getEntities(), GenericGraphicsInterface::getLineWidthScaleFactor(), UnstructuredMapping::getNodes(), Mapping::getRangeDimension(), GI_PLOT_BLOCK_BOUNDARIES, glEnable, glLineWidth, glNormal3v, glPointSize, glVertex3, GraphicsParameters::gridLineColourOption, GraphicsParameters::gridLineColourValue, UnstructuredMapping::hasBC(), UnstructuredMapping::isGhost(), GraphicsParameters::lineWidth, GraphicsParameters::mappingColour, max(), UnstructuredMapping::maxVerticesInEntity(), min(), normal, GenericGraphicsInterface::numberOfColourNames, GraphicsParameters::numberOfGhostLinesToPlot, OFFSET_FACTOR, GraphicsParameters::plotMappingNormals, GraphicsParameters::plotUnsBoundaryEdges, GraphicsParameters::plotUnsEdges, GraphicsParameters::plotUnsFaces, GraphicsParameters::plotUnsNodes, GenericGraphicsInterface::setColour(), UnstructuredMapping::size(), GraphicsParameters::size, GraphicsParameters::surfaceOffset, UnstructuredMapping::tag_entity_begin(), UnstructuredMapping::tag_entity_end(), GenericGraphicsInterface::textColour, GraphicsParameters::unsCutplaneNormal, GraphicsParameters::unsCutplaneVertex, GraphicsParameters::useUnsCutplane, GraphicsParameters::useUnsFlatShading, UnstructuredMapping::Vertex, and GraphicsParameters::zLevelFor2DGrids.

Referenced by grid3d(), plotGrid2d(), plotUM(), and surfaceGrid3d().

void PlotIt::renderNurbsCurve ( GenericGraphicsInterface gi,
NurbsMapping map,
float  mode,
int  type 
)
staticprotected
void PlotIt::renderNurbsSurface ( GenericGraphicsInterface gi,
NurbsMapping map,
float  mode 
)
staticprotected
void PlotIt::renderTrimmedNurbsByMode ( GenericGraphicsInterface gi,
TrimmedMapping map,
float  mode 
)
staticprotected
void PlotIt::renderTrimmedNurbsMapping ( GenericGraphicsInterface gi,
TrimmedMapping map,
GraphicsParameters params = Overture::defaultGraphicsParameters(),
bool  lit = FALSE 
)
staticprotected
void PlotIt::streamLines ( GenericGraphicsInterface gi,
const realMappedGridFunction uv,
GraphicsParameters parameters = Overture::defaultGraphicsParameters() 
)
static
void PlotIt::streamLines ( GenericGraphicsInterface gi,
const realGridCollectionFunction uv0,
GraphicsParameters parameters = Overture::defaultGraphicsParameters() 
)
static
void PlotIt::streamLines2d ( GenericGraphicsInterface gi,
GridCollection gc,
const realGridCollectionFunction uv,
GraphicsParameters parameters 
)
staticprotected

References GenericGraphicsInterface::appendToTheDefaultPrompt(), assert, aString, axis1, axis2, GraphicsParameters::backGroundGridDimension, GraphicsParameters::blue, boundaryCondition, GUIState::buildPopup(), GraphicsParameters::colourTable, componentsToInterpolate, computeMaximumSpeed(), GenericGraphicsInterface::defaultOrigin, GenericGraphicsInterface::drawColourBar(), End, fabs(), ForBoundary, GenericGraphicsInterface::generateNewDisplayList(), GenericGraphicsInterface::getAnswer(), doubleGridCollectionFunction::getComponentBase(), doubleGridCollectionFunction::getComponentBound(), doubleGridCollectionFunction::getComponentDimension(), getCPU(), GenericGraphicsInterface::getCurrentWindow(), ReferenceCounting::getGlobalID(), GenericGraphicsInterface::getMenuItem(), doubleGridCollectionFunction::getName(), getPlotBounds(), DialogData::getTextValue(), GraphicsParameters::gray, GraphicsParameters::green, GraphicsParameters::gridBoundaryConditionOptions, gridIndexRange, GraphicsParameters::gridOptions, GraphicsParameters::gridsToPlot, GenericGraphicsInterface::inputString(), GraphicsParameters::isDefault(), GenericGraphicsInterface::isGraphicsWindowOpen(), GraphicsParameters::keepAspectRatio, GraphicsParameters::labelComponent, GraphicsParameters::labelMinMax, maskForStreamLines, max(), GraphicsParameters::maxStreamLine, min(), GraphicsParameters::minAndMaxStreamLinesSpecified, GraphicsParameters::minStreamLine, Overture::nullRealArray(), GraphicsParameters::numberOfColourTables, GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), GraphicsParameters::numberOfGhostLinesToPlot, GraphicsParameters::objectWasPlotted, GenericGraphicsInterface::outputString(), plot(), GraphicsParameters::plotBackupInterpolation, GraphicsParameters::plotBackupInterpolationPoints, GraphicsParameters::plotBlockBoundaries, GraphicsParameters::plotBound, GraphicsParameters::plotBoundaryGridLines, GraphicsParameters::plotColourBar, GraphicsParameters::plotGrid, GraphicsParameters::plotGridBlockBoundaries, plotGridBoundaries(), GraphicsParameters::plotInteriorBoundary, GraphicsParameters::plotInteriorBoundaryPoints, GraphicsParameters::plotInteriorGridLines, GraphicsParameters::plotInterpolation, GenericGraphicsInterface::plotLabels(), GraphicsParameters::plotLinesOnGridBoundaries, GraphicsParameters::plotObject, GraphicsParameters::plotObjectAndExit, GraphicsParameters::plotShadedSurfaceGrids, GraphicsParameters::plotShadedSurfaces, plotStreamLines(), GraphicsParameters::plotTitleLabels, GenericGraphicsInterface::popGUI(), printF(), GenericGraphicsInterface::pushGUI(), GraphicsParameters::rainbow, GraphicsParameters::red, GenericGraphicsInterface::redraw(), GenericGraphicsInterface::resetGlobalBound(), GenericGraphicsInterface::setAxesDimension(), GenericGraphicsInterface::setAxesOrigin(), GenericGraphicsInterface::setCurrentWindow(), DialogData::setExitCommand(), GenericGraphicsInterface::setGlobalBound(), GenericGraphicsInterface::setKeepAspectRatio(), DialogData::setOptionMenuColumns(), DialogData::setPushButtons(), DialogData::setTextBoxes(), DialogData::setTextLabel(), DialogData::setWindowTitle(), sPrintF(), sScanF(), Start, GraphicsParameters::streamLineArrowSize, GraphicsParameters::streamLineStoppingTolerance, GraphicsParameters::toggleSum, GraphicsParameters::topLabel, GraphicsParameters::topLabel1, GraphicsParameters::uComponentForStreamLines, GenericGraphicsInterface::unAppendTheDefaultPrompt(), GraphicsParameters::usePlotBounds, GraphicsParameters::vComponentForStreamLines, GraphicsParameters::xScaleFactor, and GraphicsParameters::yScaleFactor.

Referenced by streamLines().

void PlotIt::streamLines3d ( GenericGraphicsInterface gi,
GridCollection gc,
const realGridCollectionFunction uv,
GraphicsParameters parameters 
)
staticprotected

References Overture::abort(), DialogData::addOptionMenu(), GenericGraphicsInterface::appendToTheDefaultPrompt(), assert, aString, axis1, axis2, axis3, GraphicsParameters::backGroundGridDimension, GraphicsParameters::blue, GUIState::buildPopup(), GraphicsParameters::colourTable, componentsToInterpolate, GenericGraphicsInterface::defaultOrigin, dimension, GenericGraphicsInterface::drawColourBar(), End, fabs(), FALSE, GenericGraphicsInterface::generateNewDisplayList(), GenericGraphicsInterface::getAnswer(), doubleGridCollectionFunction::getComponentBase(), doubleGridCollectionFunction::getComponentBound(), doubleGridCollectionFunction::getComponentDimension(), getCPU(), GenericGraphicsInterface::getCurrentWindow(), getIndex(), GenericGraphicsInterface::getLineWidthScaleFactor(), GenericGraphicsInterface::getMenuItem(), doubleGridCollectionFunction::getName(), DialogData::getOptionMenu(), getPlotBounds(), InterpolatePoints::getStatus(), glColor3, glLineWidth, glPointSize, glVertex3, GraphicsParameters::gray, GraphicsParameters::green, gridIndexRange, if(), GenericGraphicsInterface::inputString(), InterpolatePoints::interpolated, InterpolatePoints::interpolatePoints(), GraphicsParameters::isDefault(), GenericGraphicsInterface::isGraphicsWindowOpen(), GraphicsParameters::lineWidth, mask, max(), GraphicsParameters::maxStreamLine, min(), GraphicsParameters::minAndMaxStreamLinesSpecified, GraphicsParameters::minStreamLine, NULL, Overture::nullRealArray(), GraphicsParameters::numberOfColourTables, GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), GraphicsParameters::numberOfGhostLinesToPlot, GraphicsParameters::numberOfRakePoints, GraphicsParameters::numberOfRectanglePoints, GraphicsParameters::numberOfStreamLineStartingPoints, GraphicsParameters::objectWasPlotted, GenericGraphicsInterface::outputString(), plot(), GraphicsParameters::plotBound, GraphicsParameters::plotColourBar, GenericGraphicsInterface::plotLabels(), GraphicsParameters::plotObject, GraphicsParameters::plotObjectAndExit, plotStreamLines(), GraphicsParameters::plotTitleLabels, GenericGraphicsInterface::popGUI(), printF(), GenericGraphicsInterface::pushGUI(), R, R0, GraphicsParameters::rainbow, GraphicsParameters::rakeEndPoint, REAL_MAX, GraphicsParameters::rectanglePoint, GraphicsParameters::red, GenericGraphicsInterface::redraw(), s, GenericGraphicsInterface::setAxesDimension(), GenericGraphicsInterface::setAxesOrigin(), GenericGraphicsInterface::setColour(), GenericGraphicsInterface::setColourFromTable(), OptionMenu::setCurrentChoice(), GenericGraphicsInterface::setCurrentWindow(), DialogData::setExitCommand(), GenericGraphicsInterface::setGlobalBound(), GenericGraphicsInterface::setKeepAspectRatio(), DialogData::setPushButtons(), DialogData::setTextBoxes(), DialogData::setTextLabel(), DialogData::setWindowTitle(), GraphicsParameters::size, sPrintF(), SQR, SQRT, sScanF(), Start, GraphicsParameters::streamLineStartingPoint, GraphicsParameters::streamLineStoppingTolerance, GraphicsParameters::streamLineWidth, GenericGraphicsInterface::textColour, GraphicsParameters::topLabel, TRUE, GraphicsParameters::uComponentForStreamLines, uInterpolated, GenericGraphicsInterface::unAppendTheDefaultPrompt(), GraphicsParameters::vComponentForStreamLines, GraphicsParameters::wComponentForStreamLines, x, XSCALE, GraphicsParameters::xScaleFactor, YSCALE, GraphicsParameters::yScaleFactor, ZSCALE, and GraphicsParameters::zScaleFactor.

Referenced by streamLines().

void PlotIt::surfaceGrid3d ( GenericGraphicsInterface gi,
const GridCollection gc,
GraphicsParameters psp,
IntegerArray boundaryConditionList,
int  numberOfBoundaryConditions,
IntegerArray numberList,
int &  number,
int  list,
int  lightList 
)
staticprotected

References GraphicsParameters::adjustGridForDisplacement, axis1, axis2, bcNumber(), GraphicsParameters::blockBoundaryColourOption, GraphicsParameters::boundaryColourOption, MappedGrid::boundaryCondition(), c, GraphicsParameters::colourBlack, GraphicsParameters::colourByBoundaryCondition, GraphicsParameters::colourByDomain, GraphicsParameters::colourByGrid, GraphicsParameters::colourByIndex, GraphicsParameters::colourByRefinementLevel, GraphicsParameters::colourByShare, GraphicsParameters::colourByValue, GenericGridData::computedGeometry, GraphicsParameters::defaultColour, MappedGrid::dimension(), MappedGrid::domainDimension(), GenericGridCollection::domainNumber, GraphicsParameters::doNotPlotFace00, GraphicsParameters::doNotPlotFace01, GraphicsParameters::doNotPlotFace02, GraphicsParameters::doNotPlotFace10, GraphicsParameters::doNotPlotFace11, GraphicsParameters::doNotPlotFace12, dx, End, extendedGridIndexRange(), FALSE, FOR_3, Mapping::functionPeriodic, getBoundaryIndex(), GenericGraphicsInterface::getColourName(), ReferenceCounting::getGlobalID(), getGridColour(), MappedGrid::getGridType(), getIndex(), GenericGraphicsInterface::getLineWidthScaleFactor(), getLocalArrayWithGhostBoundaries(), MappingRC::getMapping(), MappedGrid::getRectangularGridParameters(), GI_MAPPING_COLOUR, glDisable, glEnable, glLineWidth, glVertex3, GraphicsParameters::gridBoundaryConditionOptions, GraphicsParameters::gridCoordinatePlane, MappedGrid::gridIndexRange(), gridIndexRange, GraphicsParameters::gridOptions, GraphicsParameters::gridsToPlot, i2, MappedGrid::isAllCellCentered(), MappedGrid::isAllVertexCentered(), isHiddenByRefinement, MappedGrid::isPeriodic(), MappedGrid::isRectangular(), GraphicsParameters::lineWidth, MappedGrid::mapping(), mask, MappedGrid::mask(), MASK_CNR, MASK_DINIB, MASK_DNIB, MASK_DNR, max(), min(), normal, GenericGraphicsInterface::numberOfColourNames, GenericGridCollection::numberOfComponentGrids(), GraphicsParameters::numberOfGridCoordinatePlanes, GenericGridCollection::numberOfRefinementLevels(), OFFSET_FACTOR, GraphicsParameters::plotBranchCuts, GraphicsParameters::plotGridLines, GraphicsParameters::plotInterpolationCells, GraphicsParameters::plotInterpolationPoints, plotShadedFace(), GraphicsParameters::plotShadedSurfaces, GraphicsParameters::plotUnsBoundaryEdges, GraphicsParameters::plotUnsEdges, GraphicsParameters::plotUnsFaces, GraphicsParameters::plotUnsNodes, plotUnstructured(), GenericGridCollection::refinementLevelNumber, GraphicsParameters::set(), GenericGraphicsInterface::setColour(), MappedGrid::sharedBoundaryFlag(), GraphicsParameters::size, Start, GraphicsParameters::surfaceOffset, MappedGrid::THEvertex, GraphicsParameters::toggleGrids, GenericGrid::unstructuredGrid, MappedGrid::vertex(), VERTEX0, VERTEX1, and VERTEX2.

Referenced by plotGrid().

int PlotIt::unAdjustGrid ( GridCollection gc,
const realGridCollectionFunction v,
GraphicsParameters parameters,
realSerialArray *&  xSave,
real  displacementScaleFactor 
)
staticprotected

Un-adjust the grid to remove the displacement.

For solid-mechanics problems, the actual grid may be the sum of the vertex array and a displacement (or just the "displacement" itself). This routine changes the vertex array to match the actual grid. Call unAdjustGrid to undo this operation.

Parameters
gc,u,parameters(input) : (input) : pointer used in calling adjustGrid.

References assert, MappedGrid::dimension(), GraphicsParameters::displacementComponent, getIndex(), ParallelUtility::getLocalArrayBounds(), getLocalArrayWithGhostBoundaries(), NULL, GenericGridCollection::numberOfComponentGrids(), MappedGrid::numberOfDimensions(), and MappedGrid::vertex().

Referenced by contour(), and displacement().

int PlotIt::userDefinedOutput ( const realGridCollectionFunction uv,
GraphicsParameters par,
const aString callingFunctionName 
)
static

Member Data Documentation

int PlotIt::parallelPlottingOption =1
static

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