From d6b247a3b103c1892fdfa5233af221dddad6cb4d Mon Sep 17 00:00:00 2001 From: Mark Olesen Date: Sat, 22 Nov 2008 11:15:20 +0100 Subject: [PATCH] added static data boundBox::greatBox and boundBox::invertedBox - boundBox::invertedBox is useful for initializing our own calculations - NOTE treeBoundBox::greatBox is still in place, since it uses GREAT instead of VGREAT. If this is only historical, we can drop it. --- .../manipulation/checkMesh/checkTopology.C | 4 +- .../reconstructParMesh/reconstructParMesh.C | 8 +-- src/OpenFOAM/meshes/boundBox/boundBox.C | 26 ++++++-- src/OpenFOAM/meshes/boundBox/boundBox.H | 58 +++++++++--------- .../autoHexMeshDriver/autoHexMeshDriver.C | 6 +- .../autoHexMesh/shellSurfaces/shellSurfaces.C | 6 +- src/meshTools/octree/treeBoundBox.C | 15 +++-- src/meshTools/octree/treeBoundBox.H | 3 +- src/meshTools/octree/treeBoundBoxI.H | 59 +++++++++---------- .../distributedTriSurfaceMesh.C | 5 +- src/triSurface/triSurface/triSurface.C | 6 +- 11 files changed, 95 insertions(+), 101 deletions(-) diff --git a/applications/utilities/mesh/manipulation/checkMesh/checkTopology.C b/applications/utilities/mesh/manipulation/checkMesh/checkTopology.C index ac924136e1..2596ae6150 100644 --- a/applications/utilities/mesh/manipulation/checkMesh/checkTopology.C +++ b/applications/utilities/mesh/manipulation/checkMesh/checkTopology.C @@ -109,7 +109,7 @@ Foam::label Foam::checkTopology { Info<< " Number of regions: " << rs.nRegions() << " (OK)." << endl; - + } else { @@ -214,7 +214,7 @@ Foam::label Foam::checkTopology const pointField& pts = pp.points(); const labelList& mp = pp.meshPoints(); - boundBox bb(vector::zero, vector::zero); + boundBox bb; // zero-sized if (returnReduce(mp.size(), sumOp