STYLE: readOnProc/writeOnProc instead of 'valid' for IO

This commit is contained in:
Mark Olesen
2023-03-14 17:39:28 +01:00
parent 188e61af16
commit 475ed5cc32
94 changed files with 415 additions and 383 deletions

View File

@ -4911,14 +4911,14 @@ void Foam::distributedTriSurfaceMesh::distribute
bool Foam::distributedTriSurfaceMesh::writeObject
(
IOstreamOption streamOpt,
const bool valid
const bool writeOnProc
) const
{
if (debug)
{
Pout<< "distributedTriSurfaceMesh::writeObject :"
<< " surface " << searchableSurface::name()
<< " writing surface valid:" << valid << endl;
<< " writing surface:" << writeOnProc << endl;
}
// Make sure dictionary goes to same directory as surface

View File

@ -584,7 +584,7 @@ public:
virtual bool writeObject
(
IOstreamOption streamOpt,
const bool valid
const bool writeOnProc
) const;
//- Is object global