rotatingAxisMotion Class Reference
Collaboration diagram for rotatingAxisMotion:

Classes

class  Model
 

Public Member Functions

 TypeInfoNV ("rotatingAxisMotion")
 
FUNCTION_H rotatingAxisMotion ()
 
FUNCTION_H rotatingAxisMotion (const dictionary &dict)
 
FUNCTION_H rotatingAxisMotion (const rotatingAxisMotion &)=default
 
 rotatingAxisMotion (rotatingAxisMotion &&)=delete
 
FUNCTION_H rotatingAxisMotionoperator= (const rotatingAxisMotion &)=default
 
rotatingAxisMotionoperator= (rotatingAxisMotion &&)=delete
 
FUNCTION_H ~rotatingAxisMotion ()=default
 
Model getModel (real t)
 
INLINE_FUNCTION_H int32 nameToIndex (const word &name) const
 
INLINE_FUNCTION_H word indexToName (label i) const
 
INLINE_FUNCTION_HD bool isMoving () const
 
INLINE_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< rotatingAxis >
 

Protected Member Functions

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

Protected Attributes

axisVector_HD axis_
 
wordList axisName_
 
label numAxis_ = 0
 

Detailed Description

Definition at line 38 of file rotatingAxisMotion.hpp.

Member Typedef Documentation

◆ axisVector_HD

Definition at line 93 of file rotatingAxisMotion.hpp.

Constructor & Destructor Documentation

◆ rotatingAxisMotion() [1/4]

Definition at line 115 of file rotatingAxisMotion.cpp.

◆ rotatingAxisMotion() [2/4]

rotatingAxisMotion ( const dictionary dict)

Definition at line 119 of file rotatingAxisMotion.cpp.

References fatalExit.

◆ rotatingAxisMotion() [3/4]

◆ rotatingAxisMotion() [4/4]

◆ ~rotatingAxisMotion()

Member Function Documentation

◆ readDictionary()

bool readDictionary ( const dictionary dict)
protected

Definition at line 27 of file rotatingAxisMotion.cpp.

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

Here is the call graph for this function:

◆ writeDictionary()

bool writeDictionary ( dictionary dict) const
protected

Definition at line 91 of file rotatingAxisMotion.cpp.

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

Here is the call graph for this function:

◆ TypeInfoNV()

TypeInfoNV ( "rotatingAxisMotion"  )

◆ operator=() [1/2]

FUNCTION_H rotatingAxisMotion& operator= ( const rotatingAxisMotion )
default

◆ operator=() [2/2]

rotatingAxisMotion& operator= ( rotatingAxisMotion &&  )
delete

◆ getModel()

◆ nameToIndex()

INLINE_FUNCTION_H int32 nameToIndex ( const word name) const
inline

Definition at line 145 of file rotatingAxisMotion.hpp.

References rotatingAxisMotion::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 162 of file rotatingAxisMotion.hpp.

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

Here is the call graph for this function:

◆ isMoving()

INLINE_FUNCTION_HD bool isMoving ( ) const
inline

Definition at line 203 of file rotatingAxisMotion.hpp.

◆ move()

INLINE_FUNCTION_H bool move ( real  t,
real  dt 
)
inline

Definition at line 209 of file rotatingAxisMotion.hpp.

◆ read()

bool read ( iIstream is)

Definition at line 130 of file rotatingAxisMotion.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 151 of file rotatingAxisMotion.cpp.

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

Here is the call graph for this function:

Member Data Documentation

◆ axis_

axisVector_HD axis_
protected

Definition at line 95 of file rotatingAxisMotion.hpp.

Referenced by rotatingAxisMotion::getModel().

◆ axisName_

wordList axisName_
protected

◆ numAxis_

label numAxis_ = 0
protected

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