From 8ac5840737798b67b8f9cfee9de7a98aff1b7cdc Mon Sep 17 00:00:00 2001 From: Henrik Rusche Date: Tue, 11 Aug 2015 11:19:57 +0200 Subject: [PATCH] STYLE: Remove trailing whitespace systematically --- doc/Doxygen/Doxygen.css | 6 +- etc/bashrc.mingw | 4 +- etc/settings.sh | 4 +- .../leastSquaresGrad/leastSquaresVectors.C | 2 +- .../cartesianMeshExtractor.C | 12 +- .../cartesianMeshExtractor.H | 12 +- ...artesianMeshExtractorDecomposeSplitHexes.C | 26 +-- .../boundaryLayersWrapperLayer.C | 16 +- .../extrudeLayer/extrudeLayer.H | 70 ++++---- .../extrudeLayer/extrudeLayerI.H | 32 ++-- .../utilities/containers/DynList/DynList.C | 6 +- .../utilities/containers/FRWGraph/FRWGraphI.H | 10 +- .../containers/IODynList/IODynList.C | 2 +- .../containers/IOLongList/IOLongList.C | 2 +- .../utilities/containers/Lists/cellListPMG.H | 20 +-- .../utilities/containers/Lists/cellListPMGI.H | 10 +- .../utilities/containers/Lists/faceListPMGI.H | 10 +- .../containers/Lists/pointFieldPMGI.H | 8 +- .../utilities/containers/VRWGraph/VRWGraph.C | 14 +- .../containers/VRWGraph/VRWGraphSMPModifier.H | 16 +- .../containers/VRWGraphList/VRWGraphList.C | 4 +- .../containers/VRWGraphList/VRWGraphList.H | 18 +-- .../containers/VRWGraphList/VRWGraphListI.H | 14 +- .../utilities/containers/graphRow/graphRow.H | 16 +- .../utilities/containers/graphRow/graphRowI.H | 2 +- .../utilities/containers/subGraph/subGraph.H | 14 +- .../utilities/containers/subGraph/subGraphI.H | 8 +- .../dataConversion/foamToFPMA/fpmaMesh.C | 32 ++-- .../dataConversion/foamToFPMA/fpmaMesh.H | 4 +- .../dataConversion/foamToFPMA/writeMeshFPMA.H | 2 +- .../faceDecomposition/faceDecomposition.C | 14 +- .../faceDecomposition/faceDecomposition.H | 6 +- .../labelledMeshOctreeCubeCoordinates.H | 38 ++--- .../labelledPoint/labelledPoint.H | 42 ++--- .../labelledPoint/refLabelledPoint.H | 38 ++--- .../labelledPointScalar/labelledPointScalar.H | 48 +++--- .../parallelHelpers/parPartTet/parPartTet.H | 38 ++--- .../sortEdgesIntoChains/sortEdgesIntoChains.H | 28 ++-- .../helperFunctions/helperFunctionsPar.H | 2 +- .../helperFunctionsStringConversion.C | 6 +- .../helperFunctionsStringConversion.H | 6 +- .../partTetMeshParallelAddressing.C | 142 ++++++++-------- .../meshes/partTetMesh/partTetMeshSimplex.C | 16 +- .../meshes/partTetMesh/partTetMeshSimplex.H | 24 +-- .../meshes/partTriMesh/partTriMeshSimplex.C | 8 +- .../meshes/partTriMesh/partTriMeshSimplex.H | 22 +-- .../boundaryPatch/boundaryPatchBase.C | 10 +- .../boundaryPatch/boundaryPatchBase.H | 42 ++--- .../boundaryPatch/processorBoundaryPatch.C | 10 +- .../meshes/polyMeshGen/polyMeshGenFacesI.H | 20 +-- .../meshes/polyMeshGen/polyMeshGenPoints.H | 24 +-- .../meshes/polyMeshGen/polyMeshGenPointsI.H | 16 +- .../polyMeshGenAddressing.H | 44 ++--- .../polyMeshGenModifierAddBufferCells.C | 56 +++---- .../polyMeshGenModifierAddCellByCell.C | 24 +-- .../polyMeshGenModifierAddCellByCell.H | 6 +- .../polyMeshGenModifierZipUpCells.C | 32 ++-- .../meshOctreeAddressing.H | 152 +++++++++--------- .../meshOctreeAddressingI.H | 70 ++++---- .../meshOctreeInsideOutside.H | 38 ++--- .../objectRefinement/boxRefinement.H | 12 +- .../objectRefinement/coneRefinement.C | 22 +-- .../objectRefinement/coneRefinement.H | 12 +- .../objectRefinement/hollowConeRefinement.C | 22 +-- .../objectRefinement/hollowConeRefinement.H | 12 +- .../objectRefinement/lineRefinement.C | 8 +- .../objectRefinement/lineRefinement.H | 12 +- .../objectRefinement/sphereRefinement.C | 10 +- .../objectRefinement/sphereRefinement.H | 12 +- .../knuppMetric/knuppMetric.C | 66 ++++---- .../knuppMetric/knuppMetric.H | 12 +- .../meshUntangler/meshUntangler.C | 26 +-- .../meshUntangler/meshUntangler.H | 40 ++--- .../meshUntanglerCutRegionEdges.C | 22 +-- .../simplexSmoother/simplexSmoother.H | 24 +-- .../checkBoundaryFacesSharingTwoEdges.H | 22 +-- .../checkIrregularSurfaceConnections.C | 26 +-- .../checkIrregularSurfaceConnections.H | 12 +- .../checkNonMappableCellConnections.H | 6 +- .../topologicalCleaner/topologicalCleaner.H | 14 +- .../meshSurfaceCheckInvertedVertices.H | 6 +- .../meshSurfaceEdgeExtractor.H | 10 +- .../meshSurfaceEngineModifier.H | 12 +- .../meshSurfaceMapper/meshSurfaceMapper.C | 4 +- .../meshSurfaceMapper/parMapperHelper.H | 34 ++-- .../renameBoundaryPatches.H | 4 +- .../surfaceMorpherCells/surfaceMorpherCells.H | 18 +-- .../tetCreatorOctree/tetCreatorOctree.C | 20 +-- .../tetCreatorOctree/tetCreatorOctree.H | 44 ++--- .../tetCreatorOctreeFromFacesWithCentreNode.C | 44 ++--- .../tetCreatorOctree/tetCreatorOctreeI.H | 4 +- .../tetCreatorOctreeTetsFromSplitFaces.C | 12 +- .../ship5415Octree/system/meshDict | 8 +- .../cartesianMesh/singleOrifice/readme.txt | 2 +- .../singleOrifice/system/meshDict | 2 +- .../cfMesh/pMesh/bunnyPoly/system/controlDict | 4 +- .../cfMesh/pMesh/bunnyPoly/system/fvSchemes | 4 +- .../cfMesh/pMesh/bunnyPoly/system/fvSolution | 4 +- .../cfMesh/pMesh/multipleOrifices/readme.txt | 2 +- .../pMesh/multipleOrifices/system/controlDict | 4 +- .../pMesh/multipleOrifices/system/fvSchemes | 4 +- .../pMesh/multipleOrifices/system/fvSolution | 4 +- .../pMesh/multipleOrifices/system/meshDict | 8 +- .../tetMesh/cutCubeOctree/system/meshDict | 4 +- 104 files changed, 1036 insertions(+), 1036 deletions(-) diff --git a/doc/Doxygen/Doxygen.css b/doc/Doxygen/Doxygen.css index 40f89d0f1..0cd2e2ce0 100644 --- a/doc/Doxygen/Doxygen.css +++ b/doc/Doxygen/Doxygen.css @@ -4,7 +4,7 @@ body { margin: 0px; font-family: verdana, arial, helvetica, sans-serif; text-decoration: none; - font-size: 12px; + font-size: 12px; } a:link { text-decoration: none; color: #0000ff ; } a:link:hover { text-decoration: none; color: #0000ff ; } @@ -21,7 +21,7 @@ td.leftmenu { text-align: left; font-size: 14px; height: 20px; - width: 200px; + width: 200px; } a.menuTopoff { color: #000000; font-size: 14px; } @@ -33,7 +33,7 @@ td.topmenu { text-align: center; font-size: 16px; width: 150px; - font-weight: bold; + font-weight: bold; } h1 { font-size: 18px; } h2 { font-size: 16px; } diff --git a/etc/bashrc.mingw b/etc/bashrc.mingw index 08f7c9b82..305849ec0 100755 --- a/etc/bashrc.mingw +++ b/etc/bashrc.mingw @@ -39,7 +39,7 @@ export PROGRAMS_HOME=/c/Programs # {{{ DEFINE USER EDITABLE FUNCTIONS set_system_paths() { - echo "Setting environment variables for user-defined installed system tools and utilities ..." + echo "Setting environment variables for user-defined installed system tools and utilities ..." export CMAKE_HOME=$PROGRAMS_HOME/cmake-3.2.3-win32-x86 export GIT_HOME=$PROGRAMS_HOME/Git export MINGW_HOME=$PROGRAMS_HOME/mingw64 @@ -55,7 +55,7 @@ set_system_paths() { add_to_path() { echo - echo "Adding user-defined installed system tools to PATH ..." + echo "Adding user-defined installed system tools to PATH ..." export PATH=$ZIP_HOME:$PATH export PATH=$WGET_HOME/bin:$PATH export PATH=$PYTHON_HOME:$PATH diff --git a/etc/settings.sh b/etc/settings.sh index 7149d05c4..1333e93a2 100755 --- a/etc/settings.sh +++ b/etc/settings.sh @@ -756,14 +756,14 @@ fi [ "$FOAM_VERBOSE" -a "$PS1" ] && echo " PARAVIEW_DIR is initialized to: $PARAVIEW_DIR" -# Load llvm +# Load llvm # ~~~~~~~~~~~~~~~~~~~~~~ [ -z "$LLVM_SYSTEM" ] && [ ! -z $WM_THIRD_PARTY_USE_LLVM_360 ] && [ -e $WM_THIRD_PARTY_DIR/packages/llvm-3.6.0/platforms/$WM_OPTIONS ] && { _foamSource $WM_THIRD_PARTY_DIR/packages/llvm-3.6.0/platforms/$WM_OPTIONS/etc/llvm-3.6.0.sh } [ "$FOAM_VERBOSE" -a "$PS1" ] && echo " LLVM_DIR is initialized to: $LLVM_DIR" -# Load mesa +# Load mesa # ~~~~~~~~~~~~~~~~~~~~~~ [ -z "$MESA_SYSTEM" ] && [ ! -z $WM_THIRD_PARTY_USE_MESA_GIT ] && [ -e $WM_THIRD_PARTY_DIR/packages/mesa-git/platforms/$WM_OPTIONS ] && { _foamSource $WM_THIRD_PARTY_DIR/packages/mesa-git/platforms/$WM_OPTIONS/etc/mesa-git.sh diff --git a/src/finiteVolume/finiteVolume/gradSchemes/leastSquaresGrad/leastSquaresVectors.C b/src/finiteVolume/finiteVolume/gradSchemes/leastSquaresGrad/leastSquaresVectors.C index d270b1d6e..8767004b9 100644 --- a/src/finiteVolume/finiteVolume/gradSchemes/leastSquaresGrad/leastSquaresVectors.C +++ b/src/finiteVolume/finiteVolume/gradSchemes/leastSquaresGrad/leastSquaresVectors.C @@ -239,7 +239,7 @@ void Foam::leastSquaresVectors::makeLeastSquaresVectors() const // If the dot-product is negative, cell is marked for use with the // Gauss gradient, which is unconditionally positive // HJ, 21/Apr/2015 - + // First loop: detect cells with bad least squares vectors // Use Gauss Gradient field: set to 1 if Gauss is needed diff --git a/src/mesh/cfMesh/cartesianMesh/cartesianMeshExtractor/cartesianMeshExtractor.C b/src/mesh/cfMesh/cartesianMesh/cartesianMeshExtractor/cartesianMeshExtractor.C index d81f2dd50..5ff31b7fd 100644 --- a/src/mesh/cfMesh/cartesianMesh/cartesianMeshExtractor/cartesianMeshExtractor.C +++ b/src/mesh/cfMesh/cartesianMesh/cartesianMeshExtractor/cartesianMeshExtractor.C @@ -76,24 +76,24 @@ void cartesianMeshExtractor::decomposeSplitHexes() void cartesianMeshExtractor::createMesh() { Info << "Extracting polyMesh" << endl; - + //- create points and pointLeaves addressing createPointsAndAddressing(); //- create the mesh createPolyMesh(); - + //- decompose split-hex cells into tetrahedra and pyramids decomposeSplitHexesIntoTetsAndPyramids(); - + //- remove unused vertices polyMeshGenModifier(mesh_).removeUnusedVertices(); - + Info << "Mesh has :" << nl << mesh_.points().size() << " vertices " << nl << mesh_.faces().size() << " faces" << nl << mesh_.cells().size() << " cells" << endl; - + if( Pstream::parRun() ) { label nCells = mesh_.cells().size(); @@ -112,7 +112,7 @@ void cartesianMeshExtractor::createMesh() << " This can be reolved by reducing the maxCellSize by a fraction." << "i.e. 2.49999 instead of 2.5." << exit(FatalError); } - + Info << "Finished extracting polyMesh" << endl; } diff --git a/src/mesh/cfMesh/cartesianMesh/cartesianMeshExtractor/cartesianMeshExtractor.H b/src/mesh/cfMesh/cartesianMesh/cartesianMeshExtractor/cartesianMeshExtractor.H index fdbd60a24..c5268ac90 100644 --- a/src/mesh/cfMesh/cartesianMesh/cartesianMeshExtractor/cartesianMeshExtractor.H +++ b/src/mesh/cfMesh/cartesianMesh/cartesianMeshExtractor/cartesianMeshExtractor.H @@ -42,7 +42,7 @@ SourceFiles namespace Foam { - + class IOdictionary; /*---------------------------------------------------------------------------*\ @@ -54,13 +54,13 @@ class cartesianMeshExtractor // Private data //- reference to the octree addressing meshOctreeAddressing octreeCheck_; - + //- reference to the mesh polyMeshGen& mesh_; - + //- decompose split hex cells bool decomposeSplitHexes_; - + //- cell label for a given leaf labelList* leafCellLabelPtr_; @@ -73,7 +73,7 @@ class cartesianMeshExtractor //- create mesh data void createPolyMesh(); - + //- decompose split hexes into pyramids and tets void decomposeSplitHexesIntoTetsAndPyramids(); @@ -105,7 +105,7 @@ public: //- decompose split hexes into standard cells void decomposeSplitHexes(); - + //- create the mesh with the above options void createMesh(); }; diff --git a/src/mesh/cfMesh/cartesianMesh/cartesianMeshExtractor/cartesianMeshExtractorDecomposeSplitHexes.C b/src/mesh/cfMesh/cartesianMesh/cartesianMeshExtractor/cartesianMeshExtractorDecomposeSplitHexes.C index d33800736..9d6ec376f 100644 --- a/src/mesh/cfMesh/cartesianMesh/cartesianMeshExtractor/cartesianMeshExtractorDecomposeSplitHexes.C +++ b/src/mesh/cfMesh/cartesianMesh/cartesianMeshExtractor/cartesianMeshExtractorDecomposeSplitHexes.C @@ -45,39 +45,39 @@ void cartesianMeshExtractor::decomposeSplitHexesIntoTetsAndPyramids() if( !decomposeSplitHexes_ ) return; Info << "Decomposing split-hex cells" << endl; - + const faceListPMG& faces = mesh_.faces(); - + //- decompose faces which have more than 4 vertices boolList decompose(faces.size(), false); - + label nDecomposed(0); forAll(faces, faceI) { if( faces[faceI].size() > 4 ) { ++nDecomposed; - + decompose[faceI] = true; } } - + reduce(nDecomposed, sumOp