functionObject: Call 'execute' then 'write' from the default 'end' function.
This commit is contained in:
parent
64ec817c9f
commit
ca60658aee
1 changed files with 1 additions and 1 deletions
|
|
@ -122,7 +122,7 @@ const Foam::word& Foam::functionObject::name() const
|
||||||
|
|
||||||
bool Foam::functionObject::end()
|
bool Foam::functionObject::end()
|
||||||
{
|
{
|
||||||
return execute();
|
return execute() && write();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue