ENH: Function objects - notify when writing results

This commit is contained in:
andy
2013-08-14 11:10:27 +01:00
parent 00800bbc1d
commit 98cc307aec
14 changed files with 47 additions and 26 deletions

View File

@ -98,6 +98,11 @@ void Foam::writeRegisteredObject::write()
);
// Switch off automatic writing to prevent double write
obj.writeOpt() = IOobject::NO_WRITE;
Info<< type() << " " << name_ << " output:" << nl
<< " writing object " << obj.name() << nl
<< endl;
obj.write();
}
else