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

@ -243,7 +243,7 @@ Foam::triSurfaceMesh::triSurfaceMesh(const IOobject& io, const triSurface& s)
{
const pointField& pts = triSurface::points();
bounds() = boundBox(pts);
bounds() = boundBox(pts, false);
}
@ -292,7 +292,7 @@ Foam::triSurfaceMesh::triSurfaceMesh(const IOobject& io)
{
const pointField& pts = triSurface::points();
bounds() = boundBox(pts);
bounds() = boundBox(pts, false);
}
@ -355,7 +355,7 @@ Foam::triSurfaceMesh::triSurfaceMesh
const pointField& pts = triSurface::points();
bounds() = boundBox(pts);
bounds() = boundBox(pts, false);
// Have optional minimum quality for normal calculation
if (dict.readIfPresent("minQuality", minQuality_) && minQuality_ > 0)
@ -463,7 +463,7 @@ void Foam::triSurfaceMesh::movePoints(const pointField& newPoints)
edgeTree_.clear();
triSurface::movePoints(newPoints);
bounds() = boundBox(triSurface::points());
bounds() = boundBox(triSurface::points(), false);
}