All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
setTimeIndex.H File Reference

Go to the source code of this file.

Functions

 if (sourceTimes.empty())
 
 if (args.optionFound("sourceTime"))
 
runTimeSource setTime (sourceTimes[sourceTimeIndex], sourceTimeIndex)
 

Variables

label sourceTimeIndex = runTimeSource.timeIndex()
 
 else
 

Function Documentation

◆ if() [1/2]

if ( sourceTimes.  empty())

Definition at line 4 of file setTimeIndex.H.

References Foam::exit(), Foam::FatalError, FatalErrorInFunction, and runTimeSource().

Here is the call graph for this function:

◆ if() [2/2]

if ( args.  optionFound"sourceTime")

Definition at line 12 of file setTimeIndex.H.

References args, and argList::optionRead().

Here is the call graph for this function:

◆ setTime()

runTimeSource setTime ( sourceTimes  [sourceTimeIndex],
sourceTimeIndex   
)

Variable Documentation

◆ sourceTimeIndex

label sourceTimeIndex = runTimeSource.timeIndex()

Definition at line 11 of file setTimeIndex.H.

◆ else

else
Initial value:
{
sourceTimeIndex = Time::findClosestTimeIndex
(
runTimeTarget.time().value()
)
Time runTimeTarget(Time::controlDictName, args)
instantList sourceTimes
Definition: setTimeIndex.H:1
label sourceTimeIndex
Definition: setTimeIndex.H:2

Definition at line 28 of file setTimeIndex.H.