Overture
Version 25
|
#include <UserDefinedMapping1.h>
Public Types | |
enum | UserDefinedMappingEnum { unitSquare, helicalWire, filletForTwoCylinders, blade } |
Public Types inherited from Mapping | |
enum | mappingSpace { parameterSpace, cartesianSpace } |
enum | coordinateSystem { cartesian, spherical, cylindrical, polar, toroidal, numberOfCoordinateSystems } |
enum | coordinateSingularity { noCoordinateSingularity, polarSingularity } |
enum | mappingCoordinateSystem { rectangular, conformal, orthogonal, general } |
enum | periodicType { notPeriodic, derivativePeriodic, functionPeriodic } |
enum | topologyEnum { topologyIsNotPeriodic =0, topologyIsPeriodic, topologyIsPartiallyPeriodic } |
enum | mappingItemName { mappingName, domainName, rangeName, domainAxis1Name, domainAxis2Name, domainAxis3Name, rangeAxis1Name, rangeAxis2Name, rangeAxis3Name, numberOfMappingItemNames } |
enum | basicInverseOptions { canDoNothing, canDetermineOutside, canInvert, canInvertWithGoodGuess } |
typedef ArraySimpleFixed< int, 2, 3, 1, 1 > | IndexRangeType |
Protected Member Functions | |
int | bladeSetup (MappingInformation &mapInfo) |
Protected Member Functions inherited from Mapping | |
int | buildMappingParametersDialog (DialogData &dialog) |
int | getMappingParametersOption (const aString &answer, DialogData &dialog, GenericGraphicsInterface &gi) |
: Look for a change to one of the mapping parameters. | |
int | updateMappingParametersDialog (DialogData &dialog) |
void | initializePartition () |
int | mappingHasChanged () |
void | setGridIsValid () |
void | setDefaultMappingBounds (const mappingSpace ms, Bound mappingBound[3][2]) |
void | setDefaultCoordinateSystemBounds (const coordinateSystem cs, Bound csBound[3][2]) |
int | validSide (const int side) const |
int | validAxis (const int axis) const |
void | mappingError (const aString &subName, const int side, const int axis) const |
Additional Inherited Members | |
Static Public Member Functions inherited from Mapping | |
static void | openDebugFiles () |
static void | closeDebugFiles () |
static real | epsilon () |
static void | setMinimumNumberOfDistributedGhostLines (int numGhost) |
static int | getGridMinAndMax (const realArray &u, const Range &R1, const Range &R2, const Range &R3, real uMin[3], real uMax[3], bool local=false) |
static Mapping * | makeMapping (const aString &mappingClassName) |
static MappingLinkedList & | staticMapList () |
Public Attributes inherited from Mapping | |
int | computeMap |
int | computeMapDerivative |
int | base |
int | bound |
real | signForJacobian |
ApproximateGlobalInverse * | approximateGlobalInverse |
ExactLocalInverse * | exactLocalInverse |
DistributedInverse * | distributedInverse |
Static Public Attributes inherited from Mapping | |
static int | useInitialGuessForInverse =TRUE |
static int | debug =0 |
static FILE * | debugFile =NULL |
static FILE * | pDebugFile =NULL |
static const real | bogus =10. |
Static Protected Attributes inherited from Mapping | |
static int | defaultNumberOfGhostPoints =0 |
static int | minimumNumberOfDistributedGhostLines =1 |
UserDefinedMapping1::UserDefinedMapping1 | ( | ) |
References axis1, axis2, Mapping::canInvert, className, Mapping::mappingHasChanged(), Mapping::mappingName, mappingType, Mapping::setBasicInverseOption(), Mapping::setDomainDimension(), Mapping::setGridDimensions(), Mapping::setName(), Mapping::setRangeDimension(), and unitSquare.
Referenced by make().
UserDefinedMapping1::UserDefinedMapping1 | ( | const UserDefinedMapping1 & | map, |
const CopyType | copyType = DEEP |
||
) |
UserDefinedMapping1::~UserDefinedMapping1 | ( | ) |
References Mapping::debug.
|
virtual |
Reimplemented from Mapping.
References Overture::abort(), and basicInverseS().
|
virtual |
Reimplemented from Mapping.
References Overture::abort(), assert, atan2(), axis1, axis2, axis3, Mapping::base, Mapping::bound, Mapping::computeMap, Mapping::computeMapDerivative, evaluate(), fmod(), Mapping::getIndex(), helicalWire, mappingType, Mapping::periodicShift(), Pi, printF(), r, ra, rp, SQR, twoPi, and unitSquare.
Referenced by basicInverse().
|
protected |
References ListOfMappingRC::addElement(), assert, atan2(), delta, GenericGraphicsInterface::erase(), fabs(), Mapping::functionPeriodic, MappingInformation::graphXInterface, NurbsMapping::interpolate(), Mapping::inverseMapS(), ip, MappingInformation::mappingList, Mapping::mappingName, Mapping::mapS(), max(), min(), NULL, OV_ABORT, Pi, printF(), r, ra, REAL_EPSILON, REAL_MAX, NurbsMapping::rotate(), rp, Mapping::setDomainDimension(), Mapping::setGridDimensions(), Mapping::setIsPeriodic(), Mapping::setName(), SmoothedPolygon::setPolygon(), Mapping::setRangeDimension(), twoPi, SmoothedPolygon::update(), Mapping::update(), NurbsMapping::update(), viewMappings(), and x.
Referenced by update().
|
virtual |
Reimplemented from Mapping.
References className, GenericDataBase::find(), GenericDataBase::get(), Mapping::get(), ip, Mapping::mappingHasChanged(), mappingType, rp, and GenericDataBase::virtualConstructor().
|
inlinevirtual |
void UserDefinedMapping1::getParameters | ( | IntegerArray & | ipar, |
RealArray & | rpar | ||
) | const |
References ip.
Reimplemented from Mapping.
References className, and UserDefinedMapping1().
|
virtual |
Reimplemented from Mapping.
References Overture::abort(), and mapS().
Referenced by UserDefinedMapping1().
|
virtual |
Reimplemented from Mapping.
References Overture::abort(), assert, axis1, axis2, axis3, Mapping::base, bb, blade, Mapping::bound, Mapping::cartesian, Mapping::computeMap, Mapping::computeMapDerivative, MappingParameters::coordinateType, Mapping::cylindrical, delta, filletForTwoCylinders, Mapping::getIndex(), helicalWire, ip, mappingType, StretchMapping::mapS(), NurbsMapping::mapS(), Mapping::mapS(), NULL, OV_ABORT, Pi, printF(), r, ra, RADIUS, rp, s, SQR, twoPi, and unitSquare.
Referenced by map().
UserDefinedMapping1 & UserDefinedMapping1::operator= | ( | const UserDefinedMapping1 & | X0 | ) |
References className, getClassName(), ip, mappingType, Mapping::operator=(), and rp.
|
virtual |
Reimplemented from Mapping.
References className, GenericDataBase::create(), ip, mappingType, GenericDataBase::put(), Mapping::put(), rp, and GenericDataBase::virtualConstructor().
void UserDefinedMapping1::setParameters | ( | const IntegerArray & | ipar, |
const RealArray & | rpar | ||
) |
|
virtual |
Reimplemented from Mapping.
References DialogData::addOptionMenu(), GenericGraphicsInterface::appendToTheDefaultPrompt(), assert, aString, axis1, axis2, axis3, blade, bladeSetup(), Mapping::canDoNothing, MappingInformation::command, MappingInformation::commandOption, Mapping::display(), End, GenericGraphicsInterface::erase(), FALSE, filletForTwoCylinders, Mapping::functionPeriodic, GenericGraphicsInterface::getAnswer(), Mapping::getName(), GI_PLOT_THE_OBJECT_AND_EXIT, GI_TOP_LABEL, MappingInformation::graphXInterface, helicalWire, StretchMapping::hyperbolicTangent, GenericGraphicsInterface::inputString(), MappingInformation::interactive, ip, GenericGraphicsInterface::isGraphicsWindowOpen(), Mapping::mappingHasChanged(), Mapping::mappingName, mappingType, NULL, GenericGraphicsInterface::outputString(), PlotIt::plot(), Mapping::polarSingularity, GenericGraphicsInterface::popGUI(), printF(), GenericGraphicsInterface::pushGUI(), ra, GenericGraphicsInterface::readingFromCommandFile(), MappingInformation::readOneCommand, rp, GraphicsParameters::set(), Mapping::setBasicInverseOption(), Mapping::setBoundaryCondition(), Mapping::setCoordinateEvaluationType(), Mapping::setDomainDimension(), DialogData::setExitCommand(), Mapping::setGridDimensions(), StretchMapping::setHyperbolicTangentParameters(), StretchMapping::setIsNormalized(), Mapping::setIsPeriodic(), DialogData::setOptionMenuColumns(), DialogData::setPushButtons(), Mapping::setRangeDimension(), DialogData::setTextBoxes(), DialogData::setTextLabel(), Mapping::setTypeOfCoordinateSingularity(), DialogData::setWindowTitle(), Mapping::signForJacobian, Mapping::spherical, sPrintF(), sScanF(), Start, GenericGraphicsInterface::stopReadingCommandFile(), TRUE, GenericGraphicsInterface::unAppendTheDefaultPrompt(), unitSquare, and Mapping::update().
|
protected |
Referenced by get(), getClassName(), make(), operator=(), put(), and UserDefinedMapping1().
|
protected |
Referenced by bladeSetup(), get(), mapS(), operator=(), put(), setParameters(), and update().
|
protected |
Referenced by basicInverseS(), get(), mapS(), operator=(), put(), update(), and UserDefinedMapping1().
|
protected |
Referenced by basicInverseS(), bladeSetup(), get(), mapS(), operator=(), put(), setParameters(), and update().