STYLE: surfaceCheck: use boundBox non-reduce constructor

This commit is contained in:
mattijs
2014-06-09 11:12:14 +01:00
committed by Andrew Heather
parent a0a830135d
commit 723e5bd75c

View File

@ -31,12 +31,10 @@ Description
#include "triangle.H" #include "triangle.H"
#include "triSurface.H" #include "triSurface.H"
#include "triSurfaceTools.H"
#include "triSurfaceSearch.H" #include "triSurfaceSearch.H"
#include "argList.H" #include "argList.H"
#include "OFstream.H" #include "OFstream.H"
#include "OBJstream.H" #include "OBJstream.H"
#include "surfaceIntersection.H"
#include "SortableList.H" #include "SortableList.H"
#include "PatchTools.H" #include "PatchTools.H"
#include "vtkSurfaceWriter.H" #include "vtkSurfaceWriter.H"
@ -223,7 +221,7 @@ int main(int argc, char *argv[])
// write bounding box corners // write bounding box corners
if (args.optionFound("blockMesh")) if (args.optionFound("blockMesh"))
{ {
pointField cornerPts(boundBox(surf.points()).points()); pointField cornerPts(boundBox(surf.points(), false).points());
Info<<"// blockMeshDict info" << nl Info<<"// blockMeshDict info" << nl
<<"vertices\n(" << nl; <<"vertices\n(" << nl;