mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: surfaceRedistributePar: hang in collated. See #686.
This commit is contained in:
@ -240,7 +240,10 @@ int main(int argc, char *argv[])
|
|||||||
if (Pstream::master())
|
if (Pstream::master())
|
||||||
{
|
{
|
||||||
// Actually load the surface
|
// Actually load the surface
|
||||||
|
const bool oldParRun = Pstream::parRun();
|
||||||
|
Pstream::parRun() = false;
|
||||||
triSurfaceMesh surf(io);
|
triSurfaceMesh surf(io);
|
||||||
|
Pstream::parRun() = oldParRun;
|
||||||
s = surf;
|
s = surf;
|
||||||
bbs = List<treeBoundBox>(1, treeBoundBox(boundBox::greatBox));
|
bbs = List<treeBoundBox>(1, treeBoundBox(boundBox::greatBox));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user