Overture
Version 25
|
#include <QuadraticMapping.h>
Public Types | |
enum | QuadraticOption { parabola, hyperbola } |
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 |
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. |
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 |
Static Protected Attributes inherited from Mapping | |
static int | defaultNumberOfGhostPoints =0 |
static int | minimumNumberOfDistributedGhostLines =1 |
QuadraticMapping::QuadraticMapping | ( | ) |
References a, axis1, axis2, c, className, Mapping::mappingHasChanged(), Mapping::mappingName, parabola, quadraticOption, Mapping::setGridDimensions(), Mapping::setName(), and signForHyperbola.
Referenced by make().
QuadraticMapping::QuadraticMapping | ( | const QuadraticMapping & | map, |
const CopyType | copyType = DEEP |
||
) |
QuadraticMapping::~QuadraticMapping | ( | ) |
References Mapping::debug.
int QuadraticMapping::chooseQuadratic | ( | QuadraticOption | option, |
int | rangeDimension = 2 |
||
) |
References assert, quadraticOption, Mapping::setDomainDimension(), and Mapping::setRangeDimension().
|
virtual |
Reimplemented from Mapping.
References a, c, className, Mapping::debug, GenericDataBase::find(), GenericDataBase::get(), Mapping::get(), Mapping::mappingHasChanged(), quadraticOption, signForHyperbola, and GenericDataBase::virtualConstructor().
|
inlinevirtual |
Reimplemented from Mapping.
References className, and QuadraticMapping().
|
virtual |
Reimplemented from Mapping.
References a, axis3, Mapping::base, Mapping::bound, c, Mapping::cartesian, Mapping::computeMap, Mapping::computeMapDerivative, MappingParameters::coordinateType, D, Mapping::domainDimension, Mapping::getIndex(), hyperbola, max(), parabola, quadraticOption, r, Mapping::rangeDimension, REAL_MIN, signForHyperbola, SQRT, and x.
Referenced by QuadraticMapping().
QuadraticMapping & QuadraticMapping::operator= | ( | const QuadraticMapping & | X0 | ) |
References a, c, className, getClassName(), Mapping::operator=(), quadraticOption, and signForHyperbola.
|
virtual |
Reimplemented from Mapping.
References c, className, GenericDataBase::create(), GenericDataBase::put(), Mapping::put(), and GenericDataBase::virtualConstructor().
int QuadraticMapping::setParameters | ( | real | c0x, |
real | c1x, | ||
real | c0y, | ||
real | c1y, | ||
real | a00, | ||
real | a10, | ||
real | a01, | ||
real | a20, | ||
real | a11, | ||
real | a02, | ||
real | signForHyperbola = 1. |
||
) |
References a, c, and signForHyperbola.
|
virtual |
Reimplemented from Mapping.
References a, GenericGraphicsInterface::appendToTheDefaultPrompt(), assert, aString, c, Mapping::checkMapping(), MappingInformation::command, MappingInformation::commandOption, Mapping::display(), Mapping::domainDimension, GenericGraphicsInterface::erase(), FALSE, Mapping::getGrid(), GenericGraphicsInterface::getMenuItem(), Mapping::getName(), GI_PLOT_THE_OBJECT_AND_EXIT, GI_TOP_LABEL, MappingInformation::graphXInterface, Mapping::gridIsValid(), hyperbola, GenericGraphicsInterface::inputString(), MappingInformation::interactive, Mapping::mappingHasChanged(), Mapping::mappingName, NULL, GenericGraphicsInterface::outputString(), parabola, PlotIt::plot(), quadraticOption, MappingInformation::readOneCommand, GraphicsParameters::set(), Mapping::setDomainDimension(), Mapping::setRangeDimension(), sPrintF(), sScanF(), TRUE, GenericGraphicsInterface::unAppendTheDefaultPrompt(), and Mapping::update().
|
protected |
Referenced by get(), map(), operator=(), QuadraticMapping(), setParameters(), and update().
|
protected |
Referenced by get(), map(), operator=(), QuadraticMapping(), setParameters(), and update().
|
protected |
Referenced by get(), getClassName(), make(), operator=(), put(), and QuadraticMapping().
|
protected |
Referenced by chooseQuadratic(), get(), map(), operator=(), QuadraticMapping(), and update().
|
protected |
Referenced by get(), map(), operator=(), QuadraticMapping(), and setParameters().