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, argList::optionRead(), and sourceTimeIndex.

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
(
sourceTimes,
runTimeTarget.time().userTimeValue()
)
label sourceTimeIndex
Definition: setTimeIndex.H:11
Time runTimeTarget(Time::controlDictName, args)

Definition at line 27 of file setTimeIndex.H.