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 (args.optionFound("sourceTime"))
 
runTimeSource setTime (sourceTimes[sourceTimeIndex], sourceTimeIndex)
 

Variables

instantList sourceTimes = runTimeSource.times()
 
label sourceTimeIndex = runTimeSource.timeIndex()
 
 else
 

Function Documentation

◆ if()

if ( args.  optionFound"sourceTime")

Definition at line 3 of file setTimeIndex.H.

References args, argList::optionRead(), and sourceTimes.

Here is the call graph for this function:

◆ setTime()

runTimeSource setTime ( sourceTimes  [sourceTimeIndex],
sourceTimeIndex   
)

Variable Documentation

◆ sourceTimes

instantList sourceTimes = runTimeSource.times()

Definition at line 1 of file setTimeIndex.H.

Referenced by if().

◆ sourceTimeIndex

label sourceTimeIndex = runTimeSource.timeIndex()

Definition at line 2 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 19 of file setTimeIndex.H.