MCPcopy Create free account
hub / github.com/OpenFOAM/OpenFOAM-dev / read

Function read

src/OpenFOAM/db/Time/TimeIO.C:422–444  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

420
421
422bool Foam::Time::read()
423{
424 if (controlDict_.regIOobject::read())
425 {
426 readDict();
427
428 if (runTimeModifiable_)
429 {
430 // For IOdictionary the call to regIOobject::read() would have
431 // already updated all the watchIndices via the addWatch but
432 // controlDict_ is an unwatchedIOdictionary so will only have
433 // stored the dependencies as files.
434 fileHandler().addWatches(controlDict_, controlDict_.files());
435 }
436 controlDict_.files().clear();
437
438 return true;
439 }
440 else
441 {
442 return false;
443 }
444}
445
446
447void Foam::Time::readModifiedObjects()

Callers 4

fileMonitor.CFile · 0.50
dimensionSetIO.CFile · 0.50
dimensionedType.CFile · 0.50

Calls 3

fileHandlerFunction · 0.85
readDictFunction · 0.70
clearMethod · 0.45

Tested by

no test coverage detected