Overture  Version 25
Public Types | Public Member Functions | Public Attributes | List of all members
FilamentMapping Class Reference

#include <FilamentMapping.h>

Inheritance diagram for FilamentMapping:
Inheritance graph
[legend]
Collaboration diagram for FilamentMapping:
Collaboration graph
[legend]

Public Types

enum  FilamentType { OPEN_FILAMENT, CLOSED_FILAMENT, USER_DEFINED_CURVE_FILAMENT }
 
enum  FilamentBoundaryType { THICK_FILAMENT_BOUNDARY, ONE_SIDED_FILAMENT_BOUNDARY, THIN_TWO_SIDED_FILAMENT_BOUNDARY }
 
enum  BoundaryMotionType { NO_MOTION, RIGID_BODY_MOTION, TRAVELING_WAVE_MOTION, TRANSLATING_MOTION }
 
- 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
 

Public Member Functions

 FilamentMapping (int nFilamentPoints=17, int nEndPoints=7, real thickness=0.04, real endRadius=0.02)
 
 ~FilamentMapping ()
 
 FilamentMapping (const FilamentMapping &, const CopyType copyType=DEEP)
 
FilamentMappingoperator= (const FilamentMapping &xmap00)
 
void map (const realArray &r, realArray &x, realArray &xr=Overture::nullRealDistributedArray(), MappingParameters &params=Overture::nullMappingParameters())
 
void basicInverse (const realArray &x, realArray &r, realArray &rx, MappingParameters &params)
 
virtual int get (const GenericDataBase &dir, const aString &name)
 
virtual int put (GenericDataBase &dir, const aString &name) const
 
Mappingmake (const aString &mappingClassName)
 
aString getClassName () const
 
int update (MappingInformation &mapInfo)
 
void replaceHyperbolicMapping (HyperbolicMapping *pNewHyper)
 
void evaluateAtTime (real time00)
 
void evaluateSurfaceAtTime (real time0, SplineMapping *curvePosition)
 
void evaluateCenterLineAtTime (real time00)
 
void getVelocity (realArray &x_t, realArray &xr_t)
 
void getAcceleration (realArray &x_tt, realArray &xr_tt)
 
void getCorePoints (realArray &x00)
 
void getCoreDerivative (realArray &xr00)
 
void setupTimeDerivatives (realArray &x_t, realArray &x_tt, realArray &xr, realArray &xr_t, realArray &xr_tt)
 
void getSurfacePoints (realArray &xSurface)
 
void getSurfaceVelocity (realArray &coreVelocity, realArray &surfaceVelocity)
 
void getSurfaceAcceleration (realArray &coreAcceleration, realArray &surfaceAcceleration)
 
void regenerateBodyFittedMapping ()
 
void copyBodyFittedMapping (HyperbolicMapping &copyMap, aString *pMappingRename=NULL)
 
void setOffset (real xOffset=0., real yOffset=0.)
 
void setLength (real length00)
 
void setTravelingWaveParameters (real length00=1., real aParam00=0.1, real bParam00=0.05, real omega00=1.2, real knum00=1.2)
 
void setTranslatingMotionParameters (real tangX, real tangY, real velo)
 
void getTranslatingMotionParameters (real &tangX, real &tangY, real &velo)
 
void setFilamentTime (real newTime)
 
void setFilamentTimeOffset (real newTime)
 
void setThicknessAndEndRadius (real thick00, real endRadius00)
 
void setNumberOfFilamentPoints (int nFilamentPoints00, int nSplinePoints)
 
void setNumberOfFilamentPoints (int nFilamentPoints00)
 
int getNumberOfFilamentPoints ()
 
void setNumberOfEndPoints (int nEndPoints00=5)
 
void setNumberOfThickSplinePoints (int nThickFilamPts)
 
void setNumberOfThickSplinePoints ()
 
int getNumberOfThickFilamentPoints ()
 
int getDefaultNumberOfThickFilamentPoints (int nFilam, int nEnd)
 
void setMotionType (BoundaryMotionType motionType00)
 
void setFilamentType (FilamentType filamentType00)
 
void setFilamentBoundaryType (FilamentBoundaryType filamBdryType00)
 
void setHyperbolicMappingParameters (real distanceToMarch00=0.3, real dissipation00=0.2)
 
void setHyperbolicGridDimensions (int gridDimension1_, int gridDimension2_, int gridGenDimension1_, int gridGenDimension2_)
 
void setHyperbolicGridInfo ()
 
void getHyperbolicGridInfo ()
 
HyperbolicMappinggetHyperbolicMappingPointer ()
 
void releaseHyperbolicMappingPointer (HyperbolicMapping *&pHyp00)
 
void regenerateBodyFittedMapping (HyperbolicMapping *pHyper)
 
void setFilamentStorageNeedsUpdate ()
 
MappinggetSurfaceForHyperbolicMap ()
 
void constructor (int nFilamentPoints00, real thickness00, real endRadius00)
 
void setDefaultHyperbolicParameters ()
 
void initializeFilamentStorage ()
 
void initializeBodyFittedMapping (Mapping *pSurface)
 
void initializeBodyFittedMapping ()
 
bool updateFilamentAndGrid ()
 
void formNormalizedParametrization (realArray &r00)
 
void formChebyshevParametrization (realArray &r00)
 
void getParametrization (realArray &r00)
 
void computeGeometricData ()
 
void computeThickFilament ()
 
void setCenterLineMapping (Mapping *pMapping)
 
void displayParameters ()
 
void useStretching (StretchMapping::StretchingType st=StretchMapping::inverseHyperbolicTangent, int numberOfLayers=2, bool stretchFlag=true)
 
void getStretchingParameters (int i, real &a, real &b, real &c)
 
void setStretchingParameters (int i, real a, real b, real c)
 
int getLeadingEndNumberOfPoints ()
 
void setLeadingEndNumberOfPoints (int jj)
 
int getTrailingEndNumberOfPoints ()
 
void setTrailingEndNumberOfPoints (int jj)
 
void setEndPointScaling (real leadingXtra, real trailingXtra)
 
void updateNumberOfEndPoints ()
 
void computeDrFlatSmoothSpacing (real dr00, real sr00, real thickness00, real xtraScaling, int &numberOfEndPoints)
 
void computeFlatSmoothSpacing (real endSpacing, real thickness00, real xtraScaling, int &numberOfEndPoints)
 
void computeUserDefinedCenterLineFilament (real t, realArray &r, realArray &x, realArray &xr)
 
void computeTranslatingMotionOffset (real time00, real xOffset00, real yOffset00, real &xNew, real &yNew, real &xNew_t, real &yNew_t, real &xNew_tt, real &yNew_tt)
 
void computeTravelingWaveFilament (real t, realArray &r, realArray &x, realArray &xr)
 
void computeTravelingWaveFilament (real t, realArray &r, realArray &x, realArray &xr, real xOffset00, real yOffset00)
 
void computeTravelingWaveFilamentTimeDerivatives (real tcomp, realArray &r00, realArray &x00, realArray &xr00, realArray &x_t, realArray &x_tt, realArray &xr_t, realArray &xr_tt, const real xOffset00=0., const real yOffset00=0., const real xOffset_t=0., const real yOffset_t=0., const real xOffset_tt=0., const real yOffset_tt=0.)
 
void computeCurveFrameTimeDerivatives (realArray &xr00, realArray &xr_t, realArray &xr_tt, realArray &n_t, realArray &s_t, realArray &n_tt, realArray &s_tt)
 
void computeCircularFilament (real tcomp, realArray &r00, realArray &x00, realArray &xr00, real xOffset00=0., real yOffset00=0.)
 
void getPerpendicular (const realArray &x, realArray &out)
 
void dotProduct (const realArray &x, const realArray &y, realArray &out)
 
void printHyperbolicDimensions ()
 
void saveCurve (const realArray &curve, const aString &filename)
 
- Public Member Functions inherited from Mapping
 Mapping (int domainDimension=3, int rangeDimension=3, mappingSpace domainSpace=parameterSpace, mappingSpace rangeSpace=cartesianSpace, coordinateSystem domainCoordinateSystem=cartesian, coordinateSystem rangeCoordinateSystem=cartesian)
 
 Mapping (const Mapping &, const CopyType copyType=DEEP)
 
Mappingoperator= (const Mapping &X)
 
virtual ~Mapping ()
 
void reference (const Mapping &map)
 
void breakReference ()
 
virtual void inverseMap (const realArray &x, realArray &r, realArray &rx=Overture::nullRealDistributedArray(), MappingParameters &params=Overture::nullMappingParameters())
 
virtual void mapC (const realArray &r, const realArray &x, const realArray &xr=Overture::nullRealDistributedArray(), MappingParameters &params=Overture::nullMappingParameters())
 
virtual void inverseMapC (const realArray &x, const realArray &r, const realArray &rx=Overture::nullRealDistributedArray(), MappingParameters &params=Overture::nullMappingParameters())
 
virtual void mapGrid (const realArray &r, realArray &x, realArray &xr=Overture::nullRealDistributedArray(), MappingParameters &params=Overture::nullMappingParameters())
 
virtual int intersects (Mapping &map2, const int &side1=-1, const int &axis1=-1, const int &side2=-1, const int &axis2=-1, const real &tol=0.) const
 
virtual void inverseMapGrid (const realArray &x, realArray &r, realArray &rx=Overture::nullRealDistributedArray(), MappingParameters &params=Overture::nullMappingParameters())
 
virtual void mapS (const RealArray &r, RealArray &x, RealArray &xr=Overture::nullRealArray(), MappingParameters &params=Overture::nullMappingParameters())
 
virtual void inverseMapS (const RealArray &x, RealArray &r, RealArray &rx=Overture::nullRealArray(), MappingParameters &params=Overture::nullMappingParameters())
 
virtual void basicInverseS (const RealArray &x, RealArray &r, RealArray &rx=Overture::nullRealArray(), MappingParameters &params=Overture::nullMappingParameters())
 
virtual void mapCS (const RealArray &r, const RealArray &x, const RealArray &xr=Overture::nullRealArray(), MappingParameters &params=Overture::nullMappingParameters())
 
virtual void inverseMapCS (const RealArray &x, const RealArray &r, const RealArray &rx=Overture::nullRealArray(), MappingParameters &params=Overture::nullMappingParameters())
 
virtual void mapGridS (const RealArray &r, RealArray &x, RealArray &xr=Overture::nullRealArray(), MappingParameters &params=Overture::nullMappingParameters())
 
virtual void inverseMapGridS (const RealArray &x, RealArray &r, RealArray &rx=Overture::nullRealArray(), MappingParameters &params=Overture::nullMappingParameters())
 
virtual int projectS (RealArray &x, MappingProjectionParameters &mpParams)
 
virtual real sizeOf (FILE *file=NULL) const
 
virtual bool updateWithCommand (MappingInformation &mapInfo, const aString &command)
 
virtual int interactiveUpdate (GenericGraphicsInterface &gi)
 
virtual int project (realArray &x, MappingProjectionParameters &mpParams)
 
virtual void display (const aString &label=blankString) const
 
int checkMapping ()
 
void reinitialize ()
 
int determineResolution (int numberOfGridPoints[], bool collapsedEdge[2][3], real averageArclength[], real elementDensityTolerance=.05)
 
void secondOrderDerivative (const Index &I, const realArray &r, realArray &xrr, const int axis, const int &rAxis)
 
int findNearestGridPoint (RealArray &x, RealArray &r, RealArray &dista, RealArray &xa)
 Find the nearest grid point to each of a given set of points x(i,.)
 
real getArcLength ()
 
basicInverseOptions getBasicInverseOption () const
 
int getBoundaryCondition (const int side, const int axis) const
 
virtual RealArray getBoundingBox (const int &side=-1, const int &axis=-1) const
 
virtual int getBoundingBox (const IntegerArray &indexRange, const IntegerArray &gridIndexRange, RealArray &xBounds, bool local=false) const
 
virtual int getBoundingBox (const RealArray &rBounds, RealArray &xBounds) const
 
const BoundingBoxgetBoundingBoxTree (const int &side, const int &axis) const
 
int getCoordinateEvaluationType (const coordinateSystem type) const
 
Bound getDomainBound (const int side, const int axis) const
 
int getDomainDimension () const
 
coordinateSystem getDomainCoordinateSystem () const
 
Bound getDomainCoordinateSystemBound (const int side, const int axis) const
 
mappingSpace getDomainSpace () const
 
int getGridDimensions (const int axis) const
 
virtual const realArraygetGrid (MappingParameters &params=Overture::nullMappingParameters(), bool includeGhost=false)
 
virtual const RealArraygetGridSerial (MappingParameters &params=Overture::nullMappingParameters(), bool includeGhost=false)
 
int getID () const
 
int getInvertible () const
 
periodicType getIsPeriodic (const int axis) const
 
mappingCoordinateSystem getMappingCoordinateSystem () const
 
aString getName (const mappingItemName item) const
 
int getGridIndexRange (int side, int axis)
 
int getNumberOfGhostPoints (int side, int axis)
 
real getParameter (const MappingParameters::realParameter &param) const
 
int getParameter (const MappingParameters::intParameter &param) const
 
real getPeriodVector (const int axis, const int direction) const
 
Bound getRangeBound (const int side, const int axis) const
 
coordinateSystem getRangeCoordinateSystem () const
 
Bound getRangeCoordinateSystemBound (const int side, const int axis) const
 
int getRangeDimension () const
 
mappingSpace getRangeSpace () const
 
int getShare (const int side, const int axis) const
 
real getSignForJacobian () const
 
topologyEnum getTopology (const int side, const int axis) const
 
coordinateSingularity getTypeOfCoordinateSingularity (const int side, const int axis) const
 
bool gridIsValid () const
 
int hasACoordinateSingularity () const
 
intArray & topologyMask ()
 
void setArcLength (real length)
 
virtual void setBasicInverseOption (const basicInverseOptions option)
 
virtual void setBoundaryCondition (const int side, const int axis, const int bc)
 
virtual void setCoordinateEvaluationType (const coordinateSystem type, const int trueOrFalse)
 
virtual void setDomainBound (const int side, const int axis, const Bound domainBound)
 
virtual void setDomainCoordinateSystem (const coordinateSystem domainCoordinateSystem)
 
virtual void setDomainCoordinateSystemBound (const int side, const int axis, const Bound domainCoordinateSystemBound)
 
virtual void setDomainDimension (const int domainDimension)
 
virtual void setDomainSpace (const mappingSpace domainSpace)
 
virtual void setGrid (realArray &grid, IntegerArray &gridIndexRange)
 
virtual void setGridDimensions (const int axis, const int dim)
 
virtual void setInvertible (const int invertible)
 
void setID ()
 
virtual void setIsPeriodic (const int axis, const periodicType isPeriodic)
 
virtual void setMappingCoordinateSystem (const mappingCoordinateSystem mappingCoordinateSystem0)
 
virtual void setName (const mappingItemName item, const aString &name)
 
void setGridIndexRange (int side, int axis, int num)
 
void setNumberOfGhostPoints (int side, int axis, int numGhost)
 
virtual void setParameter (const MappingParameters::realParameter &param, const real &value)
 
virtual void setParameter (const MappingParameters::intParameter &param, const int &value)
 
void setPartition (Partitioning_Type &partition)
 
virtual void setPeriodVector (const int axis, const int direction, const real periodVectorComponent)
 
virtual void setRangeBound (const int side, const int axis, const Bound rangeBound)
 
virtual void setRangeCoordinateSystem (const coordinateSystem rangeCoordinateSystem)
 
virtual void setRangeCoordinateSystemBound (const int side, const int axis, const Bound rangeCoordinateSystemBound)
 
virtual void setRangeDimension (const int rangeDimension)
 
virtual void setRangeSpace (const mappingSpace rangeSpace)
 
virtual void setShare (const int side, const int axis, const int share)
 
void setSignForJacobian (const real signForJac)
 
virtual void setTopology (const int side, const int axis, const topologyEnum topo)
 
virtual void setTypeOfCoordinateSingularity (const int side, const int axis, const coordinateSingularity)
 
bool usesDistributedInverse () const
 
bool usesDistributedMap () const
 
virtual void useRobustInverse (const bool trueOrFalse=TRUE)
 
bool usingRobustInverse () const
 Return true if the robust inverse is used.
 
virtual int outside (const realArray &x)
 
virtual int setNumberOfGhostLines (IndexRangeType &numberOfGhostLinesNew)
 
void setNumberOfDistributedGhostLines (int numGhost)
 
void periodicShift (realArray &r, const Index &I)
 
Index getIndex (const realArray &r, realArray &x, const realArray &xr, int &base, int &bound, int &computeMap, int &computeMapDerivative)
 
- Public Member Functions inherited from ReferenceCounting
 ReferenceCounting ()
 
 ReferenceCounting (const ReferenceCounting &x, const CopyType ct=DEEP)
 
virtual ~ReferenceCounting ()
 
Integer incrementReferenceCount ()
 
Integer decrementReferenceCount ()
 
Integer getReferenceCount () const
 
Logical uncountedReferencesMayExist ()
 
Integer getGlobalID () const
 
void setGlobalID (int id)
 
virtual void consistencyCheck () const
 

Public Attributes

int nFilamentPoints
 
int nSplinePoints
 
int nThickSplinePoints
 
int nEndPoints
 
real filamentLength
 
real xOffset
 
real yOffset
 
real sXDirection
 
real sYDirection
 
real thickness
 
real endRadius
 
FilamentStretching stretching
 
int debug
 
real timeOffset
 
bool isFilamentInitialized
 
bool geometricDataNeedsUpdate
 
bool bodyFittedMappingNeedsUpdate
 
bool centerLineNeedsUpdate
 
FilamentType filamentType
 
BoundaryMotionType motionType
 
FilamentBoundaryType filamentBoundaryType
 
real aTravelingWaveAmplitude
 
real bTravelingWaveAmplitude
 
real timeFrequencyTravelingWave
 
real spaceFrequencyTravelingWave
 
real timeForFilament
 
real radius
 
real perturbation1
 
real perturbation2
 
int circleMode1
 
int circleMode2
 
real circlePhase1
 
real circlePhase2
 
real xMotionDirection
 
real yMotionDirection
 
real motionVelocity
 
real xOffsetCurrent
 
real yOffsetCurrent
 
real rotationAngleCurrent
 
real rotationSpeed
 
realArray x
 
realArray r
 
realArray sr
 
realArray amplitude
 
realArray dAmplitude
 
MappingpUserDefinedCoreCurve
 
SplineMappingpFilament
 
SplineMappingpThickFilament
 
realArray normalVector
 
realArray tangentVector
 
realArray xFilament
 
realArray x_t
 
realArray x_tt
 
realArray xr
 
realArray xr_t
 
realArray xr_tt
 
realArray normal_t
 
realArray normal_tt
 
realArray tangent_t
 
realArray tangent_tt
 
realArray xTop
 
realArray xBottom
 
realArray xLeadingEnd
 
realArray xTrailingEnd
 
realArray xThickFilament
 
int numberOfDimensions
 
HyperbolicMappingpHyper
 
FilamentDatafilamentData
 
- Public Attributes inherited from Mapping
int computeMap
 
int computeMapDerivative
 
int base
 
int bound
 
real signForJacobian
 
ApproximateGlobalInverseapproximateGlobalInverse
 
ExactLocalInverseexactLocalInverse
 
DistributedInversedistributedInverse
 

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 MappingmakeMapping (const aString &mappingClassName)
 
static MappingLinkedListstaticMapList ()
 
- 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
 
- Protected Attributes inherited from Mapping
int dataBaseID
 
aString className
 
int domainDimension
 
int rangeDimension
 
int bc [2][3]
 
int share [2][3]
 
periodicType isPeriodic [3]
 
real periodVector [3][3]
 
int invertible
 
basicInverseOptions basicInverseOption
 
int periodicityOfSpace
 
coordinateSingularity typeOfCoordinateSingularity [2][3]
 
int coordinateEvaluationType [numberOfCoordinateSystems]
 
IndexRangeType gridIndexRange
 
IndexRangeType numberOfGhostPoints
 
realArray grid
 
bool inverseIsDistributed
 
bool mapIsDistributed
 
int numberOfDistributedGhostLines
 
bool partitionInitialized
 
Partitioning_Type partition
 
mappingSpace domainSpace
 
mappingSpace rangeSpace
 
coordinateSystem domainCoordinateSystem
 
coordinateSystem rangeCoordinateSystem
 
mappingCoordinateSystem mappingCoordinateSystem0
 
Bound domainBound [3][2]
 
Bound rangeBound [3][2]
 
Bound domainCoordinateSystemBound [3][2]
 
Bound rangeCoordinateSystemBound [3][2]
 
topologyEnum topology [3][2]
 
intArray * topologyMaskPointer
 
real arcLength
 
bool remakeGrid
 
bool remakeGridSerial
 
- Static Protected Attributes inherited from Mapping
static int defaultNumberOfGhostPoints =0
 
static int minimumNumberOfDistributedGhostLines =1
 

Member Enumeration Documentation

Enumerator
NO_MOTION 
RIGID_BODY_MOTION 
TRAVELING_WAVE_MOTION 
TRANSLATING_MOTION 
Enumerator
THICK_FILAMENT_BOUNDARY 
ONE_SIDED_FILAMENT_BOUNDARY 
THIN_TWO_SIDED_FILAMENT_BOUNDARY 
Enumerator
OPEN_FILAMENT 
CLOSED_FILAMENT 
USER_DEFINED_CURVE_FILAMENT 

Constructor & Destructor Documentation

FilamentMapping::FilamentMapping ( int  nFilamentPoints = 17,
int  nEndPoints = 7,
real  thickness = 0.04,
real  endRadius = 0.02 
)
FilamentMapping::~FilamentMapping ( )

References debug, DEBUG_PRINT_SUB, and NULL.

FilamentMapping::FilamentMapping ( const FilamentMapping map,
const CopyType  copyType = DEEP 
)

Member Function Documentation

void FilamentMapping::basicInverse ( const realArray x,
realArray r,
realArray rx,
MappingParameters params 
)
virtual

Reimplemented from Mapping.

References debug, DEBUG_PRINT_SUB, and NULL.

void FilamentMapping::computeCircularFilament ( real  tcomp,
realArray r00,
realArray x00,
realArray xr00,
real  xOffset00 = 0.,
real  yOffset00 = 0. 
)

References debug, display(), evaluate(), r, and TRUE.

void FilamentMapping::computeCurveFrameTimeDerivatives ( realArray xr00,
realArray xr_t,
realArray xr_tt,
realArray n_t,
realArray s_t,
realArray n_tt,
realArray s_tt 
)

References pow(), and s.

void FilamentMapping::computeDrFlatSmoothSpacing ( real  dr00,
real  sr00,
real  thickness00,
real  xtraScaling,
int &  numberOfEndPoints 
)
void FilamentMapping::computeFlatSmoothSpacing ( real  endSpacing,
real  thickness00,
real  xtraScaling,
int &  numberOfEndPoints 
)
void FilamentMapping::computeGeometricData ( )
void FilamentMapping::computeThickFilament ( )
void FilamentMapping::computeTranslatingMotionOffset ( real  time00,
real  xOffset00,
real  yOffset00,
real xNew,
real yNew,
real xNew_t,
real yNew_t,
real xNew_tt,
real yNew_tt 
)

References debug, and DEBUG_PRINT_SUB.

void FilamentMapping::computeTravelingWaveFilament ( real  t,
realArray r,
realArray x,
realArray xr 
)
void FilamentMapping::computeTravelingWaveFilament ( real  t,
realArray r,
realArray x,
realArray xr,
real  xOffset00,
real  yOffset00 
)

References debug, and TRUE.

void FilamentMapping::computeTravelingWaveFilamentTimeDerivatives ( real  tcomp,
realArray r00,
realArray x00,
realArray xr00,
realArray x_t,
realArray x_tt,
realArray xr_t,
realArray xr_tt,
const real  xOffset00 = 0.,
const real  yOffset00 = 0.,
const real  xOffset_t = 0.,
const real  yOffset_t = 0.,
const real  xOffset_tt = 0.,
const real  yOffset_tt = 0. 
)

References debug, pow(), and TRUE.

void FilamentMapping::computeUserDefinedCenterLineFilament ( real  t,
realArray r,
realArray x,
realArray xr 
)

References assert, debug, DEBUG_PRINT_SUB, NULL, and TRUE.

void FilamentMapping::constructor ( int  nFilamentPoints00,
real  thickness00,
real  endRadius00 
)
void FilamentMapping::copyBodyFittedMapping ( HyperbolicMapping copyMap,
aString pMappingRename = NULL 
)
void FilamentMapping::displayParameters ( )

References debug, and Mapping::display().

void FilamentMapping::dotProduct ( const realArray x,
const realArray y,
realArray out 
)
void FilamentMapping::evaluateAtTime ( real  time00)

References debug, and TRUE.

void FilamentMapping::evaluateCenterLineAtTime ( real  time00)

References assert, debug, FALSE, r, TRUE, and xr.

void FilamentMapping::evaluateSurfaceAtTime ( real  time0,
SplineMapping curvePosition 
)
void FilamentMapping::formChebyshevParametrization ( realArray r00)
void FilamentMapping::formNormalizedParametrization ( realArray r00)

References debug, and DEBUG_PRINT_SUB.

int FilamentMapping::get ( const GenericDataBase dir,
const aString name 
)
virtual
void FilamentMapping::getAcceleration ( realArray x_tt,
realArray xr_tt 
)
aString FilamentMapping::getClassName ( void  ) const
virtual

Reimplemented from Mapping.

References debug, and DEBUG_PRINT_SUB.

Referenced by operator=().

void FilamentMapping::getCoreDerivative ( realArray xr00)

References xr.

void FilamentMapping::getCorePoints ( realArray x00)
int FilamentMapping::getDefaultNumberOfThickFilamentPoints ( int  nFilam,
int  nEnd 
)
void FilamentMapping::getHyperbolicGridInfo ( )

References axis1, axis2, debug, and DEBUG_PRINT_SUB.

HyperbolicMapping * FilamentMapping::getHyperbolicMappingPointer ( )

References assert, debug, DEBUG_PRINT_SUB, and NULL.

int FilamentMapping::getLeadingEndNumberOfPoints ( )
int FilamentMapping::getNumberOfFilamentPoints ( )
int FilamentMapping::getNumberOfThickFilamentPoints ( )
void FilamentMapping::getParametrization ( realArray r00)
void FilamentMapping::getPerpendicular ( const realArray x,
realArray out 
)
void FilamentMapping::getStretchingParameters ( int  i,
real a,
real b,
real c 
)
void FilamentMapping::getSurfaceAcceleration ( realArray coreAcceleration,
realArray surfaceAcceleration 
)
Mapping * FilamentMapping::getSurfaceForHyperbolicMap ( )

References debug, and NULL.

void FilamentMapping::getSurfacePoints ( realArray xSurface)
void FilamentMapping::getSurfaceVelocity ( realArray coreVelocity,
realArray surfaceVelocity 
)
int FilamentMapping::getTrailingEndNumberOfPoints ( )
void FilamentMapping::getTranslatingMotionParameters ( real tangX,
real tangY,
real velo 
)

References debug, and DEBUG_PRINT_SUB.

void FilamentMapping::getVelocity ( realArray x_t,
realArray xr_t 
)
void FilamentMapping::initializeBodyFittedMapping ( Mapping pSurface)

References assert, debug, DEBUG_PRINT_SUB, and NULL.

void FilamentMapping::initializeBodyFittedMapping ( )

References assert, debug, DEBUG_PRINT_SUB, and NULL.

void FilamentMapping::initializeFilamentStorage ( )

References assert, debug, DEBUG_PRINT_SUB, NULL, r, TRUE, x, and xr.

Mapping * FilamentMapping::make ( const aString mappingClassName)
virtual

Reimplemented from Mapping.

References debug, and DEBUG_PRINT_SUB.

void FilamentMapping::map ( const realArray r,
realArray x,
realArray xr = Overture::nullRealDistributedArray(),
MappingParameters params = Overture::nullMappingParameters() 
)
virtual

Reimplemented from Mapping.

References assert, debug, DEBUG_PRINT_SUB, HyperbolicMapping::map(), and NULL.

FilamentMapping & FilamentMapping::operator= ( const FilamentMapping xmap00)
void FilamentMapping::printHyperbolicDimensions ( )

References axis1, and axis2.

int FilamentMapping::put ( GenericDataBase dir,
const aString name 
) const
virtual
void FilamentMapping::regenerateBodyFittedMapping ( )

References assert, debug, DEBUG_PRINT_SUB, and NULL.

void FilamentMapping::regenerateBodyFittedMapping ( HyperbolicMapping pHyper)
void FilamentMapping::releaseHyperbolicMappingPointer ( HyperbolicMapping *&  pHyp00)

References debug, DEBUG_PRINT_SUB, and NULL.

void FilamentMapping::replaceHyperbolicMapping ( HyperbolicMapping pNewHyper)

References debug, DEBUG_PRINT_SUB, FALSE, and NULL.

void FilamentMapping::saveCurve ( const realArray curve,
const aString filename 
)
void FilamentMapping::setCenterLineMapping ( Mapping pMapping)
void FilamentMapping::setDefaultHyperbolicParameters ( )
void FilamentMapping::setEndPointScaling ( real  leadingXtra,
real  trailingXtra 
)

References assert, debug, DEBUG_PRINT_SUB, and NULL.

void FilamentMapping::setFilamentBoundaryType ( FilamentBoundaryType  filamBdryType00)

References assert, debug, DEBUG_PRINT_SUB, NULL, and TRUE.

void FilamentMapping::setFilamentStorageNeedsUpdate ( )

References assert, and NULL.

void FilamentMapping::setFilamentTime ( real  newTime)

References debug, DEBUG_PRINT_SUB, and TRUE.

void FilamentMapping::setFilamentTimeOffset ( real  newTime)

References debug, DEBUG_PRINT_SUB, and TRUE.

void FilamentMapping::setFilamentType ( FilamentType  filamentType00)

References debug, DEBUG_PRINT_SUB, and TRUE.

void FilamentMapping::setHyperbolicGridDimensions ( int  gridDimension1_,
int  gridDimension2_,
int  gridGenDimension1_,
int  gridGenDimension2_ 
)

References debug, DEBUG_PRINT_SUB, and TRUE.

void FilamentMapping::setHyperbolicGridInfo ( )
void FilamentMapping::setHyperbolicMappingParameters ( real  distanceToMarch00 = 0.3,
real  dissipation00 = 0.2 
)

References TRUE.

void FilamentMapping::setLeadingEndNumberOfPoints ( int  jj)
void FilamentMapping::setLength ( real  length00)

References debug, DEBUG_PRINT_SUB, and TRUE.

void FilamentMapping::setMotionType ( BoundaryMotionType  motionType00)

References debug, DEBUG_PRINT_SUB, and TRUE.

void FilamentMapping::setNumberOfEndPoints ( int  nEndPoints00 = 5)

References debug, and DEBUG_PRINT_SUB.

void FilamentMapping::setNumberOfFilamentPoints ( int  nFilamentPoints00,
int  nSplinePoints 
)

References debug, DEBUG_PRINT_SUB, and TRUE.

void FilamentMapping::setNumberOfFilamentPoints ( int  nFilamentPoints00)

References debug, and DEBUG_PRINT_SUB.

void FilamentMapping::setNumberOfThickSplinePoints ( int  nThickFilamPts)

References axis1, debug, and DEBUG_PRINT_SUB.

void FilamentMapping::setNumberOfThickSplinePoints ( )

References debug, and DEBUG_PRINT_SUB.

void FilamentMapping::setOffset ( real  xOffset = 0.,
real  yOffset = 0. 
)

References debug, DEBUG_PRINT_SUB, and TRUE.

void FilamentMapping::setStretchingParameters ( int  i,
real  a,
real  b,
real  c 
)

References TRUE.

void FilamentMapping::setThicknessAndEndRadius ( real  thick00,
real  endRadius00 
)

References debug, DEBUG_PRINT_SUB, and TRUE.

void FilamentMapping::setTrailingEndNumberOfPoints ( int  jj)
void FilamentMapping::setTranslatingMotionParameters ( real  tangX,
real  tangY,
real  velo 
)

References debug, and DEBUG_PRINT_SUB.

void FilamentMapping::setTravelingWaveParameters ( real  length00 = 1.,
real  aParam00 = 0.1,
real  bParam00 = 0.05,
real  omega00 = 1.2,
real  knum00 = 1.2 
)

References debug, DEBUG_PRINT_SUB, and TRUE.

void FilamentMapping::setupTimeDerivatives ( realArray x_t,
realArray x_tt,
realArray xr,
realArray xr_t,
realArray xr_tt 
)

References xr.

int FilamentMapping::update ( MappingInformation mapInfo)
virtual
bool FilamentMapping::updateFilamentAndGrid ( )

References assert, debug, FALSE, NULL, and TRUE.

void FilamentMapping::updateNumberOfEndPoints ( )
void FilamentMapping::useStretching ( StretchMapping::StretchingType  st = StretchMapping::inverseHyperbolicTangent,
int  numberOfLayers = 2,
bool  stretchFlag = true 
)

Member Data Documentation

realArray FilamentMapping::amplitude

Referenced by operator=().

real FilamentMapping::aTravelingWaveAmplitude

Referenced by operator=().

bool FilamentMapping::bodyFittedMappingNeedsUpdate

Referenced by operator=().

real FilamentMapping::bTravelingWaveAmplitude

Referenced by operator=().

bool FilamentMapping::centerLineNeedsUpdate

Referenced by operator=().

int FilamentMapping::circleMode1

Referenced by operator=().

int FilamentMapping::circleMode2

Referenced by operator=().

real FilamentMapping::circlePhase1

Referenced by operator=().

real FilamentMapping::circlePhase2

Referenced by operator=().

realArray FilamentMapping::dAmplitude

Referenced by operator=().

int FilamentMapping::debug

Referenced by operator=().

real FilamentMapping::endRadius

Referenced by FilamentMapping().

FilamentBoundaryType FilamentMapping::filamentBoundaryType

Referenced by operator=().

FilamentData* FilamentMapping::filamentData

Referenced by operator=().

real FilamentMapping::filamentLength

Referenced by operator=().

FilamentType FilamentMapping::filamentType

Referenced by operator=().

bool FilamentMapping::geometricDataNeedsUpdate

Referenced by operator=().

bool FilamentMapping::isFilamentInitialized

Referenced by operator=().

BoundaryMotionType FilamentMapping::motionType

Referenced by operator=().

real FilamentMapping::motionVelocity

Referenced by operator=().

int FilamentMapping::nEndPoints
int FilamentMapping::nFilamentPoints

Referenced by FilamentMapping(), and operator=().

realArray FilamentMapping::normal_t
realArray FilamentMapping::normal_tt
realArray FilamentMapping::normalVector

Referenced by operator=().

int FilamentMapping::nSplinePoints

Referenced by operator=().

int FilamentMapping::nThickSplinePoints
int FilamentMapping::numberOfDimensions

Referenced by operator=().

real FilamentMapping::perturbation1

Referenced by operator=().

real FilamentMapping::perturbation2

Referenced by operator=().

SplineMapping* FilamentMapping::pFilament

Referenced by operator=().

HyperbolicMapping* FilamentMapping::pHyper

Referenced by operator=().

SplineMapping* FilamentMapping::pThickFilament

Referenced by operator=().

Mapping* FilamentMapping::pUserDefinedCoreCurve

Referenced by operator=().

realArray FilamentMapping::r

Referenced by operator=().

real FilamentMapping::radius

Referenced by operator=().

real FilamentMapping::rotationAngleCurrent

Referenced by operator=().

real FilamentMapping::rotationSpeed

Referenced by operator=().

real FilamentMapping::spaceFrequencyTravelingWave

Referenced by operator=().

realArray FilamentMapping::sr

Referenced by operator=().

FilamentStretching FilamentMapping::stretching
real FilamentMapping::sXDirection
real FilamentMapping::sYDirection
realArray FilamentMapping::tangent_t
realArray FilamentMapping::tangent_tt
realArray FilamentMapping::tangentVector

Referenced by operator=().

real FilamentMapping::thickness

Referenced by FilamentMapping(), and operator=().

real FilamentMapping::timeForFilament

Referenced by operator=().

real FilamentMapping::timeFrequencyTravelingWave

Referenced by operator=().

real FilamentMapping::timeOffset

Referenced by operator=().

realArray FilamentMapping::x

Referenced by operator=().

realArray FilamentMapping::x_t

Referenced by operator=().

realArray FilamentMapping::x_tt

Referenced by operator=().

realArray FilamentMapping::xBottom
realArray FilamentMapping::xFilament

Referenced by operator=().

realArray FilamentMapping::xLeadingEnd
real FilamentMapping::xMotionDirection

Referenced by operator=().

real FilamentMapping::xOffset

Referenced by operator=().

real FilamentMapping::xOffsetCurrent

Referenced by operator=().

realArray FilamentMapping::xr

Referenced by operator=().

realArray FilamentMapping::xr_t

Referenced by operator=().

realArray FilamentMapping::xr_tt

Referenced by operator=().

realArray FilamentMapping::xThickFilament

Referenced by operator=().

realArray FilamentMapping::xTop
realArray FilamentMapping::xTrailingEnd
real FilamentMapping::yMotionDirection

Referenced by operator=().

real FilamentMapping::yOffset

Referenced by operator=().

real FilamentMapping::yOffsetCurrent

Referenced by operator=().


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