multiRotatingAxis Class Reference
Inheritance diagram for multiRotatingAxis:
Collaboration diagram for multiRotatingAxis:

Public Member Functions

INLINE_FUNCTION_HD multiRotatingAxis ()
 
FUNCTION_H multiRotatingAxis (multiRotatingAxisMotion *axisMotion)
 
FUNCTION_H multiRotatingAxis (multiRotatingAxisMotion *axisMotion, const dictionary &dict)
 
FUNCTION_HD multiRotatingAxis (const multiRotatingAxis &)=default
 
FUNCTION_HD multiRotatingAxisoperator= (const multiRotatingAxis &)=default
 
INLINE_FUNCTION_HD realx3 pointTangentialVel (const realx3 &p) const
 
INLINE_FUNCTION_HD realx3 transferPoint (const realx3 &p, real dt) const
 
INLINE_FUNCTION_HD bool hasParrent () const
 
INLINE_FUNCTION_HD int32 parentAxisIndex () const
 
INLINE_FUNCTION_H void setAxisList (multiRotatingAxis *axisList)
 
void move (real dt)
 
FUNCTION_H bool read (multiRotatingAxisMotion *axisMotion, const dictionary &dict)
 
FUNCTION_H bool write (const multiRotatingAxisMotion *axisMotion, dictionary &dict) const
 
- Public Member Functions inherited from rotatingAxis
FUNCTION_HD rotatingAxis ()
 Empty constructor. More...
 
FUNCTION_H rotatingAxis (const dictionary &dict)
 Construct from dictionary. More...
 
FUNCTION_HD rotatingAxis (const realx3 &p1, const realx3 &p2, real omega=0.0)
 Construct from components. More...
 
FUNCTION_HD rotatingAxis (const rotatingAxis &)=default
 Copy constructor. More...
 
rotatingAxisoperator= (const rotatingAxis &)=default
 Copy asssignment. More...
 
FUNCTION_HD real setOmega (real omega)
 Set omega. More...
 
INLINE_FUNCTION_HD real omega () const
 Return omega. More...
 
INLINE_FUNCTION_HD bool isRotating () const
 Is rotating. More...
 
INLINE_FUNCTION_HD realx3 linTangentialVelocityPoint (const realx3 &p) const
 Linear tangential velocity at point p. More...
 
FUNCTION_H bool read (const dictionary &dict)
 Read from dictionary. More...
 
FUNCTION_H bool write (dictionary &dict) const
 Write to dictionary. More...
 
FUNCTION_H bool read (iIstream &is)
 Read from input stream is. More...
 
FUNCTION_H bool write (iOstream &os) const
 Write to output stream os. More...
 
- Public Member Functions inherited from timeInterval
INLINE_FUNCTION_HD timeInterval ()
 
INLINE_FUNCTION_HD timeInterval (const timeInterval &)=default
 
INLINE_FUNCTION_HD timeIntervaloperator= (const timeInterval &)=default
 
FUNCTION_H timeInterval (const dictionary &dict)
 
INLINE_FUNCTION_HD ~timeInterval ()=default
 
INLINE_FUNCTION_HD auto startTime () const
 
INLINE_FUNCTION_HD auto endTime () const
 
INLINE_FUNCTION_HD auto time () const
 
INLINE_FUNCTION_HD void setTime (real t)
 
INLINE_FUNCTION_HD bool inTimeRange (real t) const
 
INLINE_FUNCTION_HD bool inTimeRange () const
 
FUNCTION_H bool read (const dictionary &dict)
 
FUNCTION_H bool write (dictionary &dict) const
 
FUNCTION_H bool read (iIstream &is)
 
FUNCTION_H bool write (iOstream &os) const
 
- Public Member Functions inherited from line
 TypeInfoNV ("line")
 
FUNCTION_HD line ()
 
FUNCTION_HD line (const realx3 &lp1, const realx3 &lp2)
 
FUNCTION_H line (const dictionary &dict)
 
FUNCTION_HD line (const line &src)=default
 
FUNCTION_HD line (line &&src)=default
 
FUNCTION_HD lineoperator= (const line &)=default
 
FUNCTION_HD lineoperator= (line &&)=default
 
INLINE_FUNCTION_HD void set (const realx3 &lp1, const realx3 &lp2)
 
INLINE_FUNCTION_HD realx3 point1 () const
 
INLINE_FUNCTION_HD realx3 point2 () const
 
INLINE_FUNCTION_HD realx3 point (real t) const
 
INLINE_FUNCTION_HD real length () const
 
INLINE_FUNCTION_HD realx3 unitVector () const
 
INLINE_FUNCTION_HD realx3 projectPoint (const realx3 &p) const
 
INLINE_FUNCTION_HD real projectNormalizedLength (realx3 p) const
 
FUNCTION_H bool read (const dictionary &dict)
 
FUNCTION_H bool write (dictionary &ditc) const
 
FUNCTION_H bool read (iIstream &is)
 
FUNCTION_H bool write (iOstream &os) const
 

Protected Attributes

multiRotatingAxisaxisList_
 
int32 parentAxisIndex_ = -1
 
- Protected Attributes inherited from rotatingAxis
real omega_ = 0
 rotation speed More...
 
bool rotating_ = false
 is rotating More...
 
- Protected Attributes inherited from timeInterval
real startTime_ = 0
 
real endTime_ = largeValue
 
real time_ =0
 
bool isInInterval_ = true
 
- Protected Attributes inherited from line
realx3 p1_
 
realx3 v21_
 

Detailed Description

Definition at line 36 of file multiRotatingAxis.hpp.

Constructor & Destructor Documentation

◆ multiRotatingAxis() [1/4]

Definition at line 50 of file multiRotatingAxis.hpp.

◆ multiRotatingAxis() [2/4]

Definition at line 27 of file multiRotatingAxis.cpp.

◆ multiRotatingAxis() [3/4]

FUNCTION_H multiRotatingAxis ( multiRotatingAxisMotion axisMotion,
const dictionary dict 
)

Definition at line 36 of file multiRotatingAxis.cpp.

References pFlow::endl(), fatalErrorInFunction, fatalExit, and dictionary::globalName().

Here is the call graph for this function:

◆ multiRotatingAxis() [4/4]

Member Function Documentation

◆ operator=()

FUNCTION_HD multiRotatingAxis& operator= ( const multiRotatingAxis )
default

◆ pointTangentialVel()

INLINE_FUNCTION_HD realx3 pointTangentialVel ( const realx3 p) const
inline

Definition at line 68 of file multiRotatingAxis.hpp.

References multiRotatingAxis::axisList_, rotatingAxis::linTangentialVelocityPoint(), and multiRotatingAxis::parentAxisIndex().

Here is the call graph for this function:

◆ transferPoint()

INLINE_FUNCTION_HD realx3 transferPoint ( const realx3 p,
real  dt 
) const
inline

Definition at line 86 of file multiRotatingAxis.hpp.

References multiRotatingAxis::axisList_, rotatingAxis::isRotating(), multiRotatingAxis::parentAxisIndex_, and rotate().

Referenced by multiRotatingAxis::move().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ hasParrent()

INLINE_FUNCTION_HD bool hasParrent ( ) const
inline

Definition at line 108 of file multiRotatingAxis.hpp.

References multiRotatingAxis::parentAxisIndex_.

Referenced by multiRotatingAxis::move().

Here is the caller graph for this function:

◆ parentAxisIndex()

INLINE_FUNCTION_HD int32 parentAxisIndex ( ) const
inline

Definition at line 114 of file multiRotatingAxis.hpp.

References multiRotatingAxis::parentAxisIndex_.

Referenced by multiRotatingAxis::move(), and multiRotatingAxis::pointTangentialVel().

Here is the caller graph for this function:

◆ setAxisList()

INLINE_FUNCTION_H void setAxisList ( multiRotatingAxis axisList)
inline

Definition at line 121 of file multiRotatingAxis.hpp.

References multiRotatingAxis::axisList_.

◆ move()

◆ read()

FUNCTION_H bool read ( multiRotatingAxisMotion axisMotion,
const dictionary dict 
)

Definition at line 56 of file multiRotatingAxis.cpp.

References dictionary::getValOrSet().

Here is the call graph for this function:

◆ write()

FUNCTION_H bool write ( const multiRotatingAxisMotion axisMotion,
dictionary dict 
) const

Definition at line 80 of file multiRotatingAxis.cpp.

References dictionary::add(), and multiRotatingAxisMotion::indexToName().

Here is the call graph for this function:

Member Data Documentation

◆ axisList_

◆ parentAxisIndex_

int32 parentAxisIndex_ = -1
protected

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