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 64ec817c9f
commit ca60658aee

View File

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