Go to the documentation of this file.
21 #ifndef __rotatingAxis_hpp__
22 #define __rotatingAxis_hpp__
FUNCTION_HD real setOmega(real omega)
Set omega.
#define fatalExit
Fatal exit.
FUNCTION_H bool write(dictionary &dict) const
Write to dictionary.
bool rotating_
is rotating
INLINE_FUNCTION_HD bool isRotating() const
Is rotating.
FUNCTION_HD rotatingAxis()=default
Empty constructor.
Interface class for any input stream
real omega_
rotation speed
An axis which rotates around itself at specified speed.
INLINE_FUNCTION_HD realx3 linVelocityPoint(const realx3 &p) const
Linear tangential velocity at point p.
INLINE_FUNCTION_HD realx3 transferPoint(const realx3 p, real dt) const
INLINE_FUNCTION iIstream & operator>>(iIstream &str, AB3History &ab3)
INLINE_FUNCTION_HD real omega() const
Return omega.
INLINE_FUNCTION iOstream & operator<<(iOstream &str, const AB3History &ab3)
FUNCTION_H bool read(const dictionary &dict)
Read from dictionary.
~rotatingAxis()=default
destructor
TypeInfoNV("rotatingAxis")
#define INLINE_FUNCTION_HD
Interface class for any output stream.
rotatingAxis & operator=(const rotatingAxis &)=default
Copy asssignment.
Dictionary holds a set of data entries or sub-dictionaries that are enclosed in a curely braces or ar...