Time, functionObjectList: Refactored to simplify construction and switching-off functionObjects

This commit is contained in:
Henry Weller
2023-06-06 08:17:52 +01:00
parent 6b1278b544
commit 08544446e8
45 changed files with 205 additions and 309 deletions

View File

@ -215,25 +215,6 @@ Foam::label Foam::functionObjectList::findObjectID(const word& name) const
}
void Foam::functionObjectList::on()
{
execution_ = true;
}
void Foam::functionObjectList::off()
{
// For safety, also force a read() when execution is turned back on
updated_ = execution_ = false;
}
bool Foam::functionObjectList::status() const
{
return execution_;
}
bool Foam::functionObjectList::start()
{
bool ok = read();