mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: polyMesh: remove support for read in cellCentres
This commit is contained in:
@ -91,26 +91,6 @@ int main(int argc, char *argv[])
|
||||
// Clear mesh before checking
|
||||
mesh.clearOut();
|
||||
|
||||
pointIOField overrideCCs
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
"cellCentres",
|
||||
mesh.pointsInstance(),
|
||||
polyMesh::meshSubDir,
|
||||
runTime,
|
||||
IOobject::READ_IF_PRESENT,
|
||||
IOobject::NO_WRITE
|
||||
)
|
||||
);
|
||||
|
||||
if (overrideCCs.headerOk())
|
||||
{
|
||||
Info<< "Read " << overrideCCs.size() << " cell centres" << endl;
|
||||
|
||||
mesh.overrideCellCentres(overrideCCs);
|
||||
}
|
||||
|
||||
// Reconstruct globalMeshData
|
||||
mesh.globalData();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user