mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: polyTopoChange: override readOpt flag in makeMesh; does not make sense to read when constructing new mesh
This commit is contained in:
@ -3394,11 +3394,13 @@ Foam::autoPtr<Foam::mapPolyMesh> Foam::polyTopoChange::makeMesh
|
||||
// Create the mesh
|
||||
// ~~~~~~~~~~~~~~~
|
||||
|
||||
IOobject noReadIO(io);
|
||||
noReadIO.readOpt() = IOobject::NO_READ;
|
||||
newMeshPtr.reset
|
||||
(
|
||||
new fvMesh
|
||||
(
|
||||
io,
|
||||
noReadIO,
|
||||
xferMove(newPoints),
|
||||
faces_.xfer(),
|
||||
faceOwner_.xfer(),
|
||||
|
||||
Reference in New Issue
Block a user