Go to the documentation of this file.
21 #ifndef __multiRotatingAxisMotion_hpp__
22 #define __multiRotatingAxisMotion_hpp__
69 return axis_[
n].pointTangentialVel(p);
81 return axis_[
n].transferPoint(p, dt);
167 "axis name " << name <<
" does not exist. \n";
186 "out of range access to the list of axes " << i <<
endl<<
215 #endif //__multiRotatingAxisMotion_hpp__
INLINE_FUNCTION_HD realx3 pointVelocity(int32 n, const realx3 &p) const
bool readDictionary(const dictionary &dict)
INLINE_FUNCTION_H void syncViews()
INLINE_FUNCTION_H multiRotatingAxis * getAxisListPtrDevice()
INLINE_FUNCTION_H hostViewType & hostVectorAll()
INLINE_FUNCTION_H word indexToName(label i) const
INLINE_FUNCTION_HD Model & operator=(const Model &)=default
INLINE_FUNCTION_HD int32 numComponents() const
FUNCTION_H bool write(iOstream &os) const
INLINE_FUNCTION_H int32 nameToIndex(const word &name) const
FUNCTION_H ~multiRotatingAxisMotion()=default
deviceViewType1D< multiRotatingAxis > axis_
iOstream & endl(iOstream &os)
VectorDual< int32 > sortedIndex_
INLINE_FUNCTION_H void modifyOnHost()
Kokkos::View< T * > deviceViewType1D
int32 findi(const T &val) const
INLINE_FUNCTION_H deviceViewType & deviceVectorAll()
#define fatalErrorInFunction
INLINE_FUNCTION_HD bool isMoving() const
bool writeDictionary(dictionary &dict) const
FUNCTION_H bool move(real t, real dt)
#define INLINE_FUNCTION_H
TypeInfoNV("multiRotatingAxisMotion")
INLINE_FUNCTION_HD Model(deviceViewType1D< multiRotatingAxis > axis, int32 numAxis)
INLINE_FUNCTION_H multiRotatingAxis * getAxisListPtrHost()
FUNCTION_H bool read(iIstream &is)
FUNCTION_H multiRotatingAxisMotion()
INLINE_FUNCTION_H deviceViewType & deviceVector()
FUNCTION_H multiRotatingAxisMotion & operator=(const multiRotatingAxisMotion &)=default
#define INLINE_FUNCTION_HD
INLINE_FUNCTION_HD realx3 transferPoint(int32 n, const realx3 p, real dt) const
INLINE_FUNCTION_HD realx3 operator()(int32 n, const realx3 &p) const