mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
fvMesh,dynamicRefineFvMesh: Rename writeObjects -> writeObject for consistency with regIOobject
This commit is contained in:
@ -1415,7 +1415,7 @@ bool Foam::dynamicRefineFvMesh::writeObject
|
||||
|
||||
bool writeOk =
|
||||
(
|
||||
dynamicFvMesh::writeObjects(fmt, ver, cmp)
|
||||
dynamicFvMesh::writeObject(fmt, ver, cmp)
|
||||
&& meshCutter_.write()
|
||||
);
|
||||
|
||||
|
||||
@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user