BUG: triSurfaceMesh: operate non-parallel so not do a reduction of points

Also redistributePar:
- recognise going from undecomposed to many
- read on master only
This commit is contained in:
mattijs
2015-12-14 09:36:52 +00:00
parent 5c73c0a028
commit ca834a93c8
3 changed files with 48 additions and 80 deletions

View File

@ -2376,10 +2376,8 @@ void Foam::distributedTriSurfaceMesh::distribute
clearOut();
// Set the bounds() value to the boundBox of the undecomposed surface
triSurfaceMesh::bounds() = boundBox(points());
bounds() = boundBox(points(), true);
reduce(bounds().min(), minOp<point>());
reduce(bounds().max(), maxOp<point>());
// Regions stays same
// Volume type stays same.