ENH: Force checkMesh to re-read cell centres.

This commit is contained in:
graham
2010-10-13 18:28:50 +01:00
parent d4c16e6c70
commit 138fde4759

View File

@ -91,6 +91,22 @@ int main(int argc, char *argv[])
// Clear mesh before checking
mesh.clearOut();
pointIOField overrideCCs
(
IOobject
(
"cellCentres",
runTime.constant(),
runTime,
IOobject::MUST_READ,
IOobject::NO_WRITE
)
);
Info<< "Read " << overrideCCs.size() << " cell centres" << endl;
mesh.overrideCellCentres(overrideCCs);
// Reconstruct globalMeshData
mesh.globalData();