diff --git a/applications/solvers/multiphase/driftFluxFoam/Make/options b/applications/solvers/multiphase/driftFluxFoam/Make/options index af0044841..c66f9de53 100644 --- a/applications/solvers/multiphase/driftFluxFoam/Make/options +++ b/applications/solvers/multiphase/driftFluxFoam/Make/options @@ -22,4 +22,4 @@ EXE_LIBS = \ -lfvOptions \ -lincompressibleTransportModels \ -lturbulenceModels \ - -lcompressibleTurbulenceModels \ No newline at end of file + -lcompressibleTurbulenceModels diff --git a/applications/utilities/mesh/generation/foamyHexMesh/Make/options b/applications/utilities/mesh/generation/foamyHexMesh/Make/options index b13ba99ab..de69e9d49 100644 --- a/applications/utilities/mesh/generation/foamyHexMesh/Make/options +++ b/applications/utilities/mesh/generation/foamyHexMesh/Make/options @@ -1,5 +1,4 @@ EXE_DEBUG = -DFULLDEBUG -g -O0 -EXE_FROUNDING_MATH = -frounding-math EXE_NDEBUG = -DNDEBUG CGAL_EXACT = /*-DCGAL_DONT_USE_LAZY_KERNEL*/ diff --git a/applications/utilities/mesh/generation/foamyHexMesh/cellSizeAndAlignmentGrid/Make/options b/applications/utilities/mesh/generation/foamyHexMesh/cellSizeAndAlignmentGrid/Make/options index b7df05f04..8fdd0d8ba 100644 --- a/applications/utilities/mesh/generation/foamyHexMesh/cellSizeAndAlignmentGrid/Make/options +++ b/applications/utilities/mesh/generation/foamyHexMesh/cellSizeAndAlignmentGrid/Make/options @@ -1,5 +1,4 @@ EXE_DEBUG = -DFULLDEBUG -g -O0 -EXE_FROUNDING_MATH = -frounding-math EXE_NDEBUG = -DNDEBUG CGAL_EXACT = /*-DCGAL_DONT_USE_LAZY_KERNEL*/ diff --git a/applications/utilities/mesh/generation/foamyHexMesh/conformalVoronoiMesh/Make/options b/applications/utilities/mesh/generation/foamyHexMesh/conformalVoronoiMesh/Make/options index cd23364bc..5f511f4b6 100644 --- a/applications/utilities/mesh/generation/foamyHexMesh/conformalVoronoiMesh/Make/options +++ b/applications/utilities/mesh/generation/foamyHexMesh/conformalVoronoiMesh/Make/options @@ -1,5 +1,4 @@ EXE_DEBUG = -DFULLDEBUG -g -O0 -EXE_FROUNDING_MATH = -frounding-math EXE_NDEBUG = -DNDEBUG CGAL_EXACT = /*-DCGAL_DONT_USE_LAZY_KERNEL*/ diff --git a/applications/utilities/mesh/generation/foamyHexMesh/conformalVoronoiMesh/backgroundMeshDecomposition/backgroundMeshDecompositionTemplates.C b/applications/utilities/mesh/generation/foamyHexMesh/conformalVoronoiMesh/backgroundMeshDecomposition/backgroundMeshDecompositionTemplates.C index 148de2baf..e49e35f59 100644 --- a/applications/utilities/mesh/generation/foamyHexMesh/conformalVoronoiMesh/backgroundMeshDecomposition/backgroundMeshDecompositionTemplates.C +++ b/applications/utilities/mesh/generation/foamyHexMesh/conformalVoronoiMesh/backgroundMeshDecomposition/backgroundMeshDecompositionTemplates.C @@ -60,7 +60,7 @@ Foam::labelList Foam::backgroundMeshDecomposition::processorPosition forAll(pts, pI) { - const pointFromPoint pt = topoint(pts[pI]); + pointFromPoint pt = topoint(pts[pI]); label nCandidates = 0; @@ -130,7 +130,7 @@ Foam::labelList Foam::backgroundMeshDecomposition::processorPosition if (ptProc[pI] < 0) { - const pointFromPoint pt = topoint(pts[pI]); + pointFromPoint pt = topoint(pts[pI]); if (!globalBackgroundBounds_.contains(pt)) { diff --git a/applications/utilities/mesh/generation/foamyHexMesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMesh.C b/applications/utilities/mesh/generation/foamyHexMesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMesh.C index 6bfb7f306..599a772c0 100644 --- a/applications/utilities/mesh/generation/foamyHexMesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMesh.C +++ b/applications/utilities/mesh/generation/foamyHexMesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMesh.C @@ -607,7 +607,7 @@ void Foam::conformalVoronoiMesh::setVertexSizeAndAlignment() { if (vit->internalOrBoundaryPoint()) { - const pointFromPoint pt = topoint(vit->point()); + pointFromPoint pt = topoint(vit->point()); cellShapeControls().cellSizeAndAlignment ( diff --git a/applications/utilities/mesh/generation/foamyHexMesh/foamyHexMeshBackgroundMesh/Make/options b/applications/utilities/mesh/generation/foamyHexMesh/foamyHexMeshBackgroundMesh/Make/options index c81108dbc..c532c8f0a 100644 --- a/applications/utilities/mesh/generation/foamyHexMesh/foamyHexMeshBackgroundMesh/Make/options +++ b/applications/utilities/mesh/generation/foamyHexMesh/foamyHexMeshBackgroundMesh/Make/options @@ -1,5 +1,4 @@ EXE_DEBUG = -DFULLDEBUG -g -O0 -EXE_FROUNDING_MATH = -frounding-math EXE_NDEBUG = -DNDEBUG include $(GENERAL_RULES)/CGAL diff --git a/applications/utilities/mesh/generation/foamyQuadMesh/Make/options b/applications/utilities/mesh/generation/foamyQuadMesh/Make/options index 75823532e..8b95e5d97 100644 --- a/applications/utilities/mesh/generation/foamyQuadMesh/Make/options +++ b/applications/utilities/mesh/generation/foamyQuadMesh/Make/options @@ -1,5 +1,4 @@ EXE_DEBUG = -DFULLDEBUG -g -O0 -EXE_FROUNDING_MATH = -frounding-math EXE_NDEBUG = -DNDEBUG include $(GENERAL_RULES)/CGAL diff --git a/wmake/rules/linux64Gcc/c++Opt b/wmake/rules/linux64Gcc/c++Opt index a0fae531b..3d451820f 100644 --- a/wmake/rules/linux64Gcc/c++Opt +++ b/wmake/rules/linux64Gcc/c++Opt @@ -1,3 +1,4 @@ c++DBUG = c++OPT = -O3 -# -fprefetch-loop-arrays + +EXE_FROUNDING_MATH = -frounding-math diff --git a/wmake/rules/linux64Gcc45/c++Opt b/wmake/rules/linux64Gcc45/c++Opt index 3446f7f58..3d451820f 100644 --- a/wmake/rules/linux64Gcc45/c++Opt +++ b/wmake/rules/linux64Gcc45/c++Opt @@ -1,4 +1,4 @@ c++DBUG = c++OPT = -O3 -#c++OPT = -march=nocona -O3 -# -ftree-vectorize -ftree-vectorizer-verbose=3 + +EXE_FROUNDING_MATH = -frounding-math diff --git a/wmake/rules/linux64Gcc46/c++Opt b/wmake/rules/linux64Gcc46/c++Opt index 3446f7f58..3d451820f 100644 --- a/wmake/rules/linux64Gcc46/c++Opt +++ b/wmake/rules/linux64Gcc46/c++Opt @@ -1,4 +1,4 @@ c++DBUG = c++OPT = -O3 -#c++OPT = -march=nocona -O3 -# -ftree-vectorize -ftree-vectorizer-verbose=3 + +EXE_FROUNDING_MATH = -frounding-math diff --git a/wmake/rules/linux64Gcc47/c++Opt b/wmake/rules/linux64Gcc47/c++Opt index 2aedabd62..3d451820f 100644 --- a/wmake/rules/linux64Gcc47/c++Opt +++ b/wmake/rules/linux64Gcc47/c++Opt @@ -1,2 +1,4 @@ c++DBUG = c++OPT = -O3 + +EXE_FROUNDING_MATH = -frounding-math diff --git a/wmake/rules/linux64Gcc48/c++Opt b/wmake/rules/linux64Gcc48/c++Opt index 2aedabd62..3d451820f 100644 --- a/wmake/rules/linux64Gcc48/c++Opt +++ b/wmake/rules/linux64Gcc48/c++Opt @@ -1,2 +1,4 @@ c++DBUG = c++OPT = -O3 + +EXE_FROUNDING_MATH = -frounding-math diff --git a/wmake/rules/linux64Gcc49/c++Opt b/wmake/rules/linux64Gcc49/c++Opt index 2aedabd62..3d451820f 100644 --- a/wmake/rules/linux64Gcc49/c++Opt +++ b/wmake/rules/linux64Gcc49/c++Opt @@ -1,2 +1,4 @@ c++DBUG = c++OPT = -O3 + +EXE_FROUNDING_MATH = -frounding-math diff --git a/wmake/rules/linuxARM7Gcc/c++Opt b/wmake/rules/linuxARM7Gcc/c++Opt index a9c0f5123..5b5cb7514 100644 --- a/wmake/rules/linuxARM7Gcc/c++Opt +++ b/wmake/rules/linuxARM7Gcc/c++Opt @@ -1,3 +1,5 @@ c++DBUG = #c++OPT = -O3 -floop-optimize -falign-loops -falign-labels -falign-functions -falign-jumps -fprefetch-loop-arrays -mcpu=cortex-a9 -mfpu=vfpv3-d16 -mfloat-abi=hard c++OPT = -O3 -floop-optimize -falign-loops -falign-labels -falign-functions -falign-jumps -fprefetch-loop-arrays -mcpu=cortex-a9 -mfpu=vfpv3-d16 -mfloat-abi=softfp + +EXE_FROUNDING_MATH = -frounding-math diff --git a/wmake/rules/linuxGcc/c++Opt b/wmake/rules/linuxGcc/c++Opt index 2aedabd62..3d451820f 100644 --- a/wmake/rules/linuxGcc/c++Opt +++ b/wmake/rules/linuxGcc/c++Opt @@ -1,2 +1,4 @@ c++DBUG = c++OPT = -O3 + +EXE_FROUNDING_MATH = -frounding-math diff --git a/wmake/rules/linuxGcc45/c++Opt b/wmake/rules/linuxGcc45/c++Opt index 2aedabd62..3d451820f 100644 --- a/wmake/rules/linuxGcc45/c++Opt +++ b/wmake/rules/linuxGcc45/c++Opt @@ -1,2 +1,4 @@ c++DBUG = c++OPT = -O3 + +EXE_FROUNDING_MATH = -frounding-math diff --git a/wmake/rules/linuxGcc46/c++Opt b/wmake/rules/linuxGcc46/c++Opt index 2aedabd62..3d451820f 100644 --- a/wmake/rules/linuxGcc46/c++Opt +++ b/wmake/rules/linuxGcc46/c++Opt @@ -1,2 +1,4 @@ c++DBUG = c++OPT = -O3 + +EXE_FROUNDING_MATH = -frounding-math diff --git a/wmake/rules/linuxGcc47/c++Opt b/wmake/rules/linuxGcc47/c++Opt index 2aedabd62..3d451820f 100644 --- a/wmake/rules/linuxGcc47/c++Opt +++ b/wmake/rules/linuxGcc47/c++Opt @@ -1,2 +1,4 @@ c++DBUG = c++OPT = -O3 + +EXE_FROUNDING_MATH = -frounding-math diff --git a/wmake/rules/linuxGcc48/c++Opt b/wmake/rules/linuxGcc48/c++Opt index 2aedabd62..3d451820f 100644 --- a/wmake/rules/linuxGcc48/c++Opt +++ b/wmake/rules/linuxGcc48/c++Opt @@ -1,2 +1,4 @@ c++DBUG = c++OPT = -O3 + +EXE_FROUNDING_MATH = -frounding-math diff --git a/wmake/rules/linuxGcc49/c++Opt b/wmake/rules/linuxGcc49/c++Opt index 2aedabd62..3d451820f 100644 --- a/wmake/rules/linuxGcc49/c++Opt +++ b/wmake/rules/linuxGcc49/c++Opt @@ -1,2 +1,4 @@ c++DBUG = c++OPT = -O3 + +EXE_FROUNDING_MATH = -frounding-math diff --git a/wmake/rules/linuxPPC64Gcc/c++Opt b/wmake/rules/linuxPPC64Gcc/c++Opt index 2aedabd62..3d451820f 100644 --- a/wmake/rules/linuxPPC64Gcc/c++Opt +++ b/wmake/rules/linuxPPC64Gcc/c++Opt @@ -1,2 +1,4 @@ c++DBUG = c++OPT = -O3 + +EXE_FROUNDING_MATH = -frounding-math diff --git a/wmake/rules/solaris64Gcc/c++Opt b/wmake/rules/solaris64Gcc/c++Opt index 2aedabd62..3d451820f 100644 --- a/wmake/rules/solaris64Gcc/c++Opt +++ b/wmake/rules/solaris64Gcc/c++Opt @@ -1,2 +1,4 @@ c++DBUG = c++OPT = -O3 + +EXE_FROUNDING_MATH = -frounding-math diff --git a/wmake/rules/solarisGcc/c++Opt b/wmake/rules/solarisGcc/c++Opt index 18428f182..b146ab642 100644 --- a/wmake/rules/solarisGcc/c++Opt +++ b/wmake/rules/solarisGcc/c++Opt @@ -1,2 +1,4 @@ -c++DBUG = -c++OPT = -O3 -fno-schedule-insns +c++DBUG = +c++OPT = -O3 -fno-schedule-insns + +EXE_FROUNDING_MATH = -frounding-math