multiRotatingAxisMotion Class Reference
Collaboration diagram for multiRotatingAxisMotion:

Classes

class  Model
 

Public Member Functions

 TypeInfoNV ("multiRotatingAxisMotion")
 
FUNCTION_H multiRotatingAxisMotion ()
 
FUNCTION_H multiRotatingAxisMotion (const dictionary &dict)
 
FUNCTION_H multiRotatingAxisMotion (const multiRotatingAxisMotion &)=default
 
 multiRotatingAxisMotion (multiRotatingAxisMotion &&)=delete
 
FUNCTION_H multiRotatingAxisMotionoperator= (const multiRotatingAxisMotion &)=default
 
multiRotatingAxisMotionoperator= (multiRotatingAxisMotion &&)=delete
 
FUNCTION_H ~multiRotatingAxisMotion ()=default
 
Model getModel (real t)
 
INLINE_FUNCTION_H multiRotatingAxisgetAxisListPtrHost ()
 
INLINE_FUNCTION_H multiRotatingAxisgetAxisListPtrDevice ()
 
INLINE_FUNCTION_H int32 nameToIndex (const word &name) const
 
INLINE_FUNCTION_H word indexToName (label i) const
 
INLINE_FUNCTION_HD bool isMoving () const
 
FUNCTION_H bool move (real t, real dt)
 
FUNCTION_H bool read (iIstream &is)
 
FUNCTION_H bool write (iOstream &os) const
 

Protected Types

using axisVector_HD = VectorDual< multiRotatingAxis >
 

Protected Member Functions

bool readDictionary (const dictionary &dict)
 
bool writeDictionary (dictionary &dict) const
 

Protected Attributes

axisVector_HD axis_
 
VectorDual< int32sortedIndex_
 
wordList axisName_
 
label numAxis_ = 0
 

Detailed Description

Definition at line 37 of file multiRotatingAxisMotion.hpp.

Member Typedef Documentation

◆ axisVector_HD

Definition at line 92 of file multiRotatingAxisMotion.hpp.

Constructor & Destructor Documentation

◆ multiRotatingAxisMotion() [1/4]

Definition at line 163 of file multiRotatingAxisMotion.cpp.

◆ multiRotatingAxisMotion() [2/4]

Definition at line 167 of file multiRotatingAxisMotion.cpp.

References fatalExit.

◆ multiRotatingAxisMotion() [3/4]

◆ multiRotatingAxisMotion() [4/4]

◆ ~multiRotatingAxisMotion()

Member Function Documentation

◆ readDictionary()

bool readDictionary ( const dictionary dict)
protected

Definition at line 27 of file multiRotatingAxisMotion.cpp.

References dictionary::dictionaryKeywords(), pFlow::endl(), fatalErrorInFunction, dictionary::getVal(), n, sort(), and dictionary::subDict().

Here is the call graph for this function:

◆ writeDictionary()

bool writeDictionary ( dictionary dict) const
protected

Definition at line 139 of file multiRotatingAxisMotion.cpp.

References dictionary::add(), pFlow::endl(), fatalErrorInFunction, ForAll, and dictionary::subDictOrCreate().

Here is the call graph for this function:

◆ TypeInfoNV()

TypeInfoNV ( "multiRotatingAxisMotion"  )

◆ operator=() [1/2]

◆ operator=() [2/2]

◆ getModel()

◆ getAxisListPtrHost()

INLINE_FUNCTION_H multiRotatingAxis* getAxisListPtrHost ( )
inline

Definition at line 149 of file multiRotatingAxisMotion.hpp.

References multiRotatingAxisMotion::axis_, and VectorDual< T, MemorySpace >::hostVectorAll().

Here is the call graph for this function:

◆ getAxisListPtrDevice()

INLINE_FUNCTION_H multiRotatingAxis* getAxisListPtrDevice ( )
inline

Definition at line 156 of file multiRotatingAxisMotion.hpp.

References multiRotatingAxisMotion::axis_, and VectorDual< T, MemorySpace >::deviceVectorAll().

Referenced by multiRotatingAxisMotion::getModel().

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

◆ nameToIndex()

INLINE_FUNCTION_H int32 nameToIndex ( const word name) const
inline

Definition at line 162 of file multiRotatingAxisMotion.hpp.

References multiRotatingAxisMotion::axisName_, fatalErrorInFunction, fatalExit, and List< T >::findi().

Here is the call graph for this function:

◆ indexToName()

INLINE_FUNCTION_H word indexToName ( label  i) const
inline

Definition at line 179 of file multiRotatingAxisMotion.hpp.

References multiRotatingAxisMotion::axisName_, pFlow::endl(), fatalErrorInFunction, fatalExit, and multiRotatingAxisMotion::numAxis_.

Referenced by multiRotatingAxis::write().

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

◆ isMoving()

INLINE_FUNCTION_HD bool isMoving ( ) const
inline

Definition at line 195 of file multiRotatingAxisMotion.hpp.

◆ move()

FUNCTION_H bool move ( real  t,
real  dt 
)

Definition at line 178 of file multiRotatingAxisMotion.cpp.

◆ read()

bool read ( iIstream is)

Definition at line 198 of file multiRotatingAxisMotion.cpp.

References ioErrorInFile, IOstream::lineNumber(), pFlow::motionModelFile__, IOstream::name(), and dictionary::read().

Here is the call graph for this function:

◆ write()

bool write ( iOstream os) const

Definition at line 219 of file multiRotatingAxisMotion.cpp.

References ioErrorInFile, IOstream::lineNumber(), pFlow::motionModelFile__, IOstream::name(), and dictionary::write().

Here is the call graph for this function:

Member Data Documentation

◆ axis_

◆ sortedIndex_

VectorDual<int32> sortedIndex_
protected

Definition at line 96 of file multiRotatingAxisMotion.hpp.

◆ axisName_

◆ numAxis_

label numAxis_ = 0
protected

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