timeFlowControl Class Reference
Inheritance diagram for timeFlowControl:

Public Member Functions

 timeFlowControl (const dictionary &dict)
 
bool insertionTime (real currentTime, real dt)
 
size_t totalInserted () const
 
bool read (const dictionary &dict)
 
bool write (dictionary &dict) const
 

Protected Member Functions

bool readTimeFlowControl (const dictionary &dict)
 
bool writeTimeFlowControl (dictionary &dict) const
 
size_t numberToBeInserted (real currentTime)
 
size_t addToNumInserted (size_t newInserted)
 

Protected Attributes

real startTime_
 
real endTime_
 
real interval_
 
real rate_
 
size_t numInserted_ = 0
 

Detailed Description

Definition at line 32 of file timeFlowControl.hpp.

Constructor & Destructor Documentation

◆ timeFlowControl()

timeFlowControl ( const dictionary dict)

Definition at line 52 of file timeFlowControl.cpp.

References fatalExit.

Member Function Documentation

◆ readTimeFlowControl()

bool readTimeFlowControl ( const dictionary dict)
protected

Definition at line 25 of file timeFlowControl.cpp.

References dictionary::getVal().

Referenced by timeFlowControl::read().

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

◆ writeTimeFlowControl()

bool writeTimeFlowControl ( dictionary dict) const
protected

Definition at line 38 of file timeFlowControl.cpp.

References dictionary::add().

Referenced by timeFlowControl::write().

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

◆ numberToBeInserted()

size_t numberToBeInserted ( real  currentTime)
inlineprotected

◆ addToNumInserted()

size_t addToNumInserted ( size_t  newInserted)
inlineprotected

Definition at line 58 of file timeFlowControl.hpp.

References timeFlowControl::numInserted_.

◆ insertionTime()

bool insertionTime ( real  currentTime,
real  dt 
)
inline

Definition at line 69 of file timeFlowControl.hpp.

References pFlow::abs(), timeFlowControl::endTime_, timeFlowControl::interval_, pFlow::mod(), and timeFlowControl::startTime_.

Here is the call graph for this function:

◆ totalInserted()

size_t totalInserted ( ) const
inline

Definition at line 79 of file timeFlowControl.hpp.

References timeFlowControl::numInserted_.

◆ read()

bool read ( const dictionary dict)
inline

Definition at line 84 of file timeFlowControl.hpp.

References timeFlowControl::readTimeFlowControl().

Referenced by insertionRegion::read().

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

◆ write()

bool write ( dictionary dict) const
inline

Definition at line 89 of file timeFlowControl.hpp.

References timeFlowControl::writeTimeFlowControl().

Referenced by insertionRegion::write().

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

Member Data Documentation

◆ startTime_

real startTime_
protected

◆ endTime_

real endTime_
protected

◆ interval_

real interval_
protected

◆ rate_

real rate_
protected

Definition at line 42 of file timeFlowControl.hpp.

Referenced by timeFlowControl::numberToBeInserted().

◆ numInserted_

size_t numInserted_ = 0
protected

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