Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev
This commit is contained in:
commit
80e2cc56c2
@ -74,6 +74,26 @@ const Foam::NamedEnum<Foam::distributedTriSurfaceMesh::distributionType, 3>
|
|||||||
// Read my additional data from the dictionary
|
// Read my additional data from the dictionary
|
||||||
bool Foam::distributedTriSurfaceMesh::read()
|
bool Foam::distributedTriSurfaceMesh::read()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
if
|
||||||
|
(
|
||||||
|
Pstream::parRun()
|
||||||
|
&&
|
||||||
|
(
|
||||||
|
regIOobject::fileModificationChecking == timeStampMaster
|
||||||
|
|| regIOobject::fileModificationChecking == inotifyMaster
|
||||||
|
)
|
||||||
|
)
|
||||||
|
{
|
||||||
|
FatalErrorIn("Foam::distributedTriSurfaceMesh::read()")
|
||||||
|
<< " distributedTriSurfaceMesh is being constructed\n"
|
||||||
|
<< " using 'timeStampMaster' or 'inotifyMaster.'\n"
|
||||||
|
<< " Modify the entry fileModificationChecking\n"
|
||||||
|
<< " in the etc/controlDict.\n"
|
||||||
|
<< " Use 'timeStamp' instead."
|
||||||
|
<< exit(FatalError);
|
||||||
|
}
|
||||||
|
|
||||||
// Get bb of all domains.
|
// Get bb of all domains.
|
||||||
procBb_.setSize(Pstream::nProcs());
|
procBb_.setSize(Pstream::nProcs());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user