Loading...
Searching...
No Matches
setTimeIndex.H File Reference

Go to the source code of this file.

Functions

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

Variables

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

Function Documentation

◆ if()

if ( args. found"sourceTime")

Definition at line 3 of file setTimeIndex.H.

References args, sourceTimeIndex, and sourceTimes.

◆ setTime()

Variable Documentation

◆ sourceTimes

instantList sourceTimes = runTimeSource.times()

Definition at line 1 of file setTimeIndex.H.

Referenced by if(), if(), and setTime().

◆ sourceTimeIndex

label sourceTimeIndex = runTimeSource.timeIndex()

Definition at line 2 of file setTimeIndex.H.

Referenced by if(), and setTime().

◆ else

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

Definition at line 18 of file setTimeIndex.H.