| 420 | |
| 421 | |
| 422 | bool 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 | |
| 447 | void Foam::Time::readModifiedObjects() |
no test coverage detected