functionObject: Call 'execute' then 'write' from the default 'end' function.

This commit is contained in:
Henry Weller
2016-05-17 22:56:47 +01:00
parent 76caf29e0b
commit 195b73e0f7

View File

@ -122,7 +122,7 @@ const Foam::word& Foam::functionObject::name() const
bool Foam::functionObject::end()
{
return execute();
return execute() && write();
}