mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: surfaceCheck: use boundBox non-reduce constructor
This commit is contained in:
@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user