Overture
Version 25
|
#include <CylinderMapping.h>
Public Attributes | |
real | innerRadius |
real | outerRadius |
real | x0 |
real | y0 |
real | z0 |
real | startAngle |
real | endAngle |
real | startAxis |
real | endAxis |
Public Attributes inherited from Mapping | |
int | computeMap |
int | computeMapDerivative |
int | base |
int | bound |
real | signForJacobian |
ApproximateGlobalInverse * | approximateGlobalInverse |
ExactLocalInverse * | exactLocalInverse |
DistributedInverse * | distributedInverse |
Protected Member Functions | |
int | checkAxes () |
int | updatePeriodVector () |
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 |
CylinderMapping::CylinderMapping | ( | const real & | startAngle = 0. , |
const real & | endAngle = 1. , |
||
const real & | startAxis = -1. , |
||
const real & | endAxis = +1. , |
||
const real & | innerRadius = 1. , |
||
const real & | outerRadius = 1.5 , |
||
const real & | x0 = 0. , |
||
const real & | y0 = 0. , |
||
const real & | z0 = 0. , |
||
const int & | domainDimension = 3 , |
||
const int & | cylAxis1 = axis1 , |
||
const int & | cylAxis2 = axis2 , |
||
const int & | cylAxis3 = axis3 |
||
) |
References axis1, axis2, axis3, Mapping::canInvert, Mapping::domainAxis1Name, Mapping::domainAxis2Name, Mapping::domainAxis3Name, Mapping::domainDimension, End, endAxis, Mapping::inverseIsDistributed, Mapping::mappingHasChanged(), Mapping::mappingName, setAngle(), setAxis(), Mapping::setBasicInverseOption(), Mapping::setBoundaryCondition(), Mapping::setGridDimensions(), Mapping::setName(), setOrientation(), setOrigin(), setRadius(), Start, and startAxis.
Referenced by make().
CylinderMapping::CylinderMapping | ( | const CylinderMapping & | map, |
const CopyType | copyType = DEEP |
||
) |
CylinderMapping::~CylinderMapping | ( | ) |
References Mapping::debug.
|
virtual |
Reimplemented from Mapping.
References atan2(), axis1, axis2, axis3, Mapping::base, Mapping::bound, Mapping::computeMap, Mapping::computeMapDerivative, delta, Mapping::domainDimension, endAngle, endAxis, evaluate(), fmod(), Mapping::getIndex(), Mapping::getIsPeriodic(), innerRadius, outerRadius, Mapping::periodicShift(), Pi, r, SQR, startAngle, startAxis, twoPi, x0, y0, and z0.
|
virtual |
Reimplemented from Mapping.
References atan2(), axis1, axis2, axis3, Mapping::base, Mapping::bound, Mapping::computeMap, Mapping::computeMapDerivative, delta, Mapping::domainDimension, endAngle, endAxis, evaluate(), fmod(), Mapping::getIndex(), Mapping::getIsPeriodic(), innerRadius, outerRadius, Mapping::periodicShift(), Pi, r, SQR, startAngle, startAxis, twoPi, x0, y0, and z0.
|
protected |
|
virtual |
Reimplemented from Mapping.
References Mapping::debug, endAngle, endAxis, GenericDataBase::find(), GenericDataBase::get(), Mapping::get(), innerRadius, Mapping::mappingHasChanged(), outerRadius, startAngle, startAxis, GenericDataBase::virtualConstructor(), x0, y0, and z0.
|
virtual |
Reimplemented from Mapping.
Referenced by operator=().
Reimplemented from Mapping.
References CylinderMapping().
|
virtual |
Reimplemented from Mapping.
References axis1, axis2, axis3, Mapping::base, Mapping::bound, Mapping::cartesian, Mapping::computeMap, Mapping::computeMapDerivative, MappingParameters::coordinateType, Mapping::domainDimension, endAngle, endAxis, Mapping::getIndex(), innerRadius, outerRadius, r, RADIUS, startAngle, startAxis, twoPi, x0, y0, and z0.
Referenced by CylinderMapping().
|
virtual |
Reimplemented from Mapping.
References axis1, axis2, axis3, Mapping::base, Mapping::bound, Mapping::cartesian, Mapping::computeMap, Mapping::computeMapDerivative, MappingParameters::coordinateType, Mapping::domainDimension, endAngle, endAxis, Mapping::getIndex(), innerRadius, outerRadius, r, RADIUS, startAngle, startAxis, twoPi, x0, y0, and z0.
CylinderMapping & CylinderMapping::operator= | ( | const CylinderMapping & | X | ) |
References endAngle, endAxis, getClassName(), innerRadius, Mapping::operator=(), outerRadius, startAngle, startAxis, x0, y0, and z0.
|
virtual |
Reimplemented from Mapping.
References GenericDataBase::create(), endAngle, endAxis, innerRadius, outerRadius, GenericDataBase::put(), Mapping::put(), startAngle, startAxis, GenericDataBase::virtualConstructor(), x0, y0, and z0.
References axis1, End, endAngle, fabs(), Mapping::functionPeriodic, Mapping::notPeriodic, REAL_EPSILON, Mapping::setBoundaryCondition(), Mapping::setIsPeriodic(), Start, and startAngle.
Referenced by CylinderMapping(), and update().
References endAxis, startAxis, and updatePeriodVector().
Referenced by CylinderMapping(), and update().
int CylinderMapping::setOrientation | ( | const int & | cylAxis1 = axis1 , |
const int & | cylAxis2 = axis2 , |
||
const int & | cylAxis3 = axis3 |
||
) |
References checkAxes(), and updatePeriodVector().
Referenced by CylinderMapping(), and update().
Referenced by CylinderMapping(), and update().
References axis3, End, innerRadius, outerRadius, Mapping::polarSingularity, Mapping::setTypeOfCoordinateSingularity(), and Start.
Referenced by CylinderMapping(), and update().
|
virtual |
Reimplemented from Mapping.
References GenericGraphicsInterface::appendToTheDefaultPrompt(), assert, aString, MappingInformation::command, MappingInformation::commandOption, Mapping::display(), Mapping::domainDimension, endAngle, endAxis, GenericGraphicsInterface::erase(), FALSE, GenericGraphicsInterface::getMenuItem(), Mapping::getName(), GI_PLOT_THE_OBJECT_AND_EXIT, GI_TOP_LABEL, MappingInformation::graphXInterface, innerRadius, GenericGraphicsInterface::inputString(), MappingInformation::interactive, Mapping::mappingHasChanged(), Mapping::mappingName, NULL, outerRadius, GenericGraphicsInterface::outputString(), PlotIt::plot(), MappingInformation::readOneCommand, GraphicsParameters::set(), setAngle(), setAxis(), Mapping::setDomainDimension(), setOrientation(), setOrigin(), setRadius(), sPrintF(), sScanF(), startAngle, startAxis, GenericGraphicsInterface::stopReadingCommandFile(), TRUE, GenericGraphicsInterface::unAppendTheDefaultPrompt(), Mapping::update(), x0, y0, and z0.
|
protected |
References axis2, axis3, endAxis, Mapping::setPeriodVector(), and startAxis.
Referenced by setAxis(), and setOrientation().
real CylinderMapping::endAngle |
Referenced by basicInverse(), basicInverseS(), get(), map(), mapS(), operator=(), put(), setAngle(), and update().
real CylinderMapping::endAxis |
Referenced by basicInverse(), basicInverseS(), CylinderMapping(), get(), map(), mapS(), operator=(), put(), setAxis(), update(), and updatePeriodVector().
real CylinderMapping::innerRadius |
Referenced by basicInverse(), basicInverseS(), get(), map(), mapS(), operator=(), put(), setRadius(), and update().
real CylinderMapping::outerRadius |
Referenced by basicInverse(), basicInverseS(), get(), map(), mapS(), operator=(), put(), setRadius(), and update().
real CylinderMapping::startAngle |
Referenced by basicInverse(), basicInverseS(), get(), map(), mapS(), operator=(), put(), setAngle(), and update().
real CylinderMapping::startAxis |
Referenced by basicInverse(), basicInverseS(), CylinderMapping(), get(), map(), mapS(), operator=(), put(), setAxis(), update(), and updatePeriodVector().
real CylinderMapping::x0 |
Referenced by basicInverse(), basicInverseS(), get(), map(), mapS(), operator=(), put(), setOrigin(), and update().
real CylinderMapping::y0 |
Referenced by basicInverse(), basicInverseS(), get(), map(), mapS(), operator=(), put(), setOrigin(), and update().
real CylinderMapping::z0 |
Referenced by basicInverse(), basicInverseS(), get(), map(), mapS(), operator=(), put(), setOrigin(), and update().