ENH: surfMesh constructor without AUTO_WRITE, as per polyMesh (#1147)

This commit is contained in:
Mark Olesen
2019-01-18 18:36:09 +01:00
parent 7724d5ccba
commit 8e0bd4bf43
6 changed files with 53 additions and 84 deletions

View File

@ -56,7 +56,6 @@ Foam::surfMeshSample::getOrCreateSurfMesh() const
meshedSurface(), // Create as empty surface
name()
);
ptr->setWriteOption(IOobject::NO_WRITE);
mesh().objectRegistry::store(ptr);
}