ENH: creating a bounding box without points yields an inverted box
- The code create a box with a (0,0,0) point. The new definition is more logical and makes it very easy to grow the bounding box to include new points. It also simplifies much of the logic in the constructors. - Use ROOTVGREAT instead of VGREAT for sizing greatBox and invertedBox. Avoids some overflow issues reported by Mattijs (thus GREAT has been used in treeBoundBox), but might still need further revision.
Showing
- applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/backgroundMeshDecomposition/backgroundMeshDecomposition.C 1 addition, 1 deletion...backgroundMeshDecomposition/backgroundMeshDecomposition.C
- src/OpenFOAM/meshes/boundBox/boundBox.C 27 additions, 51 deletionssrc/OpenFOAM/meshes/boundBox/boundBox.C
- src/OpenFOAM/meshes/boundBox/boundBox.H 11 additions, 9 deletionssrc/OpenFOAM/meshes/boundBox/boundBox.H
- src/OpenFOAM/meshes/boundBox/boundBoxI.H 9 additions, 2 deletionssrc/OpenFOAM/meshes/boundBox/boundBoxI.H
- src/OpenFOAM/meshes/boundBox/boundBoxTemplates.C 3 additions, 17 deletionssrc/OpenFOAM/meshes/boundBox/boundBoxTemplates.C
- src/OpenFOAM/meshes/treeBoundBox/treeBoundBox.C 0 additions, 12 deletionssrc/OpenFOAM/meshes/treeBoundBox/treeBoundBox.C
- src/OpenFOAM/meshes/treeBoundBox/treeBoundBox.H 5 additions, 6 deletionssrc/OpenFOAM/meshes/treeBoundBox/treeBoundBox.H
- src/parallel/distributed/distributedTriSurfaceMesh/distributedTriSurfaceMesh.C 2 additions, 2 deletions...ted/distributedTriSurfaceMesh/distributedTriSurfaceMesh.C
- src/sampling/probes/patchProbes.C 1 addition, 1 deletionsrc/sampling/probes/patchProbes.C
- src/sampling/sampledSet/patchCloud/patchCloudSet.C 1 addition, 1 deletionsrc/sampling/sampledSet/patchCloud/patchCloudSet.C
Please register or sign in to comment