fvMesh,dynamicRefineFvMesh: Rename writeObjects -> writeObject for consistency with regIOobject

This commit is contained in:
Henry Weller
2016-08-16 23:40:27 +01:00
parent 14a0a94c01
commit 63010615ae
3 changed files with 10 additions and 10 deletions

View File

@ -1415,7 +1415,7 @@ bool Foam::dynamicRefineFvMesh::writeObject
bool writeOk =
(
dynamicFvMesh::writeObjects(fmt, ver, cmp)
dynamicFvMesh::writeObject(fmt, ver, cmp)
&& meshCutter_.write()
);

View File

@ -856,18 +856,12 @@ void Foam::fvMesh::updateMesh(const mapPolyMesh& mpm)
}
bool Foam::fvMesh::writeObjects
bool Foam::fvMesh::writeObject
(
IOstream::streamFormat fmt,
IOstream::versionNumber ver,
IOstream::compressionType cmp
) const
{
return polyMesh::writeObject(fmt, ver, cmp);
}
bool Foam::fvMesh::write() const
{
bool ok = true;
if (phiPtr_)
@ -875,7 +869,13 @@ bool Foam::fvMesh::write() const
ok = phiPtr_->write();
}
return ok && polyMesh::write();
return ok && polyMesh::writeObject(fmt, ver, cmp);
}
bool Foam::fvMesh::write() const
{
return polyMesh::write();
}

View File

@ -359,7 +359,7 @@ public:
// Write
//- Write the underlying polyMesh and other data
virtual bool writeObjects
virtual bool writeObject
(
IOstream::streamFormat fmt,
IOstream::versionNumber ver,