fvMesh,dynamicRefineFvMesh: Rename writeObjects -> writeObject for consistency with regIOobject
This commit is contained in:
parent
f61ff85e7c
commit
fb22ab0b5f
3 changed files with 10 additions and 10 deletions
|
|
@ -1415,7 +1415,7 @@ bool Foam::dynamicRefineFvMesh::writeObject
|
||||||
|
|
||||||
bool writeOk =
|
bool writeOk =
|
||||||
(
|
(
|
||||||
dynamicFvMesh::writeObjects(fmt, ver, cmp)
|
dynamicFvMesh::writeObject(fmt, ver, cmp)
|
||||||
&& meshCutter_.write()
|
&& 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::streamFormat fmt,
|
||||||
IOstream::versionNumber ver,
|
IOstream::versionNumber ver,
|
||||||
IOstream::compressionType cmp
|
IOstream::compressionType cmp
|
||||||
) const
|
) const
|
||||||
{
|
|
||||||
return polyMesh::writeObject(fmt, ver, cmp);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
bool Foam::fvMesh::write() const
|
|
||||||
{
|
{
|
||||||
bool ok = true;
|
bool ok = true;
|
||||||
if (phiPtr_)
|
if (phiPtr_)
|
||||||
|
|
@ -875,7 +869,13 @@ bool Foam::fvMesh::write() const
|
||||||
ok = phiPtr_->write();
|
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
|
||||||
|
|
||||||
//- Write the underlying polyMesh and other data
|
//- Write the underlying polyMesh and other data
|
||||||
virtual bool writeObjects
|
virtual bool writeObject
|
||||||
(
|
(
|
||||||
IOstream::streamFormat fmt,
|
IOstream::streamFormat fmt,
|
||||||
IOstream::versionNumber ver,
|
IOstream::versionNumber ver,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue