|
[Sponsors] |
December 12, 2013, 07:02 |
functionObjectList in Time::run()
|
#1 |
Senior Member
Join Date: Jan 2012
Posts: 166
Rep Power: 14 |
hi,
within the method run() of class Time it can be found: Code:
... if (!running && timeIndex_ != startTimeIndex_) //label timeIndex_; 818* { 819* // Note, end() also calls an indirect start() as required 820* functionObjects_.end(); //functionObjects_ Function objects executed at start and on ++, += //end(): Called when Time::run() determines that the time-loop exits. ... http://foam.sourceforge.net/docs/cpp...ce.html#l00809 Furthermore I know "mutable functionObjectList functionObjects_" is defined first within the intializer list of constructor of class Time for creating object "runTime" with: Code:
functionObjects_(*this, !args.optionFound("noFunctionObjects")) Code:
Foam::functionObjectList::functionObjectList 63 ( 64 const Time& t, 65 const bool execution 66 ) 67 : 68 PtrList<functionObject>(), 69 digests_(), 70 indices_(), 71 time_(t), 72 parentDict_(t.controlDict()), 73 execution_(execution), 74 updated_(false) 75 {} |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|