diff --git a/src/parallel/distributed/distributedTriSurfaceMesh/distributedTriSurfaceMesh.C b/src/parallel/distributed/distributedTriSurfaceMesh/distributedTriSurfaceMesh.C index ddc60dce48..cd3fc9c059 100644 --- a/src/parallel/distributed/distributedTriSurfaceMesh/distributedTriSurfaceMesh.C +++ b/src/parallel/distributed/distributedTriSurfaceMesh/distributedTriSurfaceMesh.C @@ -1388,27 +1388,6 @@ Foam::distributedTriSurfaceMesh::distributedTriSurfaceMesh(const IOobject& io) ) ) { - if - ( - Pstream::parRun() - && ( - dict_.readOpt() == IOobject::MUST_READ - || dict_.readOpt() == IOobject::MUST_READ_IF_MODIFIED - ) - && ( - regIOobject::fileModificationChecking == timeStampMaster - || regIOobject::fileModificationChecking == inotifyMaster - ) - ) - { - FatalErrorInFunction - << " using 'timeStampMaster' or 'inotifyMaster.'\n" - << " Modify the entry fileModificationChecking\n" - << " in the etc/controlDict.\n" - << " Use 'timeStamp' instead." - << exit(FatalError); - } - read(); reduce(bounds().min(), minOp()); @@ -1471,27 +1450,6 @@ Foam::distributedTriSurfaceMesh::distributedTriSurfaceMesh ) ) { - if - ( - Pstream::parRun() - && ( - dict_.readOpt() == IOobject::MUST_READ - || dict_.readOpt() == IOobject::MUST_READ_IF_MODIFIED - ) - && ( - regIOobject::fileModificationChecking == timeStampMaster - || regIOobject::fileModificationChecking == inotifyMaster - ) - ) - { - FatalErrorInFunction - << " using 'timeStampMaster' or 'inotifyMaster.'\n" - << " Modify the entry fileModificationChecking\n" - << " in the etc/controlDict.\n" - << " Use 'timeStamp' instead." - << exit(FatalError); - } - read(); reduce(bounds().min(), minOp());