vibratingMotion Class Reference
Collaboration diagram for vibratingMotion:

Classes

class  Model
 

Public Member Functions

 TypeInfoNV ("vibratingMotion")
 
FUNCTION_H vibratingMotion ()
 
FUNCTION_H vibratingMotion (const dictionary &dict)
 
FUNCTION_H vibratingMotion (const vibratingMotion &)=default
 
 vibratingMotion (vibratingMotion &&)=delete
 
FUNCTION_H vibratingMotionoperator= (const vibratingMotion &)=default
 
vibratingMotionoperator= (vibratingMotion &&)=delete
 
FUNCTION_H ~vibratingMotion ()=default
 
Model getModel (real t)
 
INLINE_FUNCTION_H int32 nameToIndex (const word &name) const
 
INLINE_FUNCTION_H word indexToName (label i) const
 
INLINE_FUNCTION_H realx3 pointVelocity (label n, const realx3 &p) const
 
INLINE_FUNCTION_H realx3 transferPoint (label n, const realx3 p, real dt) 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< vibrating >
 

Protected Member Functions

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

Protected Attributes

axisVector_HD components_
 
wordList componentName_
 
label numComponents_ = 0
 

Detailed Description

Definition at line 39 of file vibratingMotion.hpp.

Member Typedef Documentation

◆ axisVector_HD

using axisVector_HD = VectorDual<vibrating>
protected

Definition at line 94 of file vibratingMotion.hpp.

Constructor & Destructor Documentation

◆ vibratingMotion() [1/4]

Definition at line 112 of file vibratingMotion.cpp.

◆ vibratingMotion() [2/4]

vibratingMotion ( const dictionary dict)

Definition at line 116 of file vibratingMotion.cpp.

References fatalExit.

◆ vibratingMotion() [3/4]

◆ vibratingMotion() [4/4]

◆ ~vibratingMotion()

Member Function Documentation

◆ readDictionary()

bool readDictionary ( const dictionary dict)
protected

Definition at line 27 of file vibratingMotion.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 88 of file vibratingMotion.cpp.

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

Here is the call graph for this function:

◆ TypeInfoNV()

TypeInfoNV ( "vibratingMotion"  )

◆ operator=() [1/2]

FUNCTION_H vibratingMotion& operator= ( const vibratingMotion )
default

◆ operator=() [2/2]

vibratingMotion& operator= ( vibratingMotion &&  )
delete

◆ getModel()

◆ nameToIndex()

INLINE_FUNCTION_H int32 nameToIndex ( const word name) const
inline

Definition at line 146 of file vibratingMotion.hpp.

References vibratingMotion::componentName_, 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 163 of file vibratingMotion.hpp.

References vibratingMotion::componentName_, pFlow::endl(), fatalErrorInFunction, fatalExit, and vibratingMotion::numComponents_.

Here is the call graph for this function:

◆ pointVelocity()

INLINE_FUNCTION_H realx3 pointVelocity ( label  n,
const realx3 p 
) const
inline

Definition at line 179 of file vibratingMotion.hpp.

References vibratingMotion::components_, VectorDual< T, MemorySpace >::hostVectorAll(), and n.

Here is the call graph for this function:

◆ transferPoint()

INLINE_FUNCTION_H realx3 transferPoint ( label  n,
const realx3  p,
real  dt 
) const
inline

Definition at line 187 of file vibratingMotion.hpp.

References vibratingMotion::components_, VectorDual< T, MemorySpace >::hostVectorAll(), and n.

Here is the call graph for this function:

◆ isMoving()

INLINE_FUNCTION_HD bool isMoving ( ) const
inline

Definition at line 194 of file vibratingMotion.hpp.

◆ move()

INLINE_FUNCTION_H bool move ( real  t,
real  dt 
)
inline

Definition at line 200 of file vibratingMotion.hpp.

◆ read()

bool read ( iIstream is)

Definition at line 127 of file vibratingMotion.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 148 of file vibratingMotion.cpp.

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

Here is the call graph for this function:

Member Data Documentation

◆ components_

◆ componentName_

wordList componentName_
protected

◆ numComponents_

label numComponents_ = 0
protected

Definition at line 100 of file vibratingMotion.hpp.

Referenced by vibratingMotion::getModel(), and vibratingMotion::indexToName().


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