mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Function objects - notify when writing results
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user