Overture
Version 25
|
#include <StretchTransform.h>
Protected Member Functions | |
int | setMappingProperties () |
StretchTransform::StretchTransform | ( | ) |
StretchTransform::StretchTransform | ( | const StretchTransform & | map, |
const CopyType | copyType = DEEP |
||
) |
References DEEP, and ComposeMapping::map().
StretchTransform::~StretchTransform | ( | ) |
References Mapping::debug.
int StretchTransform::applyStretching | ( | int | stretchingType[3], |
IntegerArray * | ipar, | ||
RealArray * | rpar | ||
) |
References assert, c, Mapping::domainDimension, StretchMapping::exponential, StretchMapping::exponentialBlend, StretchMapping::exponentialToLinear, StretchMapping::hyperbolicTangent, StretchMapping::inverseHyperbolicTangent, StretchMapping::linearSpacing, StretchMapping::noStretching, NULL, printF(), StretchMapping::setExponentialParameters(), StretchMapping::setExponentialToLinearParameters(), StretchMapping::setHyperbolicTangentParameters(), StretchMapping::setIntervalParameters(), StretchMapping::setLayerParameters(), StretchMapping::setLinearSpacingParameters(), StretchMapping::setNumberOfIntervals(), StretchMapping::setNumberOfLayers(), StretchMapping::setStretchingType(), and StretchedSquare::stretchFunction().
Referenced by update(), and updateStretchingParameters().
int StretchTransform::buildStretchingParametersDialog | ( | DialogData & | dialog, |
const StretchMapping::StretchingType | stretchType, | ||
const int | direction | ||
) |
References DialogData::addInfoLabel(), DialogData::addOptionMenu(), GUIState::addPrefix(), assert, aString, c, StretchMapping::exponential, StretchMapping::exponentialBlend, StretchMapping::exponentialToLinear, StretchMapping::hyperbolicTangent, StretchMapping::inverseHyperbolicTangent, printF(), DialogData::setPushButtons(), DialogData::setTextBoxes(), and sPrintF().
Referenced by update().
|
virtual |
Reimplemented from ComposeMapping.
References Mapping::debug, GenericDataBase::find(), ComposeMapping::get(), GenericDataBase::get(), Mapping::getName(), ComposeMapping::map1, Mapping::mappingHasChanged(), Mapping::mappingName, MappingRC::mapPointer, printF(), Mapping::usesDistributedInverse(), Mapping::usesDistributedMap(), and GenericDataBase::virtualConstructor().
|
inlinevirtual |
Reimplemented from ComposeMapping.
Referenced by operator=().
StretchedSquare & StretchTransform::getStretchedSquare | ( | ) |
References NULL.
Referenced by GridStretcher::applyStretching(), OffsetShell::buildOffsetMappings(), and GridStretcher::update().
Reimplemented from ComposeMapping.
References StretchTransform().
StretchTransform & StretchTransform::operator= | ( | const StretchTransform & | X | ) |
References getClassName(), ComposeMapping::map1, MappingRC::mapPointer, and ComposeMapping::operator=().
|
virtual |
void StretchTransform::reinitialize | ( | ) |
References Mapping::mappingHasChanged().
Referenced by OffsetShell::buildOffsetMappings().
int StretchTransform::resizeParameterArrays | ( | int | stretchID, |
IntegerArray & | ipar, | ||
RealArray & | rpar | ||
) |
References printF().
Referenced by updateStretchingParameters().
void StretchTransform::setMapping | ( | Mapping & | map | ) |
References ReferenceCounting::decrementReferenceCount(), Mapping::getDomainDimension(), Mapping::getIsPeriodic(), ReferenceCounting::incrementReferenceCount(), Mapping::mappingHasChanged(), NULL, Mapping::setDomainDimension(), Mapping::setIsPeriodic(), setMappingProperties(), ComposeMapping::setMappings(), and Mapping::setRangeDimension().
Referenced by MappingBuilder::buildBoxGrid(), OffsetShell::buildOffsetMappings(), main(), update(), and GridStretcher::update().
|
protected |
|
virtual |
Reimplemented from ComposeMapping.
References NULL, and nullString.
Referenced by OffsetShell::buildOffsetMappings(), and main().
int StretchTransform::update | ( | MappingInformation & | mapInfo, |
const aString & | command, | ||
DialogData * | interface = NULL |
||
) |
References DialogData::addInfoLabel(), DialogData::addOptionMenu(), GUIState::addPrefix(), GenericGraphicsInterface::appendToTheDefaultPrompt(), applyStretching(), assert, aString, axis1, Mapping::buildMappingParametersDialog(), GUIState::buildPopup(), buildStretchingParametersDialog(), c, DialogData::closeDialog(), GraphicsParameters::colourByBoundaryCondition, GraphicsParameters::colourByShare, MappingInformation::command, MappingInformation::commandOption, direction(), Mapping::display(), Mapping::domainAxis1Name, Mapping::domainDimension, GenericGraphicsInterface::erase(), StretchMapping::exponential, StretchMapping::exponentialBlend, StretchMapping::exponentialToLinear, fabs(), FALSE, GenericGraphicsInterface::getAnswer(), GenericGraphicsInterface::getCurrentWindow(), GUIState::getDialogSibling(), Mapping::getGrid(), Mapping::getGridDimensions(), Mapping::getIsPeriodic(), ListOfMappingRC::getLength(), Mapping::getMappingParametersOption(), GenericGraphicsInterface::getMenuItem(), MappingRC::getName(), Mapping::getName(), GenericGraphicsInterface::getNewLabelList(), DialogData::getOptionMenu(), DialogData::getTextValue(), DialogData::getToggleValue(), GI_BOUNDARY_COLOUR_OPTION, GI_LABEL_GRIDS_AND_BOUNDARIES, GI_MAPPING_COLOUR, GI_PLOT_GRID_POINTS_ON_CURVES, GI_PLOT_NON_PHYSICAL_BOUNDARIES, GI_PLOT_THE_OBJECT_AND_EXIT, GI_TOP_LABEL, MappingInformation::graphXInterface, DialogData::hideSibling(), StretchMapping::hyperbolicTangent, if(), MappingInformation::interactive, StretchMapping::inverseHyperbolicTangent, GenericGraphicsInterface::isGraphicsWindowOpen(), GenericGraphicsInterface::label(), StretchMapping::map(), ComposeMapping::map2, Mapping::mappingHasChanged(), MappingInformation::mappingList, Mapping::mappingName, max(), StretchMapping::noStretching, SelectionInfo::nSelect, NULL, nullString, GenericGraphicsInterface::outputString(), PlotIt::plot(), GenericGraphicsInterface::popGUI(), printF(), GenericGraphicsInterface::pushGUI(), r, R, Mapping::rangeAxis1Name, GenericGraphicsInterface::readingFromCommandFile(), MappingInformation::readOneCommand, REAL_MIN, GenericGraphicsInterface::savePickCommands(), GraphicsParameters::set(), GenericGraphicsInterface::setAxesLabels(), OptionMenu::setCurrentChoice(), DataPointMapping::setDataPoints(), DialogData::setExitCommand(), Mapping::setGridDimensions(), DialogData::setInfoLabel(), StretchMapping::setIsPeriodic(), Mapping::setIsPeriodic(), setMapping(), Mapping::setName(), DialogData::setOptionMenuColumns(), DialogData::setPushButtons(), StretchMapping::setStretchingType(), DialogData::setTextBoxes(), DialogData::setTextLabel(), DialogData::setToggleButtons(), DialogData::setWindowTitle(), DialogData::showSibling(), sPrintF(), sScanF(), GenericGraphicsInterface::stopReadingCommandFile(), StretchedSquare::stretchFunction(), GenericGraphicsInterface::unAppendTheDefaultPrompt(), StretchedSquare::update(), MappingRC::update(), Mapping::update(), updateStretchingParameters(), Mapping::updateWithCommand(), x, and xr.
int StretchTransform::updateStretchingParameters | ( | aString & | answer, |
IntegerArray * | ipar, | ||
RealArray * | rpar, | ||
int | stretchingType[3], | ||
int | numberOfMultigridLevels, | ||
real | stretchResolutionFactor, | ||
DialogData * | stretchParametersDialog[3], | ||
DialogData & | dialog, | ||
MappingInformation & | mapInfo | ||
) |
References ALPHA, applyStretching(), assert, aString, c, direction(), dx, EVAL_STRETCH, StretchMapping::exponential, StretchMapping::exponentialToLinear, Mapping::getGridDimensions(), MappingRC::getIsPeriodic(), MappingRC::getMapping(), DialogData::getOptionMenu(), DialogData::getTextValue(), MappingInformation::graphXInterface, StretchMapping::hyperbolicTangent, StretchMapping::inverseHyperbolicTangent, log(), ComposeMapping::map2, Mapping::mappingHasChanged(), max(), nr, NULL, pow(), printF(), ra, resizeParameterArrays(), OptionMenu::setCurrentChoice(), Mapping::setGridDimensions(), DialogData::setInfoLabel(), StretchMapping::setNumberOfLayers(), DialogData::setTextLabel(), SPRIME, sPrintF(), sScanF(), GenericGraphicsInterface::stopReadingCommandFile(), and StretchedSquare::stretchFunction().
Referenced by update().