BUG: distributedTriSurfaceMesh: no need for messing with fileModificationChecking

This commit is contained in:
mattijs
2016-01-28 09:43:06 +00:00
parent 0af509c22d
commit fffb871d71

View File

@ -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(); read();
reduce(bounds().min(), minOp<point>()); reduce(bounds().min(), minOp<point>());
@ -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(); read();
reduce(bounds().min(), minOp<point>()); reduce(bounds().min(), minOp<point>());