From fffb871d714c977ee256ee82842fdff54e3fc342 Mon Sep 17 00:00:00 2001 From: mattijs Date: Thu, 28 Jan 2016 09:43:06 +0000 Subject: [PATCH] BUG: distributedTriSurfaceMesh: no need for messing with fileModificationChecking --- .../distributedTriSurfaceMesh.C | 42 ------------------- 1 file changed, 42 deletions(-) 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());