From 5e972c772fc77d7bd8a197f0e0d40ea2b9aad9fb Mon Sep 17 00:00:00 2001
From: Mark Olesen <Mark.Olesen@Germany>
Date: Fri, 4 Dec 2009 13:39:35 +0100
Subject: [PATCH] remove trailing space from some files

---
 .../solvers/combustion/PDRFoam/XiEqns         |   4 +-
 .../PDRFoam/XiModels/algebraic/algebraic.C    |   2 +-
 .../SCOPE/SCOPELaminarFlameSpeed.C            |   2 +-
 .../solvers/combustion/PDRFoam/setDeltaT.H    |   2 +-
 .../compressible/rhoCentralFoam/Allwmake      |   2 +-
 .../compressible/rhoSonicFoam/rhoSonicFoam.C  |   2 +-
 .../compressible/rhopSonicFoam/Allwmake       |   2 +-
 .../BCs/p/inviscidWallPFvPatchScalarField.C   |   4 +-
 .../BCs/rhoE/mixedRhoEFvPatchScalarField.C    |   4 +-
 .../BCs/rhoU/fixedRhoUFvPatchVectorField.H    |   2 +-
 .../electrostaticFoam/Make/files              |   2 +-
 .../solvers/incompressible/icoFoam/Make/files |   2 +-
 .../nonNewtonianIcoFoam/Make/files            |   2 +-
 .../incompressible/simpleFoam/Make/files      |   2 +-
 .../solvers/multiphase/bubbleFoam/UEqns.H     |   2 +-
 .../multiphase/cavitatingFoam/CourantNo.H     |   2 +-
 .../cavitatingFoam/continuityErrs.H           |   4 +-
 .../multiphase/cavitatingFoam/setDeltaT.H     |   2 +-
 .../alphaContactAngleFvPatchScalarField.C     |   2 +-
 .../multiphaseMixture/phase/phase.C           |   2 +-
 .../settlingFoam/correctViscosity.H           |   2 +-
 .../multiphase/twoPhaseEulerFoam/UEqns.H      |   2 +-
 .../conductivityModel/newConductivityModel.C  |   4 +-
 .../JohnsonJacksonFrictionalStress.C          |   6 +-
 .../newFrictionalStressModel.C                |   4 +-
 .../newGranularPressureModel.C                |   4 +-
 .../CarnahanStarling/CarnahanStarlingRadial.C |   6 +-
 .../radialModel/Gidaspow/GidaspowRadial.C     |   2 +-
 .../SinclairJackson/SinclairJacksonRadial.C   |   2 +-
 .../radialModel/radialModel/newRadialModel.C  |   4 +-
 .../multiphase/twoPhaseEulerFoam/pEqn.H       |   2 +-
 .../tractionDisplacementFvPatchVectorField.C  |   4 +-
 .../solidEquilibriumDisplacementFoam.C        |   2 +-
 ...DisplacementCorrectionFvPatchVectorField.C |   2 +-
 .../mesh/advanced/selectCells/edgeStats.H     |   2 +-
 .../conversion/fluentMeshToFoam/README.txt    |  18 +--
 .../mesh/conversion/gmshToFoam/Make/options   |   2 +-
 .../mesh/conversion/sammToFoam/readBoundary.C |   2 +-
 .../mesh/conversion/starToFoam/readBoundary.C |   2 +-
 .../mesh/conversion/starToFoam/readPoints.C   |   2 +-
 .../mesh/conversion/writeMeshObj/Make/options |   2 +-
 .../extrudeMesh/extrudedMesh/extrudedMesh.C   |   2 +-
 .../generation/snappyHexMesh/snappyHexMesh.C  |   2 +-
 .../manipulation/checkMesh/printMeshStats.C   |   2 +-
 .../moveEngineMesh/moveEngineMesh.C           |   4 +-
 .../mesh/manipulation/objToVTK/Make/options   |   2 +-
 .../mesh/manipulation/setSet/writePatch.C     |   4 +-
 .../mesh/manipulation/setSet/writePointSet.C  |   4 +-
 .../mesh/manipulation/splitMesh/Make/options  |   2 +-
 .../mesh/manipulation/splitMesh/regionSide.C  |   2 +-
 .../mesh/manipulation/splitMesh/regionSide.H  |   2 +-
 .../mesh/manipulation/zipUpMesh/zipUpMesh.C   |   2 +-
 .../decomposePar/decomposeParDict             |   2 +-
 .../decomposePar/fvFieldDecomposer.H          |   4 +-
 .../foamDataToFluent/fluentUnitNumbers.txt    |  40 ++---
 .../foamToFieldview9/calcFaceAddressing.C     |   2 +-
 .../dataConversion/foamToGMV/Make/options     |   4 +-
 .../foamToGMV/gmvOutputHeader.H               |   6 +-
 .../foamToGMV/readConversionProperties.H      |   4 +-
 .../foamToTecplot360/foamToTecplot360.C       |   2 +-
 .../foamToTecplot360/readFields.H             |   2 +-
 .../foamToTecplot360/tecplotWriter.C          | 140 +++++++++---------
 .../dataConversion/foamToVTK/internalWriter.C |   2 +-
 .../dataConversion/foamToVTK/readFields.H     |   2 +-
 .../dataConversion/foamToVTK/vtkTopo.C        |   2 +-
 .../dataConversion/foamToVTK/writeFaceSet.C   |   4 +-
 .../dataConversion/foamToVTK/writePointSet.C  |   4 +-
 .../foamToVTK/writeSurfFields.C               |   2 +-
 .../PV3Readers/vtkPV3Readers/vtkPV3Readers.H  |   2 +-
 .../ensightFoamReader/getFieldScalar.H        |   4 +-
 .../ensightFoamReader/getFieldTensor.H        |   8 +-
 .../ensightFoamReader/getFieldVector.H        |  10 +-
 .../miscellaneous/postChannel/channelIndex.C  |   2 +-
 .../miscellaneous/postChannel/sumDataI.H      |   2 +-
 .../surface/surfaceClean/collapseBase.C       |  16 +-
 .../surface/surfaceClean/collapseEdge.C       |   2 +-
 .../equilibriumCO/equilibriumCO.C             |   2 +-
 .../algorithms/MeshWave/FaceCellWave.C        |   8 +-
 .../algorithms/MeshWave/FaceCellWave.H        |   2 +-
 src/OpenFOAM/algorithms/MeshWave/MeshWave.C   |   4 +-
 .../db/IOstreams/Pstreams/PstreamReduceOps.H  |   6 +-
 .../db/IOstreams/gzstream/COPYING.LIB         |   2 +-
 src/OpenFOAM/db/IOstreams/gzstream/gzstream.C |   8 +-
 src/OpenFOAM/db/IOstreams/gzstream/gzstream.h | 102 ++++++-------
 .../OutputFilterFunctionObject.H              |   2 +-
 .../DimensionedFieldFunctions.C               |   2 +-
 .../FieldFields/FieldField/FieldField.C       |   2 +-
 .../GeometricField/GeometricField.H           |   8 +-
 .../GeometricField/GeometricFieldFunctions.C  |   2 +-
 .../GeometricField/GeometricFieldFunctions.H  |   2 +-
 .../GeometricField/GeometricFieldFunctionsM.H |   2 +-
 .../GeometricField/MapGeometricFields.H       |  10 +-
 .../transformGeometricField.C                 |   8 +-
 src/OpenFOAM/fields/ReadFields/ReadFields.C   |   2 +-
 .../pointConstraint/pointConstraint.H         |   4 +-
 src/OpenFOAM/graph/curve/curve.H              |   2 +-
 src/OpenFOAM/graph/graph.H                    |   6 +-
 .../graph/writers/jplotGraph/jplotGraph.H     |   2 +-
 src/OpenFOAM/include/checkTimeOptions.H       |   2 +-
 .../LUscalarMatrix/procLduInterface.H         |   2 +-
 .../matrices/LUscalarMatrix/procLduMatrix.C   |   2 +-
 .../lduAddressing/lduInterface/lduInterface.H |   2 +-
 .../lduInterface/processorLduInterface.C      |   2 +-
 .../cyclicLduInterfaceField.C                 |   2 +-
 .../noPreconditioner/noPreconditioner.H       |   2 +-
 .../GAMGAgglomerateLduAddressing.C            |   2 +-
 .../lduMatrix/solvers/GAMG/GAMGSolver.H       |   2 +-
 .../GAMG/GAMGSolverAgglomerateMatrix.C        |   4 +-
 .../cyclicGAMGInterfaceField.H                |   2 +-
 .../ProcessorTopology/ProcessorTopology.C     |   4 +-
 .../meshes/ProcessorTopology/commSchedule.H   |   6 +-
 .../meshes/meshShapes/cellShape/cellShapeI.H  |   2 +-
 .../meshes/meshShapes/face/oppositeFace.H     |   2 +-
 src/OpenFOAM/meshes/meshTools/matchPoints.C   |   2 +-
 .../pointMesh/pointMeshMapper/pointMapper.C   |   2 +-
 .../constraint/cyclic/cyclicPointPatch.C      |   2 +-
 .../processor/processorPointPatch.H           |   4 +-
 .../polyMesh/globalMeshData/globalMeshData.C  |   6 +-
 .../polyMesh/globalMeshData/globalMeshData.H  |   8 +-
 .../polyMesh/globalMeshData/globalPoints.H    |   4 +-
 .../mapPolyMesh/faceMapper/faceMapper.C       |   2 +-
 .../mapPolyMesh/mapDistribute/mapDistribute.H |   2 +-
 .../mapDistribute/mapDistributePolyMesh.H     |   2 +-
 .../constraint/processor/processorPolyPatch.H |   2 +-
 .../meshes/primitiveMesh/primitiveMesh.H      |   6 +-
 .../primitiveShapes/triangle/triangle.H       |   2 +-
 .../primitives/DiagTensor/DiagTensorI.H       |   2 +-
 .../SphericalTensor2D/SphericalTensor2DI.H    |   2 +-
 .../primitives/VectorSpace/VectorSpaceM.H     |   2 +-
 src/OpenFOAM/primitives/random/random.3       |   6 +-
 src/OpenFOAM/primitives/random/random.c       |   6 +-
 .../primitives/septernion/septernion.H        |   2 +-
 .../primitives/transform/symmTransform.H      |   4 +-
 .../dynamicFvMesh/newDynamicFvMesh.C          |   2 +-
 .../dynamicMotionSolverFvMesh.C               |   2 +-
 src/dynamicFvMesh/include/meshCourantNo.H     |   2 +-
 .../solidBodyMotionFunctions/SDA/SDA.H        |   2 +-
 .../newSolidBodyMotionFunction.C              |   2 +-
 .../attachDetach/attachInterface.C            |   2 +-
 .../attachDetach/detachInterface.C            |   6 +-
 src/dynamicMesh/boundaryPatch/boundaryPatch.H |   2 +-
 .../fvMeshAdder/fvMeshAdderTemplates.C        |  16 +-
 .../fvMeshDistribute/fvMeshDistribute.C       |  14 +-
 .../fvMeshDistributeTemplates.C               |   2 +-
 .../layerAdditionRemoval/removeCellLayer.C    |   6 +-
 .../layerAdditionRemoval/setLayerPairing.C    |   4 +-
 src/dynamicMesh/meshCut/cellCuts/cellCuts.H   |   6 +-
 .../meshCut/cellLooper/cellLooper.H           |   2 +-
 .../directions/directionInfo/directionInfo.C  |  10 +-
 .../directions/directionInfo/directionInfo.H  |   4 +-
 .../directions/directionInfo/directionInfoI.H |   2 +-
 .../meshCut/directions/directions.C           |   4 +-
 .../meshCut/directions/directions.H           |   2 +-
 .../meshCut/edgeVertex/edgeVertex.H           |   6 +-
 .../boundaryCutter/boundaryCutter.C           |   8 +-
 .../meshCutAndRemove/meshCutAndRemove.H       |   4 +-
 .../multiDirRefinement/multiDirRefinement.C   |   4 +-
 .../multiDirRefinement/multiDirRefinement.H   |   2 +-
 .../refinementIterator/refinementIterator.C   |   4 +-
 .../refinementIterator/refinementIterator.H   |   2 +-
 .../wallNormalInfo/wallNormalInfoI.H          |   4 +-
 src/dynamicMesh/motionSolver/motionSolver.H   |   2 +-
 .../perfectInterface/perfectInterface.C       |   2 +-
 .../polyMeshAdder/faceCoupleInfo.H            |   4 +-
 .../polyTopoChange/addPatchCellLayer.C        |   2 +-
 .../polyTopoChange/edgeCollapser.C            |   6 +-
 .../modifyObject/polyModifyFace.H             |   2 +-
 .../polyTopoChange/refinementDataI.H          |   2 +-
 .../polyTopoChange/refinementDistanceDataI.H  |   2 +-
 .../polyTopoChange/removeCells.C              |   2 +-
 .../polyTopoChange/removePoints.C             |   4 +-
 .../repatchPolyTopoChanger.H                  |   2 +-
 src/dynamicMesh/setUpdater/setUpdater.H       |   2 +-
 .../setUpdater/setUpdaterTemplates.C          |   2 +-
 .../slidingInterfaceAttachedAddressing.C      |  10 +-
 .../slidingInterfaceProjectPoints.C           |  16 +-
 .../fvMotionSolverEngineMesh.C                |   4 +-
 .../layeredEngineMesh/layeredEngineMesh.C     |   6 +-
 src/engine/ignition/ignitionSite.H            |   2 +-
 .../errorDrivenRefinement.C                   |   4 +-
 .../errorDrivenRefinement.H                   |   2 +-
 .../evaluateError/evaluateError.C             |   2 +-
 .../compressible/compressibleCourantNo.H      |   2 +-
 .../cfdTools/incompressible/CourantNo.H       |   2 +-
 .../basic/transform/transformFvPatchField.C   |   2 +-
 .../jumpCyclic/jumpCyclicFvPatchField.H       |   2 +-
 .../constraint/wedge/wedgeFvPatchField.C      |   2 +-
 .../derived/fan/fanFvPatchField.H             |   2 +-
 .../freestreamPressureFvPatchScalarField.C    |   4 +-
 .../partialSlip/partialSlipFvPatchField.C     |   2 +-
 ...ureInletOutletVelocityFvPatchVectorField.C |   2 +-
 .../rotatingTotalPressureFvPatchScalarField.C |   2 +-
 .../supersonicFreestreamFvPatchVectorField.H  |   2 +-
 ...urfaceNormalFixedValueFvPatchVectorField.H |   2 +-
 .../syringePressureFvPatchScalarField.C       |  18 +--
 .../totalTemperatureFvPatchScalarField.C      |   2 +-
 .../totalTemperatureFvPatchScalarField.H      |   2 +-
 .../gaussConvectionSchemes.C                  |   2 +-
 .../multivariateGaussConvectionSchemes.C      |   2 +-
 .../EulerD2dt2Scheme/EulerD2dt2Schemes.C      |   2 +-
 .../steadyStateD2dt2Schemes.C                 |   2 +-
 .../CoEulerDdtScheme/CoEulerDdtSchemes.C      |   2 +-
 .../CrankNicholsonDdtSchemes.C                |   2 +-
 .../EulerDdtScheme/EulerDdtSchemes.C          |   2 +-
 .../ddtSchemes/SLTSDdtScheme/SLTSDdtSchemes.C |   2 +-
 .../backwardDdtScheme/backwardDdtSchemes.C    |   2 +-
 .../steadyStateDdtSchemes.C                   |   2 +-
 .../gaussDivScheme/gaussDivScheme.C           |   2 +-
 .../gaussDivScheme/gaussDivSchemes.C          |   2 +-
 .../finiteVolume/fvc/fvcAverage.C             |   4 +-
 src/finiteVolume/finiteVolume/fvc/fvcCurl.C   |   6 +-
 src/finiteVolume/finiteVolume/fvc/fvcD2dt2.C  |   2 +-
 src/finiteVolume/finiteVolume/fvc/fvcDDt.C    |   2 +-
 src/finiteVolume/finiteVolume/fvc/fvcFlux.C   |   2 +-
 .../finiteVolume/fvc/fvcMagSqrGradGrad.C      |   2 +-
 .../extendedLeastSquaresGrads.C               |   2 +-
 .../extendedLeastSquaresVectors.C             |   8 +-
 .../gradSchemes/fourthGrad/fourthGrads.C      |   2 +-
 .../leastSquaresGrad/leastSquaresGrads.C      |   2 +-
 .../limitedSnGrad/limitedSnGrad.C             |   2 +-
 .../quadraticFitSnGrad/quadraticFitSnGrads.C  |   2 +-
 .../fullStencils/CFCCellToCellStencil.C       |   6 +-
 .../fullStencils/cellToCellStencil.H          |   2 +-
 .../extendedUpwindCellToFaceStencil.C         |   2 +-
 .../fvMesh/fvBoundaryMesh/fvBoundaryMesh.C    |   2 +-
 src/finiteVolume/fvMesh/fvMeshGeometry.C      |   4 +-
 .../fvMesh/fvMeshMapper/fvSurfaceMapper.C     |   2 +-
 .../fvMesh/fvMeshSubset/fvMeshSubset.H        |   4 +-
 .../fvMeshSubset/fvMeshSubsetInterpolate.C    |   6 +-
 .../fvMesh/fvPatches/fvPatch/fvPatch.H        |   2 +-
 .../singleCellFvMesh/singleCellFvMesh.C       |   2 +-
 src/finiteVolume/fvMesh/wallDist/wallDist.C   |   2 +-
 .../fvMesh/wallDist/wallDistData.H            |   4 +-
 .../wallDist/wallPointYPlus/wallPointYPlusI.H |   8 +-
 .../findCellPointFaceTriangle.H               |   2 +-
 .../interpolationCellPointFace.C              |  54 +++----
 .../interpolationCellPointFace.H              |   2 +-
 .../LimitedScheme/LimitedScheme.H             |   2 +-
 .../limitedSchemes/LimitedScheme/NVDVTVDV.H   |   2 +-
 .../limitedSchemes/Phi/Phi.H                  |   2 +-
 .../limitedSchemes/PhiScheme/PhiScheme.C      |   2 +-
 .../limitedSchemes/PhiScheme/PhiScheme.H      |   2 +-
 .../limitedSchemes/blended/blended.H          |   2 +-
 .../limitedCubic/limitedCubic.H               |   2 +-
 .../limitedCubic/limitedCubicV.H              |   2 +-
 .../limitedSchemes/upwind/upwind.H            |   2 +-
 .../multivariateScheme/multivariateScheme.C   |   4 +-
 .../multivariateScheme/multivariateScheme.H   |   2 +-
 .../multivariateSelectionScheme.H             |   2 +-
 .../upwind/multivariateUpwind.H               |   2 +-
 .../schemes/clippedLinear/clippedLinear.H     |   2 +-
 .../schemes/cubic/cubic.H                     |   2 +-
 .../schemes/downwind/downwind.H               |   2 +-
 .../schemes/linear/linear.H                   |   2 +-
 .../schemes/localBlended/localBlended.H       |   6 +-
 .../schemes/localMax/localMax.H               |   2 +-
 .../schemes/localMin/localMin.H               |   2 +-
 .../schemes/reverseLinear/reverseLinear.C     |   2 +-
 .../schemes/skewCorrected/skewCorrected.H     |   4 +-
 .../skewCorrected/skewCorrectionVectors.H     |   2 +-
 .../surfaceInterpolation/surfaceInterpolate.C |  20 +--
 .../volPointInterpolation.C                   |   2 +-
 .../volPointInterpolation.H                   |   4 +-
 .../MGridGenGAMGAgglomerate.C                 |   2 +-
 ...lacementComponentLaplacianFvMotionSolver.C |   2 +-
 .../cellMotion/cellMotionFvPatchField.C       |   2 +-
 .../inverseDistanceDiffusivity.H              |   2 +-
 .../inverseFaceDistanceDiffusivity.H          |   2 +-
 .../inversePointDistanceDiffusivity.H         |   2 +-
 .../motionDirectionalDiffusivity.C            |   2 +-
 ...surfaceDisplacementPointPatchVectorField.C |   2 +-
 ...aceSlipDisplacementPointPatchVectorField.C |   2 +-
 .../layerParameters/layerParameters.H         |  10 +-
 .../autoHexMeshDriver/pointData/pointDataI.H  |  18 +--
 .../meshRefinement/meshRefinement.C           |   2 +-
 .../refinementSurfaces/refinementSurfaces.C   |   2 +-
 .../trackedParticle/ExactParticle.H           |   2 +-
 src/meshTools/PointEdgeWave/PointEdgeWave.C   |  16 +-
 src/meshTools/cellClassification/cellInfo.H   |   4 +-
 src/meshTools/cellClassification/cellInfoI.H  |   8 +-
 src/meshTools/cellDist/cellDistFuncs.H        |   2 +-
 .../cellDist/wallPoint/wallPointDataI.H       |  10 +-
 src/meshTools/cellDist/wallPoint/wallPointI.H |  12 +-
 src/meshTools/indexedOctree/indexedOctree.C   |  10 +-
 src/meshTools/meshSearch/meshSearch.C         |   6 +-
 src/meshTools/meshSearch/meshSearch.H         |   2 +-
 src/meshTools/octree/PointIndexHit.H          |   2 +-
 src/meshTools/octree/octreeDataCell.C         |   6 +-
 src/meshTools/octree/octreeDataEdges.C        |   4 +-
 .../octree/octreeDataPointTreeLeaf.C          |   2 +-
 .../searchableSurfaceWithGaps.C               |   2 +-
 .../sets/cellSources/cellToCell/cellToCell.C  |   2 +-
 .../sets/cellSources/faceToCell/faceToCell.C  |   2 +-
 .../sets/cellSources/nbrToCell/nbrToCell.C    |   2 +-
 .../rotatedBoxToCell/rotatedBoxToCell.C       |   4 +-
 .../cellSources/surfaceToCell/surfaceToCell.C |   4 +-
 .../cellSources/surfaceToCell/surfaceToCell.H |   2 +-
 .../sets/faceSources/cellToFace/cellToFace.C  |   4 +-
 .../pointSources/cellToPoint/cellToPoint.C    |   2 +-
 .../pointSources/faceToPoint/faceToPoint.C    |   2 +-
 .../surfaceToPoint/surfaceToPoint.C           |   4 +-
 src/meshTools/sets/topoSets/cellSet.H         |   2 +-
 src/meshTools/sets/topoSets/cellZoneSet.H     |   2 +-
 src/meshTools/sets/topoSets/faceSet.C         |   2 +-
 src/meshTools/sets/topoSets/faceSet.H         |   2 +-
 src/meshTools/sets/topoSets/faceZoneSet.H     |   2 +-
 src/meshTools/sets/topoSets/pointSet.H        |   2 +-
 src/meshTools/sets/topoSets/pointZoneSet.H    |   2 +-
 src/meshTools/sets/topoSets/topoSet.C         |  10 +-
 src/meshTools/surfaceSets/surfaceSets.C       |  14 +-
 src/meshTools/surfaceSets/surfaceSets.H       |   4 +-
 .../intersectedSurface/intersectedSurface.H   |   2 +-
 .../octreeData/octreeDataTriSurface.H         |   2 +-
 .../surfaceLocation/surfaceLocation.H         |   8 +-
 .../triSurfaceTools/geompack/geompack.H       |  20 +--
 .../triSurface/triangleFuncs/triangleFuncs.C  |   2 +-
 .../twoDPointCorrector/twoDPointCorrector.H   |   2 +-
 .../geomDecomp/geomDecomp.H                   |   2 +-
 .../manualDecomp/manualDecomp.C               |   2 +-
 .../simpleGeomDecomp/simpleGeomDecomp.C       |  26 ++--
 .../simpleGeomDecomp/simpleGeomDecomp.H       |   2 +-
 .../reconstruct/pointFieldReconstructor.C     |   2 +-
 .../fixedInternalEnergyFvPatchScalarField.C   |   4 +-
 .../gradientEnthalpyFvPatchScalarField.C      |   4 +-
 .../mixedEnthalpyFvPatchScalarField.C         |   2 +-
 .../laminarFlameSpeed/GuldersEGR/GuldersEGR.C |   2 +-
 .../fixedUnburntEnthalpyFvPatchScalarField.C  |   4 +-
 ...radientUnburntEnthalpyFvPatchScalarField.C |   4 +-
 .../mixedUnburntEnthalpyFvPatchScalarField.C  |   2 +-
 .../specie/atomicWeights/atomicWeights.C      |   2 +-
 .../thirdBodyArrheniusReactionRateI.H         |   4 +-
 .../interfaceCompression.H                    |   2 +-
 .../meshTriangulation/meshTriangulation.C     |   8 +-
 .../meshTriangulation/meshTriangulation.H     |   2 +-
 .../triSurface/interfaces/AC3D/readAC.C       |   4 +-
 .../triSurface/interfaces/TRI/readTRI.C       |   2 +-
 .../surfacePatch/surfacePatchIOList.C         |   4 +-
 .../LES/LESdeltas/smoothDelta/smoothDelta.C   |   2 +-
 .../smoothDelta/smoothDeltaDeltaDataI.H       |  10 +-
 ...mperatureCoupledBaffleFvPatchScalarField.H |   4 +-
 ...tureCoupledBaffleMixedFvPatchScalarField.H |   6 +-
 341 files changed, 781 insertions(+), 781 deletions(-)

diff --git a/applications/solvers/combustion/PDRFoam/XiEqns b/applications/solvers/combustion/PDRFoam/XiEqns
index bd5ca3066a9..8de3bffe4b1 100644
--- a/applications/solvers/combustion/PDRFoam/XiEqns
+++ b/applications/solvers/combustion/PDRFoam/XiEqns
@@ -22,7 +22,7 @@
         volScalarField GEta = GEtaCoef/tauEta;
         volScalarField XiEqEta = 1.0 + XiCoef*sqrt(up/(Su + SuMin))*Reta;
 
-        volScalarField R = 
+        volScalarField R =
             GEta*XiEqEta/(XiEqEta - 0.999) + GIn*XiIn/(XiIn - 0.999);
 
         volScalarField XiEqStar = R/(R - GEta - GIn);
@@ -42,7 +42,7 @@
         volScalarField GEta = GEtaCoef/tauEta;
         volScalarField XiEqEta = 1.0 + XiCoef*sqrt(up/(Su + SuMin))*Reta;
 
-        volScalarField R = 
+        volScalarField R =
             GEta*XiEqEta/(XiEqEta - 0.999) + GIn*XiIn/(XiIn - 0.999);
 
         volScalarField XiEqStar = R/(R - GEta - GIn);
diff --git a/applications/solvers/combustion/PDRFoam/XiModels/algebraic/algebraic.C b/applications/solvers/combustion/PDRFoam/XiModels/algebraic/algebraic.C
index 59fc7465074..3ab75874310 100644
--- a/applications/solvers/combustion/PDRFoam/XiModels/algebraic/algebraic.C
+++ b/applications/solvers/combustion/PDRFoam/XiModels/algebraic/algebraic.C
@@ -91,7 +91,7 @@ bool Foam::XiModels::algebraic::read(const dictionary& XiProperties)
     XiModel::read(XiProperties);
 
     XiModelCoeffs_.lookup("XiShapeCoef") >> XiShapeCoef;
-    
+
     return true;
 }
 
diff --git a/applications/solvers/combustion/PDRFoam/laminarFlameSpeed/SCOPE/SCOPELaminarFlameSpeed.C b/applications/solvers/combustion/PDRFoam/laminarFlameSpeed/SCOPE/SCOPELaminarFlameSpeed.C
index 9f42a4cc97a..e98ff38adc9 100644
--- a/applications/solvers/combustion/PDRFoam/laminarFlameSpeed/SCOPE/SCOPELaminarFlameSpeed.C
+++ b/applications/solvers/combustion/PDRFoam/laminarFlameSpeed/SCOPE/SCOPELaminarFlameSpeed.C
@@ -117,7 +117,7 @@ inline Foam::scalar Foam::laminarFlameSpeedModels::SCOPE::polyPhi
 {
     scalar x = phi - 1.0;
 
-    return 
+    return
         a[0]
        *(
            scalar(1)
diff --git a/applications/solvers/combustion/PDRFoam/setDeltaT.H b/applications/solvers/combustion/PDRFoam/setDeltaT.H
index c40bc4a1d75..4a4cc4e6bf0 100644
--- a/applications/solvers/combustion/PDRFoam/setDeltaT.H
+++ b/applications/solvers/combustion/PDRFoam/setDeltaT.H
@@ -45,7 +45,7 @@ if (adjustTimeStep)
             maxDeltaT
         )
     );
-    
+
     Info<< "deltaT = " <<  runTime.deltaTValue() << endl;
 }
 
diff --git a/applications/solvers/compressible/rhoCentralFoam/Allwmake b/applications/solvers/compressible/rhoCentralFoam/Allwmake
index 698558da0b6..5f01d96a752 100755
--- a/applications/solvers/compressible/rhoCentralFoam/Allwmake
+++ b/applications/solvers/compressible/rhoCentralFoam/Allwmake
@@ -2,7 +2,7 @@
 cd ${0%/*} || exit 1    # run from this directory
 set -x
 
-wmake libso BCs 
+wmake libso BCs
 wmake
 
 # ----------------------------------------------------------------- end-of-file
diff --git a/applications/solvers/compressible/rhoSonicFoam/rhoSonicFoam.C b/applications/solvers/compressible/rhoSonicFoam/rhoSonicFoam.C
index f06b13e5def..0375185a88c 100644
--- a/applications/solvers/compressible/rhoSonicFoam/rhoSonicFoam.C
+++ b/applications/solvers/compressible/rhoSonicFoam/rhoSonicFoam.C
@@ -84,7 +84,7 @@ int main(int argc, char *argv[])
         (
             fvm::ddt(rhoU)
           + fvm::div(phiv, rhoU)
-         == 
+         ==
           - fvc::grad(p)
         );
 
diff --git a/applications/solvers/compressible/rhopSonicFoam/Allwmake b/applications/solvers/compressible/rhopSonicFoam/Allwmake
index 698558da0b6..5f01d96a752 100755
--- a/applications/solvers/compressible/rhopSonicFoam/Allwmake
+++ b/applications/solvers/compressible/rhopSonicFoam/Allwmake
@@ -2,7 +2,7 @@
 cd ${0%/*} || exit 1    # run from this directory
 set -x
 
-wmake libso BCs 
+wmake libso BCs
 wmake
 
 # ----------------------------------------------------------------- end-of-file
diff --git a/applications/solvers/compressible/rhopSonicFoam/BCs/p/inviscidWallPFvPatchScalarField.C b/applications/solvers/compressible/rhopSonicFoam/BCs/p/inviscidWallPFvPatchScalarField.C
index 27fa4db29aa..6acbe1b0ca1 100644
--- a/applications/solvers/compressible/rhopSonicFoam/BCs/p/inviscidWallPFvPatchScalarField.C
+++ b/applications/solvers/compressible/rhopSonicFoam/BCs/p/inviscidWallPFvPatchScalarField.C
@@ -131,7 +131,7 @@ void inviscidWallPFvPatchScalarField::updateCoeffs()
     const fvPatchField<vector>& rhoUp =
         patch().lookupPatchField<volVectorField, vector>("rhoU");
 
-    const fvsPatchField<scalar>& phip = 
+    const fvsPatchField<scalar>& phip =
         patch().lookupPatchField<surfaceScalarField, scalar>("phi");
 
     const fvsPatchField<scalar>& rAp =
@@ -147,7 +147,7 @@ void inviscidWallPFvPatchScalarField::updateCoeffs()
 void inviscidWallPFvPatchScalarField::write(Ostream& os) const
 {
     fixedGradientFvPatchScalarField::write(os);
-    os.writeKeyword("fluxFraction") 
+    os.writeKeyword("fluxFraction")
         << fluxFraction_ << token::END_STATEMENT << nl;
     writeEntry("value", os);
 }
diff --git a/applications/solvers/compressible/rhopSonicFoam/BCs/rhoE/mixedRhoEFvPatchScalarField.C b/applications/solvers/compressible/rhopSonicFoam/BCs/rhoE/mixedRhoEFvPatchScalarField.C
index 8f63d984f5e..b334d39c3aa 100644
--- a/applications/solvers/compressible/rhopSonicFoam/BCs/rhoE/mixedRhoEFvPatchScalarField.C
+++ b/applications/solvers/compressible/rhopSonicFoam/BCs/rhoE/mixedRhoEFvPatchScalarField.C
@@ -145,7 +145,7 @@ void mixedRhoEFvPatchScalarField::updateCoeffs()
 
     const volScalarField& T = db().lookupObject<volScalarField>("T");
     const label patchi = patch().index();
-    fvPatchScalarField& Tp = 
+    fvPatchScalarField& Tp =
         const_cast<fvPatchScalarField&>(T.boundaryField()[patchi]);
 
     Tp.evaluate();
@@ -164,7 +164,7 @@ void mixedRhoEFvPatchScalarField::updateCoeffs()
     refGrad() =
         rhop*Cv.value()*Tp.snGrad()
       + (
-            refValue() 
+            refValue()
           - (0.5*rhop.patchInternalField()*
                 magSqr(rhoUp.patchInternalField()/rhop.patchInternalField()))
         )*patch().deltaCoeffs();
diff --git a/applications/solvers/compressible/rhopSonicFoam/BCs/rhoU/fixedRhoUFvPatchVectorField.H b/applications/solvers/compressible/rhopSonicFoam/BCs/rhoU/fixedRhoUFvPatchVectorField.H
index 091f9b6d588..1f3665b7603 100644
--- a/applications/solvers/compressible/rhopSonicFoam/BCs/rhoU/fixedRhoUFvPatchVectorField.H
+++ b/applications/solvers/compressible/rhopSonicFoam/BCs/rhoU/fixedRhoUFvPatchVectorField.H
@@ -66,7 +66,7 @@ public:
             const dictionary&
         );
 
-        //- Construct by mapping given fixedRhoUFvPatchVectorField 
+        //- Construct by mapping given fixedRhoUFvPatchVectorField
         //  onto a new patch
         fixedRhoUFvPatchVectorField
         (
diff --git a/applications/solvers/electromagnetics/electrostaticFoam/Make/files b/applications/solvers/electromagnetics/electrostaticFoam/Make/files
index 073ad4cd767..d5cb4f13956 100644
--- a/applications/solvers/electromagnetics/electrostaticFoam/Make/files
+++ b/applications/solvers/electromagnetics/electrostaticFoam/Make/files
@@ -1,3 +1,3 @@
-electrostaticFoam.C  
+electrostaticFoam.C
 
 EXE = $(FOAM_APPBIN)/electrostaticFoam
diff --git a/applications/solvers/incompressible/icoFoam/Make/files b/applications/solvers/incompressible/icoFoam/Make/files
index 964e46e1591..f1564ba4829 100644
--- a/applications/solvers/incompressible/icoFoam/Make/files
+++ b/applications/solvers/incompressible/icoFoam/Make/files
@@ -1,3 +1,3 @@
-icoFoam.C  
+icoFoam.C
 
 EXE = $(FOAM_APPBIN)/icoFoam
diff --git a/applications/solvers/incompressible/nonNewtonianIcoFoam/Make/files b/applications/solvers/incompressible/nonNewtonianIcoFoam/Make/files
index ad5215ffda7..8b68719cc83 100644
--- a/applications/solvers/incompressible/nonNewtonianIcoFoam/Make/files
+++ b/applications/solvers/incompressible/nonNewtonianIcoFoam/Make/files
@@ -1,3 +1,3 @@
-nonNewtonianIcoFoam.C  
+nonNewtonianIcoFoam.C
 
 EXE = $(FOAM_APPBIN)/nonNewtonianIcoFoam
diff --git a/applications/solvers/incompressible/simpleFoam/Make/files b/applications/solvers/incompressible/simpleFoam/Make/files
index 22ef5388329..693d26fd807 100644
--- a/applications/solvers/incompressible/simpleFoam/Make/files
+++ b/applications/solvers/incompressible/simpleFoam/Make/files
@@ -1,3 +1,3 @@
-simpleFoam.C 
+simpleFoam.C
 
 EXE = $(FOAM_APPBIN)/simpleFoam
diff --git a/applications/solvers/multiphase/bubbleFoam/UEqns.H b/applications/solvers/multiphase/bubbleFoam/UEqns.H
index e692f9f5fe9..64cc5db462b 100644
--- a/applications/solvers/multiphase/bubbleFoam/UEqns.H
+++ b/applications/solvers/multiphase/bubbleFoam/UEqns.H
@@ -41,7 +41,7 @@ fvVectorMatrix UbEqn(Ub, Ub.dimensions()*dimVol/dimTime);
        - fvc::interpolate(nuEffb)
         *mesh.magSf()*fvc::snGrad(beta)/fvc::interpolate(beta + scalar(0.001));
 
-    UbEqn = 
+    UbEqn =
     (
         (scalar(1) + Cvm*rhob*alpha/rhob)*
         (
diff --git a/applications/solvers/multiphase/cavitatingFoam/CourantNo.H b/applications/solvers/multiphase/cavitatingFoam/CourantNo.H
index a9d43535ec3..8e9e9cb00cc 100644
--- a/applications/solvers/multiphase/cavitatingFoam/CourantNo.H
+++ b/applications/solvers/multiphase/cavitatingFoam/CourantNo.H
@@ -36,7 +36,7 @@ scalar acousticCoNum = 0.0;
 
 if (mesh.nInternalFaces())
 {
-    surfaceScalarField SfUfbyDelta = 
+    surfaceScalarField SfUfbyDelta =
         mesh.surfaceInterpolation::deltaCoeffs()*mag(phiv);
 
     CoNum = max(SfUfbyDelta/mesh.magSf())
diff --git a/applications/solvers/multiphase/cavitatingFoam/continuityErrs.H b/applications/solvers/multiphase/cavitatingFoam/continuityErrs.H
index 6f1622510f6..c5e93c7efb3 100644
--- a/applications/solvers/multiphase/cavitatingFoam/continuityErrs.H
+++ b/applications/solvers/multiphase/cavitatingFoam/continuityErrs.H
@@ -3,12 +3,12 @@
 
     dimensionedScalar totalMass = fvc::domainIntegrate(rho);
 
-    scalar sumLocalContErr = 
+    scalar sumLocalContErr =
     (
         fvc::domainIntegrate(mag(rho - thermoRho))/totalMass
     ).value();
 
-    scalar globalContErr = 
+    scalar globalContErr =
     (
         fvc::domainIntegrate(rho - thermoRho)/totalMass
     ).value();
diff --git a/applications/solvers/multiphase/cavitatingFoam/setDeltaT.H b/applications/solvers/multiphase/cavitatingFoam/setDeltaT.H
index dd8f23464a4..26f0b431083 100644
--- a/applications/solvers/multiphase/cavitatingFoam/setDeltaT.H
+++ b/applications/solvers/multiphase/cavitatingFoam/setDeltaT.H
@@ -47,7 +47,7 @@ if (adjustTimeStep)
             maxDeltaT
         )
     );
-    
+
     Info<< "deltaT = " <<  runTime.deltaTValue() << endl;
 }
 
diff --git a/applications/solvers/multiphase/multiphaseInterFoam/multiphaseMixture/alphaContactAngle/alphaContactAngleFvPatchScalarField.C b/applications/solvers/multiphase/multiphaseInterFoam/multiphaseMixture/alphaContactAngle/alphaContactAngleFvPatchScalarField.C
index c948063408b..d975577dbc8 100644
--- a/applications/solvers/multiphase/multiphaseInterFoam/multiphaseMixture/alphaContactAngle/alphaContactAngleFvPatchScalarField.C
+++ b/applications/solvers/multiphase/multiphaseInterFoam/multiphaseMixture/alphaContactAngle/alphaContactAngleFvPatchScalarField.C
@@ -63,7 +63,7 @@ Ostream& operator<<
 )
 {
     os  << tp.theta0_ << token::SPACE
-        << tp.uTheta_ << token::SPACE 
+        << tp.uTheta_ << token::SPACE
         << tp.thetaA_ << token::SPACE
         << tp.thetaR_;
 
diff --git a/applications/solvers/multiphase/multiphaseInterFoam/multiphaseMixture/phase/phase.C b/applications/solvers/multiphase/multiphaseInterFoam/multiphaseMixture/phase/phase.C
index 20beaa4da31..00e7deb6447 100644
--- a/applications/solvers/multiphase/multiphaseInterFoam/multiphaseMixture/phase/phase.C
+++ b/applications/solvers/multiphase/multiphaseInterFoam/multiphaseMixture/phase/phase.C
@@ -28,7 +28,7 @@ License
 
 // * * * * * * * * * * * * * * * * Constructors  * * * * * * * * * * * * * * //
 
-Foam::phase::phase 
+Foam::phase::phase
 (
     const word& name,
     const dictionary& phaseDict,
diff --git a/applications/solvers/multiphase/settlingFoam/correctViscosity.H b/applications/solvers/multiphase/settlingFoam/correctViscosity.H
index 0c22a12ea29..ddc539dcdb6 100644
--- a/applications/solvers/multiphase/settlingFoam/correctViscosity.H
+++ b/applications/solvers/multiphase/settlingFoam/correctViscosity.H
@@ -1,5 +1,5 @@
 {
-    mul = muc + 
+    mul = muc +
         plasticViscosity
         (
             plasticViscosityCoeff,
diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/UEqns.H b/applications/solvers/multiphase/twoPhaseEulerFoam/UEqns.H
index 93593196af9..9f0417045b9 100644
--- a/applications/solvers/multiphase/twoPhaseEulerFoam/UEqns.H
+++ b/applications/solvers/multiphase/twoPhaseEulerFoam/UEqns.H
@@ -56,7 +56,7 @@ fvVectorMatrix UbEqn(Ub, Ub.dimensions()*dimVol/dimTime);
             -fvc::interpolate(nuEffb)*mesh.magSf()*fvc::snGrad(beta)
             /fvc::interpolate(beta + scalar(0.001));
 
-        UbEqn = 
+        UbEqn =
         (
             (scalar(1) + Cvm*rhob*alpha/rhob)*
             (
diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/conductivityModel/conductivityModel/newConductivityModel.C b/applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/conductivityModel/conductivityModel/newConductivityModel.C
index e5d27350b35..999dc887d86 100644
--- a/applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/conductivityModel/conductivityModel/newConductivityModel.C
+++ b/applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/conductivityModel/conductivityModel/newConductivityModel.C
@@ -35,9 +35,9 @@ Foam::autoPtr<Foam::conductivityModel> Foam::conductivityModel::New
 {
     word conductivityModelType(dict.lookup("conductivityModel"));
 
-    Info<< "Selecting conductivityModel " 
+    Info<< "Selecting conductivityModel "
         << conductivityModelType << endl;
-        
+
     dictionaryConstructorTable::iterator cstrIter =
         dictionaryConstructorTablePtr_->find(conductivityModelType);
 
diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/frictionalStressModel/JohnsonJackson/JohnsonJacksonFrictionalStress.C b/applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/frictionalStressModel/JohnsonJackson/JohnsonJacksonFrictionalStress.C
index a7c65bc13fd..174ff70a505 100644
--- a/applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/frictionalStressModel/JohnsonJackson/JohnsonJacksonFrictionalStress.C
+++ b/applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/frictionalStressModel/JohnsonJackson/JohnsonJacksonFrictionalStress.C
@@ -73,7 +73,7 @@ frictionalPressure
 ) const
 {
 
-    return 
+    return
         Fr*pow(max(alpha - alphaMinFriction, scalar(0)), eta)
        /pow(max(alphaMax - alpha, scalar(5.0e-2)), p);
 }
@@ -104,9 +104,9 @@ Foam::tmp<Foam::volScalarField> Foam::JohnsonJacksonFrictionalStress::muf
     const dimensionedScalar& alphaMax,
     const volScalarField& pf,
     const volTensorField& D,
-    const dimensionedScalar& phi            
+    const dimensionedScalar& phi
 ) const
-{    
+{
     return dimensionedScalar("0.5", dimTime, 0.5)*pf*sin(phi);
 }
 
diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/frictionalStressModel/frictionalStressModel/newFrictionalStressModel.C b/applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/frictionalStressModel/frictionalStressModel/newFrictionalStressModel.C
index fed001e0c06..7e542fc9783 100644
--- a/applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/frictionalStressModel/frictionalStressModel/newFrictionalStressModel.C
+++ b/applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/frictionalStressModel/frictionalStressModel/newFrictionalStressModel.C
@@ -35,9 +35,9 @@ Foam::autoPtr<Foam::frictionalStressModel> Foam::frictionalStressModel::New
 {
     word frictionalStressModelType(dict.lookup("frictionalStressModel"));
 
-    Info<< "Selecting frictionalStressModel " 
+    Info<< "Selecting frictionalStressModel "
         << frictionalStressModelType << endl;
-        
+
     dictionaryConstructorTable::iterator cstrIter =
         dictionaryConstructorTablePtr_->find(frictionalStressModelType);
 
diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/granularPressureModel/granularPressureModel/newGranularPressureModel.C b/applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/granularPressureModel/granularPressureModel/newGranularPressureModel.C
index cda9814b46e..e673544a9b6 100644
--- a/applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/granularPressureModel/granularPressureModel/newGranularPressureModel.C
+++ b/applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/granularPressureModel/granularPressureModel/newGranularPressureModel.C
@@ -35,9 +35,9 @@ Foam::autoPtr<Foam::granularPressureModel> Foam::granularPressureModel::New
 {
     word granularPressureModelType(dict.lookup("granularPressureModel"));
 
-    Info<< "Selecting granularPressureModel " 
+    Info<< "Selecting granularPressureModel "
         << granularPressureModelType << endl;
-        
+
     dictionaryConstructorTable::iterator cstrIter =
         dictionaryConstructorTablePtr_->find(granularPressureModelType);
 
diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/radialModel/CarnahanStarling/CarnahanStarlingRadial.C b/applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/radialModel/CarnahanStarling/CarnahanStarlingRadial.C
index e2114f9baff..f7651d22799 100644
--- a/applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/radialModel/CarnahanStarling/CarnahanStarlingRadial.C
+++ b/applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/radialModel/CarnahanStarling/CarnahanStarlingRadial.C
@@ -65,7 +65,7 @@ Foam::tmp<Foam::volScalarField> Foam::CarnahanStarlingRadial::g0
 ) const
 {
 
-    return 
+    return
         1.0/(1.0 - alpha)
       + 3.0*alpha/(2.0*sqr(1.0 - alpha))
       + sqr(alpha)/(2.0*pow(1.0 - alpha, 3));
@@ -78,8 +78,8 @@ Foam::tmp<Foam::volScalarField> Foam::CarnahanStarlingRadial::g0prime
     const dimensionedScalar& alphaMax
 ) const
 {
-    return 
-        - alpha/sqr(1.0 - alpha) 
+    return
+        - alpha/sqr(1.0 - alpha)
         + (3.0*(1.0 - alpha) + 6.0*sqr(alpha))/(2.0*(1.0 - alpha))
         + (2.0*alpha*(1.0 - alpha) + 3.0*pow(alpha, 3))
          /(2.0*pow(1.0 - alpha, 4));
diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/radialModel/Gidaspow/GidaspowRadial.C b/applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/radialModel/Gidaspow/GidaspowRadial.C
index d62a9c1c656..9ef25b9340c 100644
--- a/applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/radialModel/Gidaspow/GidaspowRadial.C
+++ b/applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/radialModel/Gidaspow/GidaspowRadial.C
@@ -74,7 +74,7 @@ Foam::tmp<Foam::volScalarField> Foam::GidaspowRadial::g0prime
     const dimensionedScalar& alphaMax
 ) const
 {
-    return 
+    return
         (-1.0/5.0)*pow(alpha/alphaMax, -2.0/3.0)
        /(alphaMax*sqr(1.0 - pow(alpha/alphaMax, 1.0/3.0)));
 }
diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/radialModel/SinclairJackson/SinclairJacksonRadial.C b/applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/radialModel/SinclairJackson/SinclairJacksonRadial.C
index a600b350a8f..f9f4a68c091 100644
--- a/applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/radialModel/SinclairJackson/SinclairJacksonRadial.C
+++ b/applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/radialModel/SinclairJackson/SinclairJacksonRadial.C
@@ -74,7 +74,7 @@ Foam::tmp<Foam::volScalarField> Foam::SinclairJacksonRadial::g0prime
     const dimensionedScalar& alphaMax
 ) const
 {
-    return 
+    return
         (-1.0/3.0)*pow(alpha/alphaMax, -2.0/3.0)
        /(alphaMax*sqr(1.0 - pow(alpha/alphaMax, 1.0/3.0)));
 }
diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/radialModel/radialModel/newRadialModel.C b/applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/radialModel/radialModel/newRadialModel.C
index fc6b2ed5d96..72d7a1193da 100644
--- a/applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/radialModel/radialModel/newRadialModel.C
+++ b/applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/radialModel/radialModel/newRadialModel.C
@@ -35,9 +35,9 @@ Foam::autoPtr<Foam::radialModel> Foam::radialModel::New
 {
     word radialModelType(dict.lookup("radialModel"));
 
-    Info<< "Selecting radialModel " 
+    Info<< "Selecting radialModel "
         << radialModelType << endl;
-        
+
     dictionaryConstructorTable::iterator cstrIter =
         dictionaryConstructorTablePtr_->find(radialModelType);
 
diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/pEqn.H b/applications/solvers/multiphase/twoPhaseEulerFoam/pEqn.H
index 57a25a299d3..7645aeb2043 100644
--- a/applications/solvers/multiphase/twoPhaseEulerFoam/pEqn.H
+++ b/applications/solvers/multiphase/twoPhaseEulerFoam/pEqn.H
@@ -42,7 +42,7 @@
 
     phib = (fvc::interpolate(Ub) & mesh.Sf()) + fvc::ddtPhiCorr(rUbA, Ub, phib)
          + phiDragb;
-    
+
     phi = alphaf*phia + betaf*phib;
 
     surfaceScalarField Dp("(rho*(1|A(U)))", alphaf*rUaAf/rhoa + betaf*rUbAf/rhob);
diff --git a/applications/solvers/stressAnalysis/solidDisplacementFoam/tractionDisplacement/tractionDisplacementFvPatchVectorField.C b/applications/solvers/stressAnalysis/solidDisplacementFoam/tractionDisplacement/tractionDisplacementFvPatchVectorField.C
index 515e638be4f..92039de085f 100644
--- a/applications/solvers/stressAnalysis/solidDisplacementFoam/tractionDisplacement/tractionDisplacementFvPatchVectorField.C
+++ b/applications/solvers/stressAnalysis/solidDisplacementFoam/tractionDisplacement/tractionDisplacementFvPatchVectorField.C
@@ -177,7 +177,7 @@ void tractionDisplacementFvPatchVectorField::updateCoeffs()
     gradient() =
     (
         (traction_ + pressure_*n)/rho.value()
-      + twoMuLambda*fvPatchField<vector>::snGrad() - (n & sigmaD) 
+      + twoMuLambda*fvPatchField<vector>::snGrad() - (n & sigmaD)
     )/twoMuLambda;
 
     Switch thermalStress(thermalProperties.lookup("thermalStress"));
@@ -187,7 +187,7 @@ void tractionDisplacementFvPatchVectorField::updateCoeffs()
         dimensionedScalar alpha(thermalProperties.lookup("alpha"));
         dimensionedScalar threeKalpha = threeK*alpha;
 
-        const fvPatchField<scalar>& T = 
+        const fvPatchField<scalar>& T =
             patch().lookupPatchField<volScalarField, scalar>("T");
 
         gradient() += n*threeKalpha.value()*T/twoMuLambda;
diff --git a/applications/solvers/stressAnalysis/solidEquilibriumDisplacementFoam/solidEquilibriumDisplacementFoam.C b/applications/solvers/stressAnalysis/solidEquilibriumDisplacementFoam/solidEquilibriumDisplacementFoam.C
index 4c14b00cc61..70b8b76d391 100644
--- a/applications/solvers/stressAnalysis/solidEquilibriumDisplacementFoam/solidEquilibriumDisplacementFoam.C
+++ b/applications/solvers/stressAnalysis/solidEquilibriumDisplacementFoam/solidEquilibriumDisplacementFoam.C
@@ -72,7 +72,7 @@ int main(int argc, char *argv[])
         {
             volTensorField gradDcorr = fvc::grad(Dcorr);
 
-            sigmaExp = 
+            sigmaExp =
                 (lambda - mu)*gradDcorr + mu*gradDcorr.T()
               + (lambda*I)*tr(gradDcorr);
 
diff --git a/applications/solvers/stressAnalysis/solidEquilibriumDisplacementFoam/tractionDisplacementCorrection/tractionDisplacementCorrectionFvPatchVectorField.C b/applications/solvers/stressAnalysis/solidEquilibriumDisplacementFoam/tractionDisplacementCorrection/tractionDisplacementCorrectionFvPatchVectorField.C
index d071ff7c78d..3cec9205f53 100644
--- a/applications/solvers/stressAnalysis/solidEquilibriumDisplacementFoam/tractionDisplacementCorrection/tractionDisplacementCorrectionFvPatchVectorField.C
+++ b/applications/solvers/stressAnalysis/solidEquilibriumDisplacementFoam/tractionDisplacementCorrection/tractionDisplacementCorrectionFvPatchVectorField.C
@@ -171,7 +171,7 @@ void tractionDisplacementCorrectionFvPatchVectorField::updateCoeffs()
     const fvPatchField<symmTensor>& sigmaD =
         patch().lookupPatchField<volSymmTensorField, symmTensor>("sigmaD");
 
-    const fvPatchField<tensor>& sigmaExp = 
+    const fvPatchField<tensor>& sigmaExp =
         patch().lookupPatchField<volTensorField, tensor>("sigmaExp");
 
     gradient() =
diff --git a/applications/utilities/mesh/advanced/selectCells/edgeStats.H b/applications/utilities/mesh/advanced/selectCells/edgeStats.H
index 6cba727557c..f39b323468c 100644
--- a/applications/utilities/mesh/advanced/selectCells/edgeStats.H
+++ b/applications/utilities/mesh/advanced/selectCells/edgeStats.H
@@ -67,7 +67,7 @@ class edgeStats
 
         //- If 2d get component of normal dir.
         direction getNormalDir(const twoDPointCorrector*) const;
-        
+
 
         //- Disallow default bitwise copy construct
         edgeStats(const edgeStats&);
diff --git a/applications/utilities/mesh/conversion/fluentMeshToFoam/README.txt b/applications/utilities/mesh/conversion/fluentMeshToFoam/README.txt
index 8089acb5311..1dcfe05a8ea 100644
--- a/applications/utilities/mesh/conversion/fluentMeshToFoam/README.txt
+++ b/applications/utilities/mesh/conversion/fluentMeshToFoam/README.txt
@@ -2,35 +2,35 @@ Notes for fluentMeshToFoam with zone preservation
 #################################################
 
 1. New option added:
-    - writeSets: 
+    - writeSets:
     Writes all Fluent boundaries faceSets preserving Fluent names
     Writes all Fluent regions to cellSets preserving Fluent names
     lines: 1375 - 1393 & 1673 - 1741
     sets are useful for post-processing using foamToVTK with the "-faceSet
     <name>" and "-cellSet <name>" options.
-    
-    - writeZones: 
+
+    - writeZones:
     Writes all regions to cellZones preserving Fluent names
-    Writes all region internal face to faceZones preserving Fluent names 
+    Writes all region internal face to faceZones preserving Fluent names
     lines: 1545 - 1667
     Zones are usefull for porous media and MRF calculations
 
 2. Zone Access
-    - Zones are simple lists of label lists that can be accessed from polyMesh 
+    - Zones are simple lists of label lists that can be accessed from polyMesh
     with the cellZones(), faceZones() and pointZones() member functions
 
     - Example (Members from polyMesh.H and ZoneMesh.H):
     label thisCellZoneID = mesh.cellZones().findZoneID("thisZoneName");
     const labelList& thisCellZone = mesh.cellZones()[thisCellZoneID];
-    
+
     - Zone integrity is preserved during mesh modification and decompomposition.
-    
-    - Once created via addZones, zones allow modification through non-const 
+
+    - Once created via addZones, zones allow modification through non-const
     access
 
 3. Fluent boundary types.
     - All internal and baffle elements are ignored during conversion
-    
+
     - Boundary faces labelled as internal (i.e. interior, interface, internal,
     solid, fan, radiator, porous-jump) but that are in fact external boundaries
     will be added to a default wall boundary.
diff --git a/applications/utilities/mesh/conversion/gmshToFoam/Make/options b/applications/utilities/mesh/conversion/gmshToFoam/Make/options
index b9b67515f1d..7349856cabe 100644
--- a/applications/utilities/mesh/conversion/gmshToFoam/Make/options
+++ b/applications/utilities/mesh/conversion/gmshToFoam/Make/options
@@ -4,4 +4,4 @@ EXE_INC = \
 
 EXE_LIBS = \
     -ldynamicMesh \
-    -lmeshTools 
+    -lmeshTools
diff --git a/applications/utilities/mesh/conversion/sammToFoam/readBoundary.C b/applications/utilities/mesh/conversion/sammToFoam/readBoundary.C
index dcd23aa5db4..57c165431f3 100644
--- a/applications/utilities/mesh/conversion/sammToFoam/readBoundary.C
+++ b/applications/utilities/mesh/conversion/sammToFoam/readBoundary.C
@@ -188,7 +188,7 @@ void sammMesh::readBoundary()
                 boundary_[patchLabel][nPatchFaces[patchLabel]]
                     = face(pointLabels);
             }
-            
+
             // increment counter of faces in current patch
             nPatchFaces[patchLabel]++;
         }
diff --git a/applications/utilities/mesh/conversion/starToFoam/readBoundary.C b/applications/utilities/mesh/conversion/starToFoam/readBoundary.C
index 7bc9274247e..8bb7852d109 100644
--- a/applications/utilities/mesh/conversion/starToFoam/readBoundary.C
+++ b/applications/utilities/mesh/conversion/starToFoam/readBoundary.C
@@ -186,7 +186,7 @@ void starMesh::readBoundary()
                 boundary_[patchLabel][nPatchFaces[patchLabel]]
                     = face(pointLabels);
             }
-            
+
             // increment counter of faces in current patch
             nPatchFaces[patchLabel]++;
         }
diff --git a/applications/utilities/mesh/conversion/starToFoam/readPoints.C b/applications/utilities/mesh/conversion/starToFoam/readPoints.C
index fa59848b8ab..e2206bd4e58 100644
--- a/applications/utilities/mesh/conversion/starToFoam/readPoints.C
+++ b/applications/utilities/mesh/conversion/starToFoam/readPoints.C
@@ -95,7 +95,7 @@ void starMesh::readPoints(const scalar scaleFactor)
                 pointLabel = readVtxLabel(pointsFile);
 
                 if (!pointsFile) break;
-                
+
                 maxLabel = max(maxLabel, pointLabel);
 
                 x = readVtxCmpt(pointsFile);
diff --git a/applications/utilities/mesh/conversion/writeMeshObj/Make/options b/applications/utilities/mesh/conversion/writeMeshObj/Make/options
index 0cd3a75c53f..54c035b8f55 100644
--- a/applications/utilities/mesh/conversion/writeMeshObj/Make/options
+++ b/applications/utilities/mesh/conversion/writeMeshObj/Make/options
@@ -2,4 +2,4 @@ EXE_INC = \
     -I$(LIB_SRC)/meshTools/lnInclude
 
 EXE_LIBS = \
-    -lmeshTools 
+    -lmeshTools
diff --git a/applications/utilities/mesh/generation/extrudeMesh/extrudedMesh/extrudedMesh.C b/applications/utilities/mesh/generation/extrudeMesh/extrudedMesh/extrudedMesh.C
index 16bab41094a..11445c28b15 100644
--- a/applications/utilities/mesh/generation/extrudeMesh/extrudedMesh/extrudedMesh.C
+++ b/applications/utilities/mesh/generation/extrudeMesh/extrudedMesh/extrudedMesh.C
@@ -95,7 +95,7 @@ Foam::Xfer<Foam::faceList> Foam::extrudedMesh::extrudedFaces
 
     const label nLayers = model.nLayers();
 
-    label nFaces = 
+    label nFaces =
         (nLayers + 1)*surfaceFaces.size() + nLayers*surfaceEdges.size();
 
     faceList eFaces(nFaces);
diff --git a/applications/utilities/mesh/generation/snappyHexMesh/snappyHexMesh.C b/applications/utilities/mesh/generation/snappyHexMesh/snappyHexMesh.C
index 727d21c0615..7fcf53e935d 100644
--- a/applications/utilities/mesh/generation/snappyHexMesh/snappyHexMesh.C
+++ b/applications/utilities/mesh/generation/snappyHexMesh/snappyHexMesh.C
@@ -192,7 +192,7 @@ int main(int argc, char *argv[])
         autoRefineDriver::debug = debug;
         autoSnapDriver::debug = debug;
         autoLayerDriver::debug = debug;
-    }        
+    }
 
 
     // Read geometry
diff --git a/applications/utilities/mesh/manipulation/checkMesh/printMeshStats.C b/applications/utilities/mesh/manipulation/checkMesh/printMeshStats.C
index 462d1531f8d..2179e67b0c0 100644
--- a/applications/utilities/mesh/manipulation/checkMesh/printMeshStats.C
+++ b/applications/utilities/mesh/manipulation/checkMesh/printMeshStats.C
@@ -129,7 +129,7 @@ void Foam::printMeshStats(const polyMesh& mesh, const bool allTopology)
     }
 
     reduce(nHex,sumOp<label>());
-    reduce(nPrism,sumOp<label>()); 
+    reduce(nPrism,sumOp<label>());
     reduce(nWedge,sumOp<label>());
     reduce(nPyr,sumOp<label>());
     reduce(nTetWedge,sumOp<label>());
diff --git a/applications/utilities/mesh/manipulation/moveEngineMesh/moveEngineMesh.C b/applications/utilities/mesh/manipulation/moveEngineMesh/moveEngineMesh.C
index c47fa9ec174..5e1665abb5d 100644
--- a/applications/utilities/mesh/manipulation/moveEngineMesh/moveEngineMesh.C
+++ b/applications/utilities/mesh/manipulation/moveEngineMesh/moveEngineMesh.C
@@ -26,7 +26,7 @@ Application
     moveEngineMesh
 
 Description
-    Solver for moving meshes for engine calculations. 
+    Solver for moving meshes for engine calculations.
 
 \*---------------------------------------------------------------------------*/
 
@@ -54,7 +54,7 @@ int main(int argc, char *argv[])
         mesh.move();
 
         runTime.write();
- 
+
         Info<< "ExecutionTime = " << runTime.elapsedCpuTime() << " s"
             << "  ClockTime = " << runTime.elapsedClockTime() << " s"
             << nl << endl;
diff --git a/applications/utilities/mesh/manipulation/objToVTK/Make/options b/applications/utilities/mesh/manipulation/objToVTK/Make/options
index bfef1fb1cdf..0548bdd0220 100644
--- a/applications/utilities/mesh/manipulation/objToVTK/Make/options
+++ b/applications/utilities/mesh/manipulation/objToVTK/Make/options
@@ -1,4 +1,4 @@
-/* 
+/*
 EXE_INC = \
     -I$(LIB_SRC)/triSurface/lnInclude
 
diff --git a/applications/utilities/mesh/manipulation/setSet/writePatch.C b/applications/utilities/mesh/manipulation/setSet/writePatch.C
index 7ccbc851ba3..d434bca5e36 100644
--- a/applications/utilities/mesh/manipulation/setSet/writePatch.C
+++ b/applications/utilities/mesh/manipulation/setSet/writePatch.C
@@ -67,7 +67,7 @@ void writePatch
     //------------------------------------------------------------------
     //
     // Write topology
-    // 
+    //
     //------------------------------------------------------------------
 
 
@@ -108,7 +108,7 @@ void writePatch
     //-----------------------------------------------------------------
     //
     // Write data
-    // 
+    //
     //-----------------------------------------------------------------
 
     // Write faceID
diff --git a/applications/utilities/mesh/manipulation/setSet/writePointSet.C b/applications/utilities/mesh/manipulation/setSet/writePointSet.C
index e55efca4005..4592a958b06 100644
--- a/applications/utilities/mesh/manipulation/setSet/writePointSet.C
+++ b/applications/utilities/mesh/manipulation/setSet/writePointSet.C
@@ -64,7 +64,7 @@ void writePointSet
     //------------------------------------------------------------------
     //
     // Write topology
-    // 
+    //
     //------------------------------------------------------------------
 
 
@@ -86,7 +86,7 @@ void writePointSet
     //-----------------------------------------------------------------
     //
     // Write data
-    // 
+    //
     //-----------------------------------------------------------------
 
     // Write pointID
diff --git a/applications/utilities/mesh/manipulation/splitMesh/Make/options b/applications/utilities/mesh/manipulation/splitMesh/Make/options
index 736353f2f59..73f34b0f85f 100644
--- a/applications/utilities/mesh/manipulation/splitMesh/Make/options
+++ b/applications/utilities/mesh/manipulation/splitMesh/Make/options
@@ -1,6 +1,6 @@
 EXE_INC = \
     -I$(LIB_SRC)/dynamicMesh/lnInclude \
-    -I$(LIB_SRC)/meshTools/lnInclude 
+    -I$(LIB_SRC)/meshTools/lnInclude
 
 EXE_LIBS = \
     -ldynamicMesh \
diff --git a/applications/utilities/mesh/manipulation/splitMesh/regionSide.C b/applications/utilities/mesh/manipulation/splitMesh/regionSide.C
index 604b39cc6c7..713a818265f 100644
--- a/applications/utilities/mesh/manipulation/splitMesh/regionSide.C
+++ b/applications/utilities/mesh/manipulation/splitMesh/regionSide.C
@@ -376,7 +376,7 @@ void Foam::regionSide::walkAllPointConnectedFaces
             // Get the face 'perpendicular' to faceI on region.
             label otherFaceI = otherFace(mesh, cellI, faceI, edgeI);
 
-            // Edge 
+            // Edge
             const edge& e = mesh.edges()[edgeI];
 
             if (!visitedPoint.found(e.start()))
diff --git a/applications/utilities/mesh/manipulation/splitMesh/regionSide.H b/applications/utilities/mesh/manipulation/splitMesh/regionSide.H
index 45f45166726..f95aeafdffe 100644
--- a/applications/utilities/mesh/manipulation/splitMesh/regionSide.H
+++ b/applications/utilities/mesh/manipulation/splitMesh/regionSide.H
@@ -26,7 +26,7 @@ Class
     Foam::regionSide
 
 Description
-    Determines the 'side' for every face and connected to a 
+    Determines the 'side' for every face and connected to a
     singly-connected (through edges) region of faces. Gets set of faces and
     a list of mesh edges ('fenceEdges') which should not be crossed.
     Used in splitting a mesh region.
diff --git a/applications/utilities/mesh/manipulation/zipUpMesh/zipUpMesh.C b/applications/utilities/mesh/manipulation/zipUpMesh/zipUpMesh.C
index d134767702c..915b6367878 100644
--- a/applications/utilities/mesh/manipulation/zipUpMesh/zipUpMesh.C
+++ b/applications/utilities/mesh/manipulation/zipUpMesh/zipUpMesh.C
@@ -26,7 +26,7 @@ Application
     zipUpMesh
 
 Description
-    Reads in a mesh with hanging vertices and zips up the cells to guarantee 
+    Reads in a mesh with hanging vertices and zips up the cells to guarantee
     that all polyhedral cells of valid shape are closed.
 
     Meshes with hanging vertices may occur as a result of split
diff --git a/applications/utilities/parallelProcessing/decomposePar/decomposeParDict b/applications/utilities/parallelProcessing/decomposePar/decomposeParDict
index e1620d72014..292421855c9 100644
--- a/applications/utilities/parallelProcessing/decomposePar/decomposeParDict
+++ b/applications/utilities/parallelProcessing/decomposePar/decomposeParDict
@@ -82,7 +82,7 @@ manualCoeffs
 //// Is the case distributed
 //distributed     yes;
 //// Per slave (so nProcs-1 entries) the directory above the case.
-//roots           
+//roots
 //(
 //    "/tmp"
 //    "/tmp"
diff --git a/applications/utilities/parallelProcessing/decomposePar/fvFieldDecomposer.H b/applications/utilities/parallelProcessing/decomposePar/fvFieldDecomposer.H
index 89b69a17813..822118a28e2 100644
--- a/applications/utilities/parallelProcessing/decomposePar/fvFieldDecomposer.H
+++ b/applications/utilities/parallelProcessing/decomposePar/fvFieldDecomposer.H
@@ -200,10 +200,10 @@ private:
         //- List of patch field decomposers
         List<patchFieldDecomposer*> patchFieldDecomposerPtrs_;
 
-        List<processorVolPatchFieldDecomposer*> 
+        List<processorVolPatchFieldDecomposer*>
             processorVolPatchFieldDecomposerPtrs_;
 
-        List<processorSurfacePatchFieldDecomposer*> 
+        List<processorSurfacePatchFieldDecomposer*>
             processorSurfacePatchFieldDecomposerPtrs_;
 
 
diff --git a/applications/utilities/postProcessing/dataConversion/foamDataToFluent/fluentUnitNumbers.txt b/applications/utilities/postProcessing/dataConversion/foamDataToFluent/fluentUnitNumbers.txt
index 2721e099d62..f85462d171d 100644
--- a/applications/utilities/postProcessing/dataConversion/foamDataToFluent/fluentUnitNumbers.txt
+++ b/applications/utilities/postProcessing/dataConversion/foamDataToFluent/fluentUnitNumbers.txt
@@ -56,7 +56,7 @@ enum {
   XF_RF_DATA_PREMIXC_RATE=44,
   XF_RF_DATA_POLLUT2=45,
   XF_RF_DATA_POLLUT3=46,
-  
+
   XF_RF_DATA_MASS_FLUX_M1=47,
   XF_RF_DATA_MASS_FLUX_M2=48,
   XF_RF_DATA_GRID_FLUX=49,
@@ -78,7 +78,7 @@ enum {
   XF_RF_DATA_SLIP_W=62,
 
   XF_RF_DATA_SDR=63,          /* omega in the k-w model */
-  XF_RF_DATA_SDR_M1=64, 
+  XF_RF_DATA_SDR_M1=64,
   XF_RF_DATA_SDR_M2=65,
 
   XF_RF_DATA_POLLUT4=66,
@@ -86,7 +86,7 @@ enum {
   XF_RF_DATA_GRANULAR_TEMPERATURE_M1 = 68,
   XF_RF_DATA_GRANULAR_TEMPERATURE_M2 = 69,
 
-  XF_RF_DATA_VFLUX=70,     
+  XF_RF_DATA_VFLUX=70,
 
   XF_RF_DATA_VFLUX_M1=80,
 
@@ -118,7 +118,7 @@ enum {
   XF_RF_DATA_X_VELOCITY_M1=115,
   XF_RF_DATA_Y_VELOCITY_M1=116,
   XF_RF_DATA_Z_VELOCITY_M1=117,
-  
+
   XF_RF_DATA_PHASE_MASS=118,    /* cavitation mass source */
   XF_RF_DATA_TEMPERATURE_M1=0,  /* never stored but symbol is required
 */
@@ -139,7 +139,7 @@ enum {
   XF_RF_DATA_RUV=131,	/* V5 reynolds stress model */
   XF_RF_DATA_RVW=132,	/* V5 reynolds stress model */
   XF_RF_DATA_RUW=133,	/* V5 reynolds stress model */
-  
+
   XF_RF_DATA_DPMS_EROSION=134,
   XF_RF_DATA_DPMS_ACCRETION=135,
 
@@ -162,17 +162,17 @@ enum {
   XF_RF_DATA_PREMIXC_M2=149,
 
   /*vof 1,2,3,4 kept for v5 compatibility */
-  XF_RF_DATA_VOF = 150, 
-  XF_RF_DATA_VOF_1 = 151, 
-  XF_RF_DATA_VOF_2 = 152, 
-  XF_RF_DATA_VOF_3 = 153, 
-  XF_RF_DATA_VOF_4 = 154, 
-
-  XF_RF_DATA_VOF_M1 = 160 , 
-  XF_RF_DATA_VOF_1_M1 = 161 , 
-  XF_RF_DATA_VOF_2_M1 = 162 , 
+  XF_RF_DATA_VOF = 150,
+  XF_RF_DATA_VOF_1 = 151,
+  XF_RF_DATA_VOF_2 = 152,
+  XF_RF_DATA_VOF_3 = 153,
+  XF_RF_DATA_VOF_4 = 154,
+
+  XF_RF_DATA_VOF_M1 = 160 ,
+  XF_RF_DATA_VOF_1_M1 = 161 ,
+  XF_RF_DATA_VOF_2_M1 = 162 ,
   XF_RF_DATA_VOF_3_M1 = 163 ,
-  XF_RF_DATA_VOF_4_M1 = 164 , 
+  XF_RF_DATA_VOF_4_M1 = 164 ,
 
   XF_RF_DATA_VOF_M2 = 170 ,
   XF_RF_DATA_VOF_1_M2 = 171 ,
@@ -194,7 +194,7 @@ coefficient for particles */
   XF_RF_DATA_NRBC_DC=194,                    /* change in char. var for
 nrbc*/
 
-  
+
   EXPAND_50_EQUAL(XF_RF_DATA_Y_,       200), /* species */
   EXPAND_50(XF_RF_DATA_Y_,_M1=,        250), /* species at fist time
 level */
@@ -219,21 +219,21 @@ level */
   XF_RF_DATA_VOF_MEAN=410,
   XF_RF_DATA_VOF_RMS=411,
   EXPAND_50_EQUAL(XF_RF_DATA_DPMS_Y_,450),
-  
+
   /* Don't add section ids here unless you need a large contiguous
 chunk.
    * Use id's 40-100 first! */
   XF_RF_DATA_NUT=500,
   XF_RF_DATA_NUT_M1=501,
   XF_RF_DATA_NUT_M2=502,
-  
+
   XF_RF_DATA_RUU_M1=503,	
   XF_RF_DATA_RVV_M1=504,	
   XF_RF_DATA_RWW_M1=505,	
   XF_RF_DATA_RUV_M1=506,	
   XF_RF_DATA_RVW_M1=507,	
   XF_RF_DATA_RUW_M1=508,
-  
+
   XF_RF_DATA_RUU_M2=509,	
   XF_RF_DATA_RVV_M2=510,	
   XF_RF_DATA_RWW_M2=511,	
@@ -246,7 +246,7 @@ chunk.
 
   XF_RF_DATA_DENSITY_M1=517,
   XF_RF_DATA_DENSITY_M2=518,
-  
+
   XF_RF_DATA_DPMS_PDF_1=519,
   XF_RF_DATA_DPMS_PDF_2=520,
 
diff --git a/applications/utilities/postProcessing/dataConversion/foamToFieldview9/calcFaceAddressing.C b/applications/utilities/postProcessing/dataConversion/foamToFieldview9/calcFaceAddressing.C
index 557813337dc..33d83ad104f 100644
--- a/applications/utilities/postProcessing/dataConversion/foamToFieldview9/calcFaceAddressing.C
+++ b/applications/utilities/postProcessing/dataConversion/foamToFieldview9/calcFaceAddressing.C
@@ -42,7 +42,7 @@ labelList calcFaceAddressing
     const label cellI
 )
 {
-    // return value. 
+    // return value.
     labelList shapeToMesh(shape.nFaces(), -1);
 
     const faceList modelFaces(shape.faces());
diff --git a/applications/utilities/postProcessing/dataConversion/foamToGMV/Make/options b/applications/utilities/postProcessing/dataConversion/foamToGMV/Make/options
index db1117a9b60..e09f6bdc7f1 100644
--- a/applications/utilities/postProcessing/dataConversion/foamToGMV/Make/options
+++ b/applications/utilities/postProcessing/dataConversion/foamToGMV/Make/options
@@ -10,9 +10,9 @@ EXE_INC = \
     -I$(LIB_SRC)/browser/lnInclude \
     -I$(LIB_SRC)/foam/lnInclude \
     -I$(LIB_SRC)/lagrangian/basic/lnInclude \
-    -I$(LIB_SRC)/lagrangian/dieselSpray/lnInclude 
+    -I$(LIB_SRC)/lagrangian/dieselSpray/lnInclude
 
 EXE_LIBS = \
     -lfiniteVolume \
     -lgenericPatchFields \
-    -llagrangian 
+    -llagrangian
diff --git a/applications/utilities/postProcessing/dataConversion/foamToGMV/gmvOutputHeader.H b/applications/utilities/postProcessing/dataConversion/foamToGMV/gmvOutputHeader.H
index 46fa702ea1c..842a4684d4b 100644
--- a/applications/utilities/postProcessing/dataConversion/foamToGMV/gmvOutputHeader.H
+++ b/applications/utilities/postProcessing/dataConversion/foamToGMV/gmvOutputHeader.H
@@ -28,7 +28,7 @@ for (label indx=0;indx<cells.size();indx++)
         gmvFile << "hex     " << 8 << " ";
         for (label ip=0; ip<nNodes; ip++)
         {
-            gmvFile << cells[indx][ip] + 1 << " ";        
+            gmvFile << cells[indx][ip] + 1 << " ";
         }
         gmvFile << nl;
     }
@@ -37,7 +37,7 @@ for (label indx=0;indx<cells.size();indx++)
         gmvFile << "tet     " << 4 << " ";
         for (label ip=0; ip<nNodes; ip++)
         {
-            gmvFile << cells[indx][ip] + 1 << " ";        
+            gmvFile << cells[indx][ip] + 1 << " ";
         }
         gmvFile << nl;
     }
@@ -46,7 +46,7 @@ for (label indx=0;indx<cells.size();indx++)
         gmvFile << "prism   " << 6 << " ";
         for (label ip=0; ip<nNodes; ip++)
         {
-            gmvFile << cells[indx][ip] + 1 << " ";        
+            gmvFile << cells[indx][ip] + 1 << " ";
         }
         gmvFile << nl;
     }
diff --git a/applications/utilities/postProcessing/dataConversion/foamToGMV/readConversionProperties.H b/applications/utilities/postProcessing/dataConversion/foamToGMV/readConversionProperties.H
index 215c5c96611..35f30932b4a 100644
--- a/applications/utilities/postProcessing/dataConversion/foamToGMV/readConversionProperties.H
+++ b/applications/utilities/postProcessing/dataConversion/foamToGMV/readConversionProperties.H
@@ -28,11 +28,11 @@ word format
 
 if ( (format != "ascii") && (format != "ieeei4r8") )
 {
-    FatalError << "format type: " << format << " unknown." 
+    FatalError << "format type: " << format << " unknown."
         << " Valid options are: ascii ieeei4r8"
         << abort(FatalError);
 
-}   
+}
 word cells
 (
     conversionProperties.lookup("cells")
diff --git a/applications/utilities/postProcessing/dataConversion/foamToTecplot360/foamToTecplot360.C b/applications/utilities/postProcessing/dataConversion/foamToTecplot360/foamToTecplot360.C
index 3a69ee880be..b5ab1e34d75 100644
--- a/applications/utilities/postProcessing/dataConversion/foamToTecplot360/foamToTecplot360.C
+++ b/applications/utilities/postProcessing/dataConversion/foamToTecplot360/foamToTecplot360.C
@@ -674,7 +674,7 @@ int main(int argc, char *argv[])
                   + timeDesc
                   + ".plt"
                 );
-                
+
                 tecplotWriter writer(runTime);
 
                 writer.writeInit
diff --git a/applications/utilities/postProcessing/dataConversion/foamToTecplot360/readFields.H b/applications/utilities/postProcessing/dataConversion/foamToTecplot360/readFields.H
index aa9754c5483..ad847dc358d 100644
--- a/applications/utilities/postProcessing/dataConversion/foamToTecplot360/readFields.H
+++ b/applications/utilities/postProcessing/dataConversion/foamToTecplot360/readFields.H
@@ -26,7 +26,7 @@ InClass
     Foam::readFields
 
 Description
-    
+
 SourceFiles
     readFields.C
 
diff --git a/applications/utilities/postProcessing/dataConversion/foamToTecplot360/tecplotWriter.C b/applications/utilities/postProcessing/dataConversion/foamToTecplot360/tecplotWriter.C
index 97e94d49824..b369f70380a 100644
--- a/applications/utilities/postProcessing/dataConversion/foamToTecplot360/tecplotWriter.C
+++ b/applications/utilities/postProcessing/dataConversion/foamToTecplot360/tecplotWriter.C
@@ -64,7 +64,7 @@ Pout<< endl
             const_cast<char*>(varNames.c_str()),   /* Variable List        */
             const_cast<char*>(fName.c_str()),      /* File Name            */
             const_cast<char*>(runTime_.path().c_str()), /* Scratch Directory */
-            &tecplotFileType,                 
+            &tecplotFileType,
             &Debug,
             &IsDouble
         )
@@ -99,11 +99,11 @@ void Foam::tecplotWriter::writePolyhedralZone
 
     INTEGER4  IsBlock    = 1;         /* block format  */
 
-    INTEGER4  NFConns    = 0;         /* not used for FEPolyhedron 
-                                       * zones 
+    INTEGER4  NFConns    = 0;         /* not used for FEPolyhedron
+                                       * zones
                                        */
-    INTEGER4  FNMode     = 0;         /* not used for FEPolyhedron 
-                                       * zones 
+    INTEGER4  FNMode     = 0;         /* not used for FEPolyhedron
+                                       * zones
                                        */
 Pout<< "zoneName:" << zoneName
     //<< " varLocArray:" << varLocArray
@@ -112,9 +112,9 @@ Pout<< "zoneName:" << zoneName
 
 
 
-    INTEGER4 *PassiveVarArray = NULL;       
-    INTEGER4 *VarShareArray   = NULL;      
-    INTEGER4  ShrConn         = 0;         
+    INTEGER4 *PassiveVarArray = NULL;
+    INTEGER4 *VarShareArray   = NULL;
+    INTEGER4  ShrConn         = 0;
 
     INTEGER4  NumBConns       = 0;   /* No Boundary Connections */
     INTEGER4  NumBItems       = 0;   /* No Boundary Items */
@@ -126,16 +126,16 @@ Pout<< "zoneName:" << zoneName
        !TECZNE112
         (
             const_cast<char*>(zoneName.c_str()),
-            &ZoneType,                  
-            &NumNodes,            
-            &NumElems,            
-            &NumFaces,            
-            &ICellMax,                    
-            &JCellMax,                    
-            &KCellMax,                    
-            &SolTime,                
-            &strandID,                    
-            &ParentZone,                 
+            &ZoneType,
+            &NumNodes,
+            &NumElems,
+            &NumFaces,
+            &ICellMax,
+            &JCellMax,
+            &KCellMax,
+            &SolTime,
+            &strandID,
+            &ParentZone,
             &IsBlock,
             &NFConns,
             &FNMode,
@@ -177,11 +177,11 @@ void Foam::tecplotWriter::writePolygonalZone
 
     INTEGER4  IsBlock    = 1;         /* block format  */
 
-    INTEGER4  NFConns    = 0;         /* not used for FEPolyhedron 
-                                       * zones 
+    INTEGER4  NFConns    = 0;         /* not used for FEPolyhedron
+                                       * zones
                                        */
-    INTEGER4  FNMode     = 0;         /* not used for FEPolyhedron 
-                                       * zones 
+    INTEGER4  FNMode     = 0;         /* not used for FEPolyhedron
+                                       * zones
                                        */
     INTEGER4  NumFaceNodes    = 2*pp.nEdges();
 
@@ -192,9 +192,9 @@ Pout<< "zoneName:" << zoneName
     << endl;
 
 
-    INTEGER4 *PassiveVarArray = NULL;       
-    INTEGER4 *VarShareArray   = NULL;      
-    INTEGER4  ShrConn         = 0;         
+    INTEGER4 *PassiveVarArray = NULL;
+    INTEGER4 *VarShareArray   = NULL;
+    INTEGER4  ShrConn         = 0;
 
     INTEGER4  NumBConns       = 0;   /* No Boundary Connections */
     INTEGER4  NumBItems       = 0;   /* No Boundary Items */
@@ -206,16 +206,16 @@ Pout<< "zoneName:" << zoneName
        !TECZNE112
         (
             const_cast<char*>(zoneName.c_str()),
-            &ZoneType,                  
-            &NumNodes,            
-            &NumElems,            
-            &NumFaces,            
-            &ICellMax,                    
-            &JCellMax,                    
-            &KCellMax,                    
-            &SolTime,                
-            &strandID,                    
-            &ParentZone,                 
+            &ZoneType,
+            &NumNodes,
+            &NumElems,
+            &NumFaces,
+            &ICellMax,
+            &JCellMax,
+            &KCellMax,
+            &SolTime,
+            &strandID,
+            &ParentZone,
             &IsBlock,
             &NFConns,
             &FNMode,
@@ -257,11 +257,11 @@ void Foam::tecplotWriter::writeOrderedZone
 
     INTEGER4  IsBlock    = 1;         /* block format  */
 
-    INTEGER4  NFConns    = 0;         /* not used for FEPolyhedron 
-                                       * zones 
+    INTEGER4  NFConns    = 0;         /* not used for FEPolyhedron
+                                       * zones
                                        */
-    INTEGER4  FNMode     = 0;         /* not used for FEPolyhedron 
-                                       * zones 
+    INTEGER4  FNMode     = 0;         /* not used for FEPolyhedron
+                                       * zones
                                        */
     INTEGER4  NumFaceNodes    = 1;
     INTEGER4  NumBConns       = 1;   /* No Boundary Connections */
@@ -274,9 +274,9 @@ Pout<< "zoneName:" << zoneName
     << endl;
 
 
-    INTEGER4 *PassiveVarArray = NULL;       
-    INTEGER4 *VarShareArray   = NULL;      
-    INTEGER4  ShrConn         = 0;         
+    INTEGER4 *PassiveVarArray = NULL;
+    INTEGER4 *VarShareArray   = NULL;
+    INTEGER4  ShrConn         = 0;
 
 
     INTEGER4  ZoneType = ZoneType_Ordered;
@@ -286,16 +286,16 @@ Pout<< "zoneName:" << zoneName
        !TECZNE112
         (
             const_cast<char*>(zoneName.c_str()),
-            &ZoneType,                  
-            &IMax,            
-            &JMax,            
-            &KMax,            
-            &ICellMax,                    
-            &JCellMax,                    
-            &KCellMax,                    
-            &SolTime,                
-            &strandID,                    
-            &ParentZone,                 
+            &ZoneType,
+            &IMax,
+            &JMax,
+            &KMax,
+            &ICellMax,
+            &JCellMax,
+            &KCellMax,
+            &SolTime,
+            &strandID,
+            &ParentZone,
             &IsBlock,
             &NFConns,
             &FNMode,
@@ -382,7 +382,7 @@ void Foam::tecplotWriter::writeConnectivity(const fvMesh& mesh) const
     {
 //        FatalErrorIn("tecplotWriter::writeConnectivity(const fvMesh&) const")
 //            << "Error in TECPOLY112." << exit(FatalError);
-    }    
+    }
 }
 
 
@@ -392,11 +392,11 @@ void Foam::tecplotWriter::writeConnectivity
 ) const
 {
     INTEGER4  NumFaces   = pp.nEdges();         /* number of unique faces */
-    INTEGER4  NumFaceNodes    = 2*pp.nEdges(); 
+    INTEGER4  NumFaceNodes    = 2*pp.nEdges();
 
     // All faces (=edges) have 2 nodes
     List<INTEGER4> FaceNodeCounts(NumFaces, 2);
-   
+
     List<INTEGER4> FaceNodes(NumFaceNodes);
     label nodeI = 0;
     forAll(pp.edges(), edgeI)
@@ -413,21 +413,21 @@ void Foam::tecplotWriter::writeConnectivity
 
     /* Define the right and left elements of each face.
      *
-     * The last step for writing out the polyhedral data is to 
-     * define the right and left neighboring elements for each  
-     * face.  The neighboring elements can be determined using the   
-     * right-hand rule.  For each face, place your right-hand along  
-     * the face which your fingers pointing the direction of  
-     * incrementing node numbers (i.e. from node 1 to node 2). 
-     * Your right thumb will point towards the right element; the 
+     * The last step for writing out the polyhedral data is to
+     * define the right and left neighboring elements for each
+     * face.  The neighboring elements can be determined using the
+     * right-hand rule.  For each face, place your right-hand along
+     * the face which your fingers pointing the direction of
+     * incrementing node numbers (i.e. from node 1 to node 2).
+     * Your right thumb will point towards the right element; the
      * element on the other side of your hand is the left element.
-     * 
-     * The number zero is used to indicate that there isn't an 
-     * element on that side of the face.  
-     * 
-     * Because of the way we numbered the nodes and faces, the 
-     * right element for every face is the element itself  
-     * (element 1) and the left element is "no-neighboring element" 
+     *
+     * The number zero is used to indicate that there isn't an
+     * element on that side of the face.
+     *
+     * Because of the way we numbered the nodes and faces, the
+     * right element for every face is the element itself
+     * (element 1) and the left element is "no-neighboring element"
      * (element 0).
      */
 
@@ -508,7 +508,7 @@ Pout<< "writeEnd" << endl;
     {
 //        FatalErrorIn("tecplotWriter::writeEnd() const")
 //            << "Error in TECEND112." << exit(FatalError);
-    }    
+    }
 
 }
 
diff --git a/applications/utilities/postProcessing/dataConversion/foamToVTK/internalWriter.C b/applications/utilities/postProcessing/dataConversion/foamToVTK/internalWriter.C
index adf9acaf016..e44dec894c3 100644
--- a/applications/utilities/postProcessing/dataConversion/foamToVTK/internalWriter.C
+++ b/applications/utilities/postProcessing/dataConversion/foamToVTK/internalWriter.C
@@ -53,7 +53,7 @@ Foam::internalWriter::internalWriter
     //------------------------------------------------------------------
     //
     // Write topology
-    // 
+    //
     //------------------------------------------------------------------
 
     const labelList& addPointCellLabels = topo.addPointCellLabels();
diff --git a/applications/utilities/postProcessing/dataConversion/foamToVTK/readFields.H b/applications/utilities/postProcessing/dataConversion/foamToVTK/readFields.H
index aa9754c5483..ad847dc358d 100644
--- a/applications/utilities/postProcessing/dataConversion/foamToVTK/readFields.H
+++ b/applications/utilities/postProcessing/dataConversion/foamToVTK/readFields.H
@@ -26,7 +26,7 @@ InClass
     Foam::readFields
 
 Description
-    
+
 SourceFiles
     readFields.C
 
diff --git a/applications/utilities/postProcessing/dataConversion/foamToVTK/vtkTopo.C b/applications/utilities/postProcessing/dataConversion/foamToVTK/vtkTopo.C
index c21b1095736..239731e042f 100644
--- a/applications/utilities/postProcessing/dataConversion/foamToVTK/vtkTopo.C
+++ b/applications/utilities/postProcessing/dataConversion/foamToVTK/vtkTopo.C
@@ -69,7 +69,7 @@ Foam::vtkTopo::vtkTopo(const polyMesh& mesh)
     {
         const cellModel& model = cellShapes[cellI].model();
 
-        if 
+        if
         (
             model != hex
 //         && model != wedge            // See above.
diff --git a/applications/utilities/postProcessing/dataConversion/foamToVTK/writeFaceSet.C b/applications/utilities/postProcessing/dataConversion/foamToVTK/writeFaceSet.C
index b1b9032b26d..81d090203bb 100644
--- a/applications/utilities/postProcessing/dataConversion/foamToVTK/writeFaceSet.C
+++ b/applications/utilities/postProcessing/dataConversion/foamToVTK/writeFaceSet.C
@@ -66,7 +66,7 @@ void writeFaceSet
     //------------------------------------------------------------------
     //
     // Write topology
-    // 
+    //
     //------------------------------------------------------------------
 
 
@@ -127,7 +127,7 @@ void writeFaceSet
     //-----------------------------------------------------------------
     //
     // Write data
-    // 
+    //
     //-----------------------------------------------------------------
 
     // Write faceID
diff --git a/applications/utilities/postProcessing/dataConversion/foamToVTK/writePointSet.C b/applications/utilities/postProcessing/dataConversion/foamToVTK/writePointSet.C
index b8444b15c35..904b96c5c61 100644
--- a/applications/utilities/postProcessing/dataConversion/foamToVTK/writePointSet.C
+++ b/applications/utilities/postProcessing/dataConversion/foamToVTK/writePointSet.C
@@ -62,7 +62,7 @@ void writePointSet
     //------------------------------------------------------------------
     //
     // Write topology
-    // 
+    //
     //------------------------------------------------------------------
 
 
@@ -84,7 +84,7 @@ void writePointSet
     //-----------------------------------------------------------------
     //
     // Write data
-    // 
+    //
     //-----------------------------------------------------------------
 
     // Write faceID
diff --git a/applications/utilities/postProcessing/dataConversion/foamToVTK/writeSurfFields.C b/applications/utilities/postProcessing/dataConversion/foamToVTK/writeSurfFields.C
index b620d16ec3c..ceb4725b781 100644
--- a/applications/utilities/postProcessing/dataConversion/foamToVTK/writeSurfFields.C
+++ b/applications/utilities/postProcessing/dataConversion/foamToVTK/writeSurfFields.C
@@ -71,7 +71,7 @@ void writeSurfFields
 
     for (label faceI = 0; faceI < mesh.nFaces(); faceI++)
     {
-        writeFuns::insert(fc[faceI], pField);   
+        writeFuns::insert(fc[faceI], pField);
     }
 
     writeFuns::write(str, binary, pField);
diff --git a/applications/utilities/postProcessing/graphics/PV3Readers/vtkPV3Readers/vtkPV3Readers.H b/applications/utilities/postProcessing/graphics/PV3Readers/vtkPV3Readers/vtkPV3Readers.H
index fba4da5d948..6198d59868f 100644
--- a/applications/utilities/postProcessing/graphics/PV3Readers/vtkPV3Readers/vtkPV3Readers.H
+++ b/applications/utilities/postProcessing/graphics/PV3Readers/vtkPV3Readers/vtkPV3Readers.H
@@ -67,7 +67,7 @@ class vtkIndent;
 
 namespace Foam
 {
-namespace vtkPV3Readers 
+namespace vtkPV3Readers
 {
     //- Declare name of the class and its debug switch
     NamespaceName("vtkPV3Readers");
diff --git a/applications/utilities/postProcessing/graphics/ensightFoamReader/getFieldScalar.H b/applications/utilities/postProcessing/graphics/ensightFoamReader/getFieldScalar.H
index 8f65cce1397..eaa8e78a82d 100644
--- a/applications/utilities/postProcessing/graphics/ensightFoamReader/getFieldScalar.H
+++ b/applications/utilities/postProcessing/graphics/ensightFoamReader/getFieldScalar.H
@@ -75,13 +75,13 @@ if (which_type == Z_PEN06)
 if (which_type == Z_PYR05)
 {
     const cellModel& pyr = *(cellModeller::lookup("pyr"));
-            
+
     label counter = 1;
     for (label n=0; n<nCells; n++)
     {
         const cellShape& cellShape = cellShapes[n];
         const cellModel& cellModel = cellShape.model();
-        
+
         if (cellModel == pyr)
         {
             var_array[counter++] = scalarField[n];
diff --git a/applications/utilities/postProcessing/graphics/ensightFoamReader/getFieldTensor.H b/applications/utilities/postProcessing/graphics/ensightFoamReader/getFieldTensor.H
index 51120e0cb92..059c0f06781 100644
--- a/applications/utilities/postProcessing/graphics/ensightFoamReader/getFieldTensor.H
+++ b/applications/utilities/postProcessing/graphics/ensightFoamReader/getFieldTensor.H
@@ -58,12 +58,12 @@ if (which_type == Z_PEN06)
 {
     const cellModel& prism = *(cellModeller::lookup("prism"));
 
-    label counter = 1;    
+    label counter = 1;
     for (label n=0; n<nCells; n++)
     {
         const cellShape& cellShape = cellShapes[n];
         const cellModel& cellModel = cellShape.model();
-        
+
         if (cellModel == prism)
         {
 #           include "tensorConversion.H"
@@ -76,7 +76,7 @@ if (which_type == Z_PYR05)
 {
     const cellModel& pyr = *(cellModeller::lookup("pyr"));
 
-    label counter = 1;    
+    label counter = 1;
     for (label n=0; n<nCells; n++)
     {
         const cellShape& cellShape = cellShapes[n];
@@ -96,7 +96,7 @@ if (which_type == Z_TET04)
     const cellModel& tet = *(cellModeller::lookup("tet"));
 
     label counter = 1;
-    
+
     for (label n=0; n<nCells; n++)
     {
         const cellShape& cellShape = cellShapes[n];
diff --git a/applications/utilities/postProcessing/graphics/ensightFoamReader/getFieldVector.H b/applications/utilities/postProcessing/graphics/ensightFoamReader/getFieldVector.H
index b1fafd78c3c..5ae68d2a524 100644
--- a/applications/utilities/postProcessing/graphics/ensightFoamReader/getFieldVector.H
+++ b/applications/utilities/postProcessing/graphics/ensightFoamReader/getFieldVector.H
@@ -45,7 +45,7 @@ if (which_type == Z_HEX08)
     {
         const cellShape& cellShape = cellShapes[n];
         const cellModel& cellModel = cellShape.model();
-        
+
         if (cellModel == hex) // || (cellModel == wedge))
         {
             var_array[counter++] = vectorField[n][component];
@@ -58,7 +58,7 @@ if (which_type == Z_PEN06)
 {
     const cellModel& prism = *(cellModeller::lookup("prism"));
 
-    label counter = 1;    
+    label counter = 1;
     for (label n=0; n<nCells; n++)
     {
         const cellShape& cellShape = cellShapes[n];
@@ -76,12 +76,12 @@ if (which_type == Z_PYR05)
 {
     const cellModel& pyr = *(cellModeller::lookup("pyr"));
 
-    label counter = 1;    
+    label counter = 1;
     for (label n=0; n<nCells; n++)
     {
         const cellShape& cellShape = cellShapes[n];
         const cellModel& cellModel = cellShape.model();
-        
+
         if (cellModel == pyr)
         {
             var_array[counter++] = vectorField[n][component];
@@ -95,7 +95,7 @@ if (which_type == Z_TET04)
 {
     const cellModel& tet = *(cellModeller::lookup("tet"));
 
-    label counter = 1;    
+    label counter = 1;
     for (label n=0; n<nCells; n++)
     {
         const cellShape& cellShape = cellShapes[n];
diff --git a/applications/utilities/postProcessing/miscellaneous/postChannel/channelIndex.C b/applications/utilities/postProcessing/miscellaneous/postChannel/channelIndex.C
index 9df3ba191f7..07a77fadab3 100644
--- a/applications/utilities/postProcessing/miscellaneous/postChannel/channelIndex.C
+++ b/applications/utilities/postProcessing/miscellaneous/postChannel/channelIndex.C
@@ -82,7 +82,7 @@ void Foam::channelIndex::walkOppositeFaces
         }
         syncTools::swapBoundaryFaceList(mesh, isFrontBndFace, false);
 
-        // Add 
+        // Add
         forAll(isFrontBndFace, i)
         {
             label faceI = mesh.nInternalFaces()+i;
diff --git a/applications/utilities/postProcessing/miscellaneous/postChannel/sumDataI.H b/applications/utilities/postProcessing/miscellaneous/postChannel/sumDataI.H
index 169d942befe..477d3b712e5 100644
--- a/applications/utilities/postProcessing/miscellaneous/postChannel/sumDataI.H
+++ b/applications/utilities/postProcessing/miscellaneous/postChannel/sumDataI.H
@@ -202,7 +202,7 @@ inline bool Foam::sumData::updateFace
     {
         return false;
     }
-}    
+}
 
 
 // * * * * * * * * * * * * * * * Member Operators  * * * * * * * * * * * * * //
diff --git a/applications/utilities/surface/surfaceClean/collapseBase.C b/applications/utilities/surface/surfaceClean/collapseBase.C
index f5370d0c609..d33966eda96 100644
--- a/applications/utilities/surface/surfaceClean/collapseBase.C
+++ b/applications/utilities/surface/surfaceClean/collapseBase.C
@@ -197,7 +197,7 @@ static void splitTri
 // Insert scalar into sortedVerts/sortedWeights so the weights are in
 // incrementing order.
 static bool insertSorted
-(   
+(
     const label vertI,
     const scalar weight,
 
@@ -243,7 +243,7 @@ static bool insertSorted
         }
     }
 
-    
+
     label sz = sortedWeights.size();
 
     sortedWeights.setSize(sz + 1);
@@ -292,7 +292,7 @@ static void markCollapsedFaces
             // Check distance of vertex to edge.
             label opposite0 =
                 triSurfaceTools::oppositeVertex
-                (   
+                (
                     surf,
                     faceI,
                     edgeI
@@ -481,7 +481,7 @@ static label edgeType
     {
         if (usesRegion == -1)
         {
-            FatalErrorIn("edgeRegion") << abort(FatalError); 
+            FatalErrorIn("edgeRegion") << abort(FatalError);
             return -2;
         }
         else
@@ -750,9 +750,9 @@ label collapseBase(triSurface& surf, const scalar minLen)
         // Find regions of connected collapsed faces
         // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
-        // per face -1 or region 
+        // per face -1 or region
         labelList collapseRegion(surf.size(), -1);
-        
+
         label nRegions = markRegions(surf, faceToEdge, collapseRegion);
 
         Pout<< "Detected " << nRegions << " regions of faces to be collapsed"
@@ -783,7 +783,7 @@ label collapseBase(triSurface& surf, const scalar minLen)
             (
                 surf,
                 outsideVerts[regionI],
-                spanPoints[regionI], 
+                spanPoints[regionI],
                 orderedVertices[regionI],
                 orderedWeights[regionI]
             );
@@ -862,7 +862,7 @@ label collapseBase(triSurface& surf, const scalar minLen)
 
                 if (splitVerts.size())
                 {
-                    // Split edge using splitVerts. All non-collapsed triangles 
+                    // Split edge using splitVerts. All non-collapsed triangles
                     // using edge will get split.
 
 
diff --git a/applications/utilities/surface/surfaceClean/collapseEdge.C b/applications/utilities/surface/surfaceClean/collapseEdge.C
index ac2d104bf70..2e2a1a31b57 100644
--- a/applications/utilities/surface/surfaceClean/collapseEdge.C
+++ b/applications/utilities/surface/surfaceClean/collapseEdge.C
@@ -58,7 +58,7 @@ static triSurface pack
 {
     List<labelledTri> newTriangles(surf.size());
     label newTriangleI = 0;
-    
+
     forAll(surf, faceI)
     {
         const labelledTri& f = surf.localFaces()[faceI];
diff --git a/applications/utilities/thermophysical/equilibriumCO/equilibriumCO.C b/applications/utilities/thermophysical/equilibriumCO/equilibriumCO.C
index bade7abd05e..6c66d2e8762 100644
--- a/applications/utilities/thermophysical/equilibriumCO/equilibriumCO.C
+++ b/applications/utilities/thermophysical/equilibriumCO/equilibriumCO.C
@@ -23,7 +23,7 @@ License
     Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Application
-    
+
 Description
     Calculates the equilibrium level of carbon monoxide
 
diff --git a/src/OpenFOAM/algorithms/MeshWave/FaceCellWave.C b/src/OpenFOAM/algorithms/MeshWave/FaceCellWave.C
index d7367856cc3..a85e071ba5e 100644
--- a/src/OpenFOAM/algorithms/MeshWave/FaceCellWave.C
+++ b/src/OpenFOAM/algorithms/MeshWave/FaceCellWave.C
@@ -405,7 +405,7 @@ void Foam::FaceCellWave<Type>::leaveDomain
 ) const
 {
     const vectorField& fc = mesh_.faceCentres();
-    
+
     for (label i = 0; i < nFaces; i++)
     {
         label patchFaceI = faceLabels[i];
@@ -427,7 +427,7 @@ void Foam::FaceCellWave<Type>::enterDomain
 ) const
 {
     const vectorField& fc = mesh_.faceCentres();
-    
+
     for (label i = 0; i < nFaces; i++)
     {
         label patchFaceI = faceLabels[i];
@@ -739,7 +739,7 @@ void Foam::FaceCellWave<Type>::handleCyclicPatches()
 
             if (debug)
             {
-                Pout<< " Cyclic patch " << patchI << ' ' << patch.name() 
+                Pout<< " Cyclic patch " << patchI << ' ' << patch.name()
                     << "  Changed on first half : " << nSendFaces
                     << "  Changed on second half : " << nReceiveFaces
                     << endl;
@@ -819,7 +819,7 @@ Foam::FaceCellWave<Type>::FaceCellWave
 {}
 
 
-// Iterate, propagating changedFacesInfo across mesh, until no change (or 
+// Iterate, propagating changedFacesInfo across mesh, until no change (or
 // maxIter reached). Initial cell values specified.
 template <class Type>
 Foam::FaceCellWave<Type>::FaceCellWave
diff --git a/src/OpenFOAM/algorithms/MeshWave/FaceCellWave.H b/src/OpenFOAM/algorithms/MeshWave/FaceCellWave.H
index 4607ba1322a..00c89d415bb 100644
--- a/src/OpenFOAM/algorithms/MeshWave/FaceCellWave.H
+++ b/src/OpenFOAM/algorithms/MeshWave/FaceCellWave.H
@@ -331,7 +331,7 @@ public:
 
             //- Access mesh
             const polyMesh& mesh() const
-            {   
+            {
                 return mesh_;
             }
 
diff --git a/src/OpenFOAM/algorithms/MeshWave/MeshWave.C b/src/OpenFOAM/algorithms/MeshWave/MeshWave.C
index 5049fe05a7c..14b26ff4dbf 100644
--- a/src/OpenFOAM/algorithms/MeshWave/MeshWave.C
+++ b/src/OpenFOAM/algorithms/MeshWave/MeshWave.C
@@ -29,7 +29,7 @@ License
 
 // * * * * * * * * * * * * * * * * Constructors  * * * * * * * * * * * * * * //
 
-// Iterate, propagating changedFacesInfo across mesh, until no change (or 
+// Iterate, propagating changedFacesInfo across mesh, until no change (or
 // maxIter reached).
 template <class Type>
 Foam::MeshWave<Type>::MeshWave
@@ -54,7 +54,7 @@ Foam::MeshWave<Type>::MeshWave
 {}
 
 
-// Iterate, propagating changedFacesInfo across mesh, until no change (or 
+// Iterate, propagating changedFacesInfo across mesh, until no change (or
 // maxIter reached). Initial cell values specified.
 template <class Type>
 Foam::MeshWave<Type>::MeshWave
diff --git a/src/OpenFOAM/db/IOstreams/Pstreams/PstreamReduceOps.H b/src/OpenFOAM/db/IOstreams/Pstreams/PstreamReduceOps.H
index 53eeedf1c02..54bce0f6bc2 100644
--- a/src/OpenFOAM/db/IOstreams/Pstreams/PstreamReduceOps.H
+++ b/src/OpenFOAM/db/IOstreams/Pstreams/PstreamReduceOps.H
@@ -48,7 +48,7 @@ void reduce
 {
     Pstream::gather(comms, Value, bop);
     Pstream::scatter(comms, Value);
-}    
+}
 
 
 // Reduce using either linear or tree communication schedule
@@ -67,7 +67,7 @@ void reduce
     {
         reduce(UPstream::treeCommunication(), Value, bop);
     }
-}    
+}
 
 
 // Reduce using either linear or tree communication schedule
@@ -90,7 +90,7 @@ T returnReduce
     }
 
     return WorkValue;
-}    
+}
 
 
 // Insist there is a specialisation for the reduction of a scalar
diff --git a/src/OpenFOAM/db/IOstreams/gzstream/COPYING.LIB b/src/OpenFOAM/db/IOstreams/gzstream/COPYING.LIB
index 3caebabbb74..583509c7efb 100644
--- a/src/OpenFOAM/db/IOstreams/gzstream/COPYING.LIB
+++ b/src/OpenFOAM/db/IOstreams/gzstream/COPYING.LIB
@@ -146,7 +146,7 @@ such a program is covered only if its contents constitute a work based
 on the Library (independent of the use of the Library in a tool for
 writing it).  Whether that is true depends on what the Library does
 and what the program that uses the Library does.
-  
+
   1. You may copy and distribute verbatim copies of the Library's
 complete source code as you receive it, in any medium, provided that
 you conspicuously and appropriately publish on each copy an
diff --git a/src/OpenFOAM/db/IOstreams/gzstream/gzstream.C b/src/OpenFOAM/db/IOstreams/gzstream/gzstream.C
index 5b71109590e..e886181811e 100644
--- a/src/OpenFOAM/db/IOstreams/gzstream/gzstream.C
+++ b/src/OpenFOAM/db/IOstreams/gzstream/gzstream.C
@@ -21,9 +21,9 @@
 // Revision      : $Revision: 1.8 $
 // Revision_date : $Date: 2005/12/07 18:03:25 $
 // Author(s)     : Deepak Bandyopadhyay, Lutz Kettner
-// 
-// Standard streambuf implementation following Nicolai Josuttis, "The 
-// Standard C++ Library".
+//
+// Standard streambuf implementation following Nicolai Josuttis,
+// "The Standard C++ Library".
 // ============================================================================
 
 #include "gzstream.h"
@@ -97,7 +97,7 @@ int gzstreambuf::underflow() { // used for input buffer only
           buffer + 4 + num);          // end of buffer
 
     // return next character
-    return * reinterpret_cast<unsigned char *>( gptr());    
+    return * reinterpret_cast<unsigned char *>( gptr());
 }
 
 int gzstreambuf::flush_buffer() {
diff --git a/src/OpenFOAM/db/IOstreams/gzstream/gzstream.h b/src/OpenFOAM/db/IOstreams/gzstream/gzstream.h
index 84f850e517c..179fd05cc53 100644
--- a/src/OpenFOAM/db/IOstreams/gzstream/gzstream.h
+++ b/src/OpenFOAM/db/IOstreams/gzstream/gzstream.h
@@ -21,9 +21,9 @@
 // Revision      : $Revision: 1.8 $
 // Revision_date : $Date: 2005/11/09 13:53:50 $
 // Author(s)     : Deepak Bandyopadhyay, Lutz Kettner
-// 
-// Standard streambuf implementation following Nicolai Josuttis, "The 
-// Standard C++ Library".
+//
+// Standard streambuf implementation following Nicolai Josuttis,
+// "The Standard C++ Library".
 // ============================================================================
 
 #ifndef GZSTREAM_H
@@ -48,21 +48,21 @@ namespace GZSTREAM_NAMESPACE {
 //    class gzstreambuf
 // ----------------------------------------------------------------------------
 
-class gzstreambuf 
-   : public std::streambuf 
+class gzstreambuf
+   : public std::streambuf
 {
 private:
 
    //------------------------------------
 
-   static const int bufferSize = 47+256;   
+   static const int bufferSize = 47+256;
    // totals 512 bytes under g++ for igzstream at the end.
 
    //------------------------------------
-   gzFile           file;               
-   char             buffer[bufferSize]; 
-   char             opened;             
-   int              mode;               
+   gzFile           file;
+   char             buffer[bufferSize];
+   char             opened;
+   int              mode;
 
 
    //------------------------------------
@@ -73,25 +73,25 @@ public:
 
    //------------------------------------
 
-   gzstreambuf() 
-      : opened(0) 
+   gzstreambuf()
+      : opened(0)
    {
       setp( buffer, buffer + (bufferSize-1));
       setg( buffer + 4,     // beginning of putback area
             buffer + 4,     // read position
-            buffer + 4);    // end position      
+            buffer + 4);    // end position
       // ASSERT: both input & output capabilities will not be used together
    }
-   ~gzstreambuf() 
-   { 
-      close(); 
+   ~gzstreambuf()
+   {
+      close();
    }
 
    //------------------------------------
 
-   int is_open() 
-   { 
-      return opened; 
+   int is_open()
+   {
+      return opened;
    }
    gzstreambuf* open( const char* name, int open_mode );
    gzstreambuf* close();
@@ -104,8 +104,8 @@ public:
 //    class gzstreambase
 // ----------------------------------------------------------------------------
 
-class gzstreambase 
-   : virtual public std::ios 
+class gzstreambase
+   : virtual public std::ios
 {
 protected:
 
@@ -117,9 +117,9 @@ public:
 
    //------------------------------------
 
-   gzstreambase() 
-   { 
-      init(&buf); 
+   gzstreambase()
+   {
+      init(&buf);
    }
    gzstreambase( const char* _name, int _open_mode );
    ~gzstreambase();
@@ -128,15 +128,15 @@ public:
 
    void open( const char* _name, int _open_mode );
    void close();
-   gzstreambuf* rdbuf() 
-   { 
-      return &buf; 
+   gzstreambuf* rdbuf()
+   {
+      return &buf;
    }
 };
 
 // ----------------------------------------------------------------------------
 // User classes. Use igzstream and ogzstream analogously to ifstream and
-// ofstream respectively. They read and write files based on the gz* 
+// ofstream respectively. They read and write files based on the gz*
 // function interface of the zlib. Files are compatible with gzip compression.
 // ----------------------------------------------------------------------------
 
@@ -144,30 +144,30 @@ public:
 //    class igzstream
 // ----------------------------------------------------------------------------
 
-class igzstream 
+class igzstream
    : public std::istream
-   , public gzstreambase 
+   , public gzstreambase
 {
 public:
 
    //------------------------------------
 
-   igzstream() 
-      : std::istream( &buf) 
-   {} 
-   igzstream( const char*  _name, 
+   igzstream()
+      : std::istream( &buf)
+   {}
+   igzstream( const char*  _name,
               int          _open_mode = std::ios::in )
       : std::istream( &buf )
       , gzstreambase( _name, _open_mode )
-   {}  
+   {}
 
    //------------------------------------
 
-   gzstreambuf* rdbuf() 
-   { 
-      return gzstreambase::rdbuf(); 
+   gzstreambuf* rdbuf()
+   {
+      return gzstreambase::rdbuf();
    }
-   void open( const char*  _name, 
+   void open( const char*  _name,
               int          _open_mode = std::ios::in )
    {
        gzstreambase::open( _name, _open_mode );
@@ -178,32 +178,32 @@ public:
 //    class ogzstream
 // ----------------------------------------------------------------------------
 
-class ogzstream 
+class ogzstream
    : public gzstreambase
-   , public std::ostream 
+   , public std::ostream
 {
 public:
 
    //------------------------------------
 
-   ogzstream() 
-      : std::ostream( &buf) 
+   ogzstream()
+      : std::ostream( &buf)
    {}
    explicit
-   ogzstream( const char* _name, 
+   ogzstream( const char* _name,
               int         _open_mode = std::ios::out )
       : gzstreambase( _name, _open_mode )
-      , std::ostream( &buf) 
-   {}  
+      , std::ostream( &buf)
+   {}
 
    //------------------------------------
 
-   gzstreambuf* rdbuf() 
-   { 
-      return gzstreambase::rdbuf(); 
+   gzstreambuf* rdbuf()
+   {
+      return gzstreambase::rdbuf();
    }
-   void open( const char*  _name, 
-              int          _open_mode = std::ios::out ) 
+   void open( const char*  _name,
+              int          _open_mode = std::ios::out )
    {
       gzstreambase::open( _name, _open_mode );
    }
diff --git a/src/OpenFOAM/db/functionObjects/OutputFilterFunctionObject/OutputFilterFunctionObject.H b/src/OpenFOAM/db/functionObjects/OutputFilterFunctionObject/OutputFilterFunctionObject.H
index 92f0c431968..42517a686cb 100644
--- a/src/OpenFOAM/db/functionObjects/OutputFilterFunctionObject/OutputFilterFunctionObject.H
+++ b/src/OpenFOAM/db/functionObjects/OutputFilterFunctionObject/OutputFilterFunctionObject.H
@@ -93,7 +93,7 @@ class OutputFilterFunctionObject
 
         //- Read relevant dictionary entries
         void readDict();
- 
+
         //- Creates most of the data associated with this object.
         void allocateFilter();
 
diff --git a/src/OpenFOAM/fields/DimensionedFields/DimensionedField/DimensionedFieldFunctions.C b/src/OpenFOAM/fields/DimensionedFields/DimensionedField/DimensionedFieldFunctions.C
index 3293d19a60a..f6e5a4b4006 100644
--- a/src/OpenFOAM/fields/DimensionedFields/DimensionedField/DimensionedFieldFunctions.C
+++ b/src/OpenFOAM/fields/DimensionedFields/DimensionedField/DimensionedFieldFunctions.C
@@ -282,7 +282,7 @@ tmp
 >
 cmptAv(const tmp<DimensionedField<Type, GeoMesh> >& tdf)
 {
-    typedef typename DimensionedField<Type, GeoMesh>::cmptType 
+    typedef typename DimensionedField<Type, GeoMesh>::cmptType
         cmptType;
 
     const DimensionedField<Type, GeoMesh>& df = tdf();
diff --git a/src/OpenFOAM/fields/FieldFields/FieldField/FieldField.C b/src/OpenFOAM/fields/FieldFields/FieldField/FieldField.C
index 50162cb381c..7d7edcadd86 100644
--- a/src/OpenFOAM/fields/FieldFields/FieldField/FieldField.C
+++ b/src/OpenFOAM/fields/FieldFields/FieldField/FieldField.C
@@ -212,7 +212,7 @@ tmp<FieldField<Field, Type> > FieldField<Field, Type>::NewCalculatedType
     );
 
     forAll(*nffPtr, i)
-    { 
+    {
         nffPtr->set(i, Field<Type>::NewCalculatedType(ff[i]).ptr());
     }
 
diff --git a/src/OpenFOAM/fields/GeometricFields/GeometricField/GeometricField.H b/src/OpenFOAM/fields/GeometricFields/GeometricField/GeometricField.H
index 1abca4cc871..4e38804cc93 100644
--- a/src/OpenFOAM/fields/GeometricFields/GeometricField/GeometricField.H
+++ b/src/OpenFOAM/fields/GeometricFields/GeometricField/GeometricField.H
@@ -184,7 +184,7 @@ public:
             //- Return a list of the patch types
             wordList types() const;
 
-            //- Return BoundaryField of the cell values neighbouring 
+            //- Return BoundaryField of the cell values neighbouring
             //  the boundary
             GeometricBoundaryField boundaryInternalField() const;
 
@@ -194,7 +194,7 @@ public:
 
             //- Write boundary field as dictionary entry
             void writeEntry(const word& keyword, Ostream& os) const;
- 
+
 
         // Member operators
 
@@ -208,7 +208,7 @@ public:
             void operator=(const Type&);
 
 
-            //- Forced assignment to 
+            //- Forced assignment to
             //  BoundaryField<Type, PatchField, BoundaryMesh>
             void operator==(const GeometricBoundaryField&);
 
@@ -224,7 +224,7 @@ private:
 
     // Private data
 
-        //- Current time index.  
+        //- Current time index.
         //  Used to trigger the storing of the old-time value
         mutable label timeIndex_;
 
diff --git a/src/OpenFOAM/fields/GeometricFields/GeometricField/GeometricFieldFunctions.C b/src/OpenFOAM/fields/GeometricFields/GeometricField/GeometricFieldFunctions.C
index 4960a27756b..20276e35c42 100644
--- a/src/OpenFOAM/fields/GeometricFields/GeometricField/GeometricFieldFunctions.C
+++ b/src/OpenFOAM/fields/GeometricFields/GeometricField/GeometricFieldFunctions.C
@@ -446,7 +446,7 @@ tmp
 >
 cmptAv(const tmp<GeometricField<Type, PatchField, GeoMesh> >& tgf)
 {
-    typedef typename GeometricField<Type, PatchField, GeoMesh>::cmptType 
+    typedef typename GeometricField<Type, PatchField, GeoMesh>::cmptType
         cmptType;
 
     const GeometricField<Type, PatchField, GeoMesh>& gf = tgf();
diff --git a/src/OpenFOAM/fields/GeometricFields/GeometricField/GeometricFieldFunctions.H b/src/OpenFOAM/fields/GeometricFields/GeometricField/GeometricFieldFunctions.H
index 88a5f16ce15..4968e667764 100644
--- a/src/OpenFOAM/fields/GeometricFields/GeometricField/GeometricFieldFunctions.H
+++ b/src/OpenFOAM/fields/GeometricFields/GeometricField/GeometricFieldFunctions.H
@@ -1,5 +1,5 @@
 /*---------------------------------------------------------------------------*\
-  =========                 | 
+  =========                 |
   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
    \\    /   O peration     |
     \\  /    A nd           | Copyright (C) 1991-2009 OpenCFD Ltd.
diff --git a/src/OpenFOAM/fields/GeometricFields/GeometricField/GeometricFieldFunctionsM.H b/src/OpenFOAM/fields/GeometricFields/GeometricField/GeometricFieldFunctionsM.H
index 40c9a864a15..ce9021155bf 100644
--- a/src/OpenFOAM/fields/GeometricFields/GeometricField/GeometricFieldFunctionsM.H
+++ b/src/OpenFOAM/fields/GeometricFields/GeometricField/GeometricFieldFunctionsM.H
@@ -1,5 +1,5 @@
 /*---------------------------------------------------------------------------*\
-  =========                 | 
+  =========                 |
   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
    \\    /   O peration     |
     \\  /    A nd           | Copyright (C) 1991-2009 OpenCFD Ltd.
diff --git a/src/OpenFOAM/fields/GeometricFields/GeometricField/MapGeometricFields.H b/src/OpenFOAM/fields/GeometricFields/GeometricField/MapGeometricFields.H
index 5f5896893bb..7f7608d9202 100644
--- a/src/OpenFOAM/fields/GeometricFields/GeometricField/MapGeometricFields.H
+++ b/src/OpenFOAM/fields/GeometricFields/GeometricField/MapGeometricFields.H
@@ -46,7 +46,7 @@ template<class Type, class MeshMapper, class GeoMesh>
 class MapInternalField
 {
 public:
-    
+
     MapInternalField()
     {}
 
@@ -82,7 +82,7 @@ void MapGeometricFields
     // It is necessary to enforce that all old-time fields are stored
     // before the mapping is performed.  Otherwise, if the
     // old-time-level field is mapped before the field itself, sizes
-    // will not match.  
+    // will not match.
 
     for
     (
@@ -92,7 +92,7 @@ void MapGeometricFields
         ++fieldIter
     )
     {
-        GeometricField<Type, PatchField, GeoMesh>& field = 
+        GeometricField<Type, PatchField, GeoMesh>& field =
             const_cast<GeometricField<Type, PatchField, GeoMesh>&>
             (*fieldIter());
 
@@ -112,7 +112,7 @@ void MapGeometricFields
         ++fieldIter
     )
     {
-        GeometricField<Type, PatchField, GeoMesh>& field = 
+        GeometricField<Type, PatchField, GeoMesh>& field =
             const_cast<GeometricField<Type, PatchField, GeoMesh>&>
             (*fieldIter());
 
@@ -137,7 +137,7 @@ void MapGeometricFields
                 // Cannot check sizes for patch fields because of
                 // empty fields in FV and because point fields get their size
                 // from the patch which has already been resized
-                // 
+                //
 
                 field.boundaryField()[patchi].autoMap
                 (
diff --git a/src/OpenFOAM/fields/GeometricFields/transformGeometricField/transformGeometricField.C b/src/OpenFOAM/fields/GeometricFields/transformGeometricField/transformGeometricField.C
index fa501ac0262..caf3abf683a 100644
--- a/src/OpenFOAM/fields/GeometricFields/transformGeometricField/transformGeometricField.C
+++ b/src/OpenFOAM/fields/GeometricFields/transformGeometricField/transformGeometricField.C
@@ -88,7 +88,7 @@ tmp<GeometricField<Type, PatchField, GeoMesh> > transform
     const tmp<GeometricField<Type, PatchField, GeoMesh> >& ttf
 )
 {
-    tmp<GeometricField<Type, PatchField, GeoMesh> > tranf = 
+    tmp<GeometricField<Type, PatchField, GeoMesh> > tranf =
         transform(trf, ttf());
     ttf.clear();
     return tranf;
@@ -102,7 +102,7 @@ tmp<GeometricField<Type, PatchField, GeoMesh> > transform
     const GeometricField<Type, PatchField, GeoMesh>& tf
 )
 {
-    tmp<GeometricField<Type, PatchField, GeoMesh> > tranf = 
+    tmp<GeometricField<Type, PatchField, GeoMesh> > tranf =
         transform(ttrf(), tf);
     ttrf.clear();
     return tranf;
@@ -116,7 +116,7 @@ tmp<GeometricField<Type, PatchField, GeoMesh> > transform
     const tmp<GeometricField<Type, PatchField, GeoMesh> >& ttf
 )
 {
-    tmp<GeometricField<Type, PatchField, GeoMesh> > tranf = 
+    tmp<GeometricField<Type, PatchField, GeoMesh> > tranf =
         transform(ttrf(), ttf());
     ttf.clear();
     ttrf.clear();
@@ -174,7 +174,7 @@ tmp<GeometricField<Type, PatchField, GeoMesh> > transform
     const tmp<GeometricField<Type, PatchField, GeoMesh> >& ttf
 )
 {
-    tmp<GeometricField<Type, PatchField, GeoMesh> > tranf = 
+    tmp<GeometricField<Type, PatchField, GeoMesh> > tranf =
         transform(t, ttf());
     ttf.clear();
     return tranf;
diff --git a/src/OpenFOAM/fields/ReadFields/ReadFields.C b/src/OpenFOAM/fields/ReadFields/ReadFields.C
index edbf82c7c9a..122e7032c7a 100644
--- a/src/OpenFOAM/fields/ReadFields/ReadFields.C
+++ b/src/OpenFOAM/fields/ReadFields/ReadFields.C
@@ -124,7 +124,7 @@ Foam::wordList Foam::ReadFields
             )
         );
     }
-    return masterNames;    
+    return masterNames;
 }
 
 
diff --git a/src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointConstraint/pointConstraint.H b/src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointConstraint/pointConstraint.H
index c2796f4600b..5e28ac1e143 100644
--- a/src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointConstraint/pointConstraint.H
+++ b/src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointConstraint/pointConstraint.H
@@ -28,7 +28,7 @@ Class
 Description
     Accumulates point constraints through successive applications of the
     applyConstraint function.
- 
+
     After all the constraints have been entered the resulting
     transformation tensor is returned by the constraintTransformation
     function.
@@ -74,7 +74,7 @@ public:
 
     // Member Functions
 
-        //- Apply and accumulate the effect of the given constraint direction 
+        //- Apply and accumulate the effect of the given constraint direction
         inline void applyConstraint(const vector& cd);
 
         //- Return the accumulated constraint transformation tensor
diff --git a/src/OpenFOAM/graph/curve/curve.H b/src/OpenFOAM/graph/curve/curve.H
index b3d65657606..bf35ac6c618 100644
--- a/src/OpenFOAM/graph/curve/curve.H
+++ b/src/OpenFOAM/graph/curve/curve.H
@@ -77,7 +77,7 @@ public:
             SYMBOL_WITH_ERROR_BARS,
             SYMBOL_WITH_VARIABLE_SIZE
         };
-        
+
 
     private:
 
diff --git a/src/OpenFOAM/graph/graph.H b/src/OpenFOAM/graph/graph.H
index cc7d96e9007..e15b5cafe76 100644
--- a/src/OpenFOAM/graph/graph.H
+++ b/src/OpenFOAM/graph/graph.H
@@ -209,16 +209,16 @@ public:
                     (),
                     ()
                 );
-                
+
 
                 // Selectors
-                
+
                     //- Return a reference to the selected writer
                     static autoPtr<writer> New
                     (
                         const word& writeFormat
                     );
-                
+
 
                 // Constructors
 
diff --git a/src/OpenFOAM/graph/writers/jplotGraph/jplotGraph.H b/src/OpenFOAM/graph/writers/jplotGraph/jplotGraph.H
index a2b9918214d..3219be47a85 100644
--- a/src/OpenFOAM/graph/writers/jplotGraph/jplotGraph.H
+++ b/src/OpenFOAM/graph/writers/jplotGraph/jplotGraph.H
@@ -27,7 +27,7 @@ Class
 
 Description
     jplot graph output
-  
+
 SourceFiles
     jplotGraph.C
 
diff --git a/src/OpenFOAM/include/checkTimeOptions.H b/src/OpenFOAM/include/checkTimeOptions.H
index 7b2b15b3295..f5e72483224 100644
--- a/src/OpenFOAM/include/checkTimeOptions.H
+++ b/src/OpenFOAM/include/checkTimeOptions.H
@@ -7,6 +7,6 @@
 
 // unless -constant is present, skip startTime if it is "constant"
 #   include "checkConstantOption.H"
-    
+
 // check -time and -latestTime options
 #   include "checkTimeOption.H"
diff --git a/src/OpenFOAM/matrices/LUscalarMatrix/procLduInterface.H b/src/OpenFOAM/matrices/LUscalarMatrix/procLduInterface.H
index 8be581fb524..97013c52de6 100644
--- a/src/OpenFOAM/matrices/LUscalarMatrix/procLduInterface.H
+++ b/src/OpenFOAM/matrices/LUscalarMatrix/procLduInterface.H
@@ -91,7 +91,7 @@ public:
         {
             return autoPtr<procLduInterface>(new procLduInterface(is));
         }
-            
+
 
     // Ostream operator
 
diff --git a/src/OpenFOAM/matrices/LUscalarMatrix/procLduMatrix.C b/src/OpenFOAM/matrices/LUscalarMatrix/procLduMatrix.C
index 4f76c4bfcd4..097d41fd899 100644
--- a/src/OpenFOAM/matrices/LUscalarMatrix/procLduMatrix.C
+++ b/src/OpenFOAM/matrices/LUscalarMatrix/procLduMatrix.C
@@ -97,7 +97,7 @@ Foam::Ostream& Foam::operator<<(Ostream& os, const procLduMatrix& cldum)
         << cldum.upper_
         << cldum.lower_
         << cldum.interfaces_;
-    
+
     return os;
 }
 
diff --git a/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduInterface/lduInterface.H b/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduInterface/lduInterface.H
index 4d07f283346..a7075d47e5e 100644
--- a/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduInterface/lduInterface.H
+++ b/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduInterface/lduInterface.H
@@ -28,7 +28,7 @@ Class
 Description
     An abstract base class for implicitly-coupled interfaces
     e.g. processor and cyclic patches.
-    
+
 SourceFiles
     lduInterface.C
 
diff --git a/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduInterface/processorLduInterface.C b/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduInterface/processorLduInterface.C
index a8ad8ecc0fc..46373627acf 100644
--- a/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduInterface/processorLduInterface.C
+++ b/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduInterface/processorLduInterface.C
@@ -38,7 +38,7 @@ namespace Foam
 
 void Foam::processorLduInterface::resizeBuf
 (
-    List<char>& buf, 
+    List<char>& buf,
     const label size
 ) const
 {
diff --git a/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduInterfaceFields/cyclicLduInterfaceField/cyclicLduInterfaceField.C b/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduInterfaceFields/cyclicLduInterfaceField/cyclicLduInterfaceField.C
index 44df0ce9c27..10d04b1b454 100644
--- a/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduInterfaceFields/cyclicLduInterfaceField/cyclicLduInterfaceField.C
+++ b/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduInterfaceFields/cyclicLduInterfaceField/cyclicLduInterfaceField.C
@@ -53,7 +53,7 @@ void Foam::cyclicLduInterfaceField::transformCoupleField
     {
         label sizeby2 = pnf.size()/2;
 
-        scalar forwardScale = 
+        scalar forwardScale =
             pow(diag(forwardT()[0]).component(cmpt), rank());
 
         scalar reverseScale =
diff --git a/src/OpenFOAM/matrices/lduMatrix/preconditioners/noPreconditioner/noPreconditioner.H b/src/OpenFOAM/matrices/lduMatrix/preconditioners/noPreconditioner/noPreconditioner.H
index 7bc2966d76d..5fa460a3516 100644
--- a/src/OpenFOAM/matrices/lduMatrix/preconditioners/noPreconditioner/noPreconditioner.H
+++ b/src/OpenFOAM/matrices/lduMatrix/preconditioners/noPreconditioner/noPreconditioner.H
@@ -71,7 +71,7 @@ public:
         //- Construct from matrix components and preconditioner solver controls
         noPreconditioner
         (
-            const lduMatrix::solver&, 
+            const lduMatrix::solver&,
             const dictionary& solverControlsUnused
         );
 
diff --git a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGAgglomerations/GAMGAgglomeration/GAMGAgglomerateLduAddressing.C b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGAgglomerations/GAMGAgglomeration/GAMGAgglomerateLduAddressing.C
index 97cf16a45e1..8530c936ff9 100644
--- a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGAgglomerations/GAMGAgglomeration/GAMGAgglomerateLduAddressing.C
+++ b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGAgglomerations/GAMGAgglomeration/GAMGAgglomerateLduAddressing.C
@@ -255,7 +255,7 @@ void Foam::GAMGAgglomeration::agglomerateLduAddressing
                     )
                 ).ptr()
             );
-            
+
             coarseInterfaceAddr[inti] = coarseInterfaces[inti].faceCells();
         }
     }
diff --git a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGSolver.H b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGSolver.H
index cc46f7931b0..4570b7dd095 100644
--- a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGSolver.H
+++ b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGSolver.H
@@ -147,7 +147,7 @@ class GAMGSolver
         //- Calculate and return the scaling factor from Acf, coarseSource
         //  and coarseField.
         //  At the same time do a Jacobi iteration on the coarseField using
-        //  the Acf provided after the coarseField values are used for the 
+        //  the Acf provided after the coarseField values are used for the
         //  scaling factor.
         scalar scalingFactor
         (
diff --git a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGSolverAgglomerateMatrix.C b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGSolverAgglomerateMatrix.C
index 7641d2c9373..6d7a6bfb97d 100644
--- a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGSolverAgglomerateMatrix.C
+++ b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGSolverAgglomerateMatrix.C
@@ -96,7 +96,7 @@ void Foam::GAMGSolver::agglomerateMatrix(const label fineLevelIndex)
     {
         if (fineInterfaces.set(inti))
         {
-            const GAMGInterface& coarseInterface = 
+            const GAMGInterface& coarseInterface =
                 refCast<const GAMGInterface>
                 (
                     agglomeration_.interfaceLevel(fineLevelIndex + 1)[inti]
@@ -182,7 +182,7 @@ void Foam::GAMGSolver::agglomerateMatrix(const label fineLevelIndex)
             }
         }
     }
-    else // ... Otherwise it is symmetric so agglomerate just the upper 
+    else // ... Otherwise it is symmetric so agglomerate just the upper
     {
         // Get off-diagonal matrix coefficients
         const scalarField& fineUpper = fineMatrix.upper();
diff --git a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/cyclicGAMGInterfaceField/cyclicGAMGInterfaceField.H b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/cyclicGAMGInterfaceField/cyclicGAMGInterfaceField.H
index 3d445a3d30f..f316be43b19 100644
--- a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/cyclicGAMGInterfaceField/cyclicGAMGInterfaceField.H
+++ b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/cyclicGAMGInterfaceField/cyclicGAMGInterfaceField.H
@@ -73,7 +73,7 @@ class cyclicGAMGInterfaceField
 
         //- Disallow default bitwise assignment
         void operator=(const cyclicGAMGInterfaceField&);
-    
+
 
 public:
 
diff --git a/src/OpenFOAM/meshes/ProcessorTopology/ProcessorTopology.C b/src/OpenFOAM/meshes/ProcessorTopology/ProcessorTopology.C
index 673d62459b3..f0a6da8e503 100644
--- a/src/OpenFOAM/meshes/ProcessorTopology/ProcessorTopology.C
+++ b/src/OpenFOAM/meshes/ProcessorTopology/ProcessorTopology.C
@@ -49,7 +49,7 @@ Foam::labelList Foam::ProcessorTopology<Patch, ProcPatch>::procNeighbours
 
         if (isA<ProcPatch>(patch))
         {
-            const ProcPatch& procPatch = 
+            const ProcPatch& procPatch =
                 refCast<const ProcPatch>(patch);
 
             nNeighbours++;
@@ -71,7 +71,7 @@ Foam::labelList Foam::ProcessorTopology<Patch, ProcPatch>::procNeighbours
 
         if (isA<ProcPatch>(patch))
         {
-            const ProcPatch& procPatch = 
+            const ProcPatch& procPatch =
                 refCast<const ProcPatch>(patch);
 
             neighbours[nNeighbours++] = procPatch.neighbProcNo();
diff --git a/src/OpenFOAM/meshes/ProcessorTopology/commSchedule.H b/src/OpenFOAM/meshes/ProcessorTopology/commSchedule.H
index f316fe97ffb..b8dcd0a4e8d 100644
--- a/src/OpenFOAM/meshes/ProcessorTopology/commSchedule.H
+++ b/src/OpenFOAM/meshes/ProcessorTopology/commSchedule.H
@@ -28,11 +28,11 @@ Class
 Description
     Determines the order in which a set of processors should communicate
     with one another.
- 
-    The communication order should 
+
+    The communication order should
       - have maximum overlap
       - allow blocking communication without deadlock
- 
+
     Does a very simple scheduling which assumes same time for all operations.
 
     After construction:
diff --git a/src/OpenFOAM/meshes/meshShapes/cellShape/cellShapeI.H b/src/OpenFOAM/meshes/meshShapes/cellShape/cellShapeI.H
index 8ecabf82619..1a533287468 100644
--- a/src/OpenFOAM/meshes/meshShapes/cellShape/cellShapeI.H
+++ b/src/OpenFOAM/meshes/meshShapes/cellShape/cellShapeI.H
@@ -211,7 +211,7 @@ inline Foam::faceList Foam::cellShape::collapsedFaces() const
     }
     newFaces.setSize(newFaceI);
 
-    return newFaces;    
+    return newFaces;
 }
 
 
diff --git a/src/OpenFOAM/meshes/meshShapes/face/oppositeFace.H b/src/OpenFOAM/meshes/meshShapes/face/oppositeFace.H
index 14e47113c75..8c3ae62ec79 100644
--- a/src/OpenFOAM/meshes/meshShapes/face/oppositeFace.H
+++ b/src/OpenFOAM/meshes/meshShapes/face/oppositeFace.H
@@ -76,7 +76,7 @@ public:
             face(f),
             masterIndex_(masterIndex),
             oppositeIndex_(oppositeIndex)
-            
+
         {}
 
 
diff --git a/src/OpenFOAM/meshes/meshTools/matchPoints.C b/src/OpenFOAM/meshes/meshTools/matchPoints.C
index 826a0185b5d..43a5decafc5 100644
--- a/src/OpenFOAM/meshes/meshTools/matchPoints.C
+++ b/src/OpenFOAM/meshes/meshTools/matchPoints.C
@@ -78,7 +78,7 @@ bool Foam::matchPoints
         // Go through range of equal mag and find nearest vector.
         scalar minDistSqr = VGREAT;
         label minFaceI = -1;
-    
+
         for
         (
             label j = startI;
diff --git a/src/OpenFOAM/meshes/pointMesh/pointMeshMapper/pointMapper.C b/src/OpenFOAM/meshes/pointMesh/pointMeshMapper/pointMapper.C
index 2cfd6e848cf..b28e39f895e 100644
--- a/src/OpenFOAM/meshes/pointMesh/pointMeshMapper/pointMapper.C
+++ b/src/OpenFOAM/meshes/pointMesh/pointMeshMapper/pointMapper.C
@@ -319,7 +319,7 @@ const Foam::labelList& Foam::pointMapper::insertedObjectLabels() const
 
     return *insertedPointLabelsPtr_;
 }
-        
+
 
 // * * * * * * * * * * * * * * * Member Operators  * * * * * * * * * * * * * //
 
diff --git a/src/OpenFOAM/meshes/pointMesh/pointPatches/constraint/cyclic/cyclicPointPatch.C b/src/OpenFOAM/meshes/pointMesh/pointPatches/constraint/cyclic/cyclicPointPatch.C
index 6f65c70764b..4a888315322 100644
--- a/src/OpenFOAM/meshes/pointMesh/pointPatches/constraint/cyclic/cyclicPointPatch.C
+++ b/src/OpenFOAM/meshes/pointMesh/pointPatches/constraint/cyclic/cyclicPointPatch.C
@@ -76,7 +76,7 @@ void Foam::cyclicPointPatch::calcGeometry(PstreamBuffers&)
     else
     {
         // Get reference to shared points
-        const labelList& sharedPoints = 
+        const labelList& sharedPoints =
             boundaryMesh().globalPatch().meshPoints();
 
         nonGlobalPatchPoints_.setSize(mp.size());
diff --git a/src/OpenFOAM/meshes/pointMesh/pointPatches/constraint/processor/processorPointPatch.H b/src/OpenFOAM/meshes/pointMesh/pointPatches/constraint/processor/processorPointPatch.H
index 373416ac0a4..df7b8d96a3e 100644
--- a/src/OpenFOAM/meshes/pointMesh/pointPatches/constraint/processor/processorPointPatch.H
+++ b/src/OpenFOAM/meshes/pointMesh/pointPatches/constraint/processor/processorPointPatch.H
@@ -73,11 +73,11 @@ class processorPointPatch
         //- Calculate the patch geometry
         virtual void calcGeometry(PstreamBuffers&);
 
-        //- Initialise the points on this patch which are should also be 
+        //- Initialise the points on this patch which are should also be
         //  on a neighbouring patch but are not part of faces of that patch
         void initPatchPatchPoints(PstreamBuffers&);
 
-        //- Calculate the points on this patch which are should also be 
+        //- Calculate the points on this patch which are should also be
         //  on a neighbouring patch but are not part of faces of that patch
         void calcPatchPatchPoints(PstreamBuffers&);
 
diff --git a/src/OpenFOAM/meshes/polyMesh/globalMeshData/globalMeshData.C b/src/OpenFOAM/meshes/polyMesh/globalMeshData/globalMeshData.C
index 0436132b58d..147b370d1a2 100644
--- a/src/OpenFOAM/meshes/polyMesh/globalMeshData/globalMeshData.C
+++ b/src/OpenFOAM/meshes/polyMesh/globalMeshData/globalMeshData.C
@@ -96,7 +96,7 @@ void Foam::globalMeshData::initProcAddr()
         forAll(processorPatches_, i)
         {
             label patchi = processorPatches_[i];
-            
+
             IPstream fromNeighbour
             (
                 Pstream::blocking,
@@ -105,7 +105,7 @@ void Foam::globalMeshData::initProcAddr()
                     mesh_.boundaryMesh()[patchi]
                 ).neighbProcNo()
             );
-            
+
             fromNeighbour >> processorPatchNeighbours_[patchi];
         }
     }
@@ -628,7 +628,7 @@ Foam::pointField Foam::globalMeshData::sharedPoints() const
             OPstream toMaster(Pstream::blocking, Pstream::masterNo());
 
             toMaster
-                << sharedPointAddr_ 
+                << sharedPointAddr_
                 << UIndirectList<point>(mesh_.points(), sharedPointLabels_)();
         }
 
diff --git a/src/OpenFOAM/meshes/polyMesh/globalMeshData/globalMeshData.H b/src/OpenFOAM/meshes/polyMesh/globalMeshData/globalMeshData.H
index e28a8b1d362..7c4893126d7 100644
--- a/src/OpenFOAM/meshes/polyMesh/globalMeshData/globalMeshData.H
+++ b/src/OpenFOAM/meshes/polyMesh/globalMeshData/globalMeshData.H
@@ -27,9 +27,9 @@ Class
 
 Description
     Various mesh related information for a parallel run. Upon construction
-    constructs all info by using parallel communication. 
+    constructs all info by using parallel communication.
 
-    Requires: 
+    Requires:
     - all processor patches to have correct ordering.
     - all processorPatches to have their transforms set ('makeTransforms')
 
@@ -148,7 +148,7 @@ class globalMeshData
 
         // Processor patch addressing (be careful if not running in parallel!)
 
-            //- List of processor patch labels 
+            //- List of processor patch labels
             //  (size of list = number of processor patches)
             labelList processorPatches_;
 
@@ -297,7 +297,7 @@ public:
 
         // Processor patch addressing (be careful when not running in parallel)
 
-            //- Return list of processor patch labels 
+            //- Return list of processor patch labels
             //  (size of list = number of processor patches)
             const labelList& processorPatches() const
             {
diff --git a/src/OpenFOAM/meshes/polyMesh/globalMeshData/globalPoints.H b/src/OpenFOAM/meshes/polyMesh/globalMeshData/globalPoints.H
index d39903e406b..c2361da2baa 100644
--- a/src/OpenFOAM/meshes/polyMesh/globalMeshData/globalPoints.H
+++ b/src/OpenFOAM/meshes/polyMesh/globalMeshData/globalPoints.H
@@ -33,7 +33,7 @@ Description
     communication where you do all but these shared points with patch to
     patch communication but need to do a reduce on these shared points)
 
-    Works purely topological and using local communication only. 
+    Works purely topological and using local communication only.
     Needs:
       - domain to be one single domain (i.e. all faces can be reached through
         face-cell walk).
@@ -84,7 +84,7 @@ Description
         - mark indices for which information has changed
      endloop until nothing changes.
 
- 
+
 SourceFiles
     globalPoints.C
 
diff --git a/src/OpenFOAM/meshes/polyMesh/mapPolyMesh/faceMapper/faceMapper.C b/src/OpenFOAM/meshes/polyMesh/mapPolyMesh/faceMapper/faceMapper.C
index d9c54126c23..f3809d4b9a7 100644
--- a/src/OpenFOAM/meshes/polyMesh/mapPolyMesh/faceMapper/faceMapper.C
+++ b/src/OpenFOAM/meshes/polyMesh/mapPolyMesh/faceMapper/faceMapper.C
@@ -220,7 +220,7 @@ Foam::faceMapper::faceMapper(const mapPolyMesh& mpm)
     // Check for possibility of direct mapping
     if
     (
-        mpm_.facesFromPointsMap().empty() 
+        mpm_.facesFromPointsMap().empty()
      && mpm_.facesFromEdgesMap().empty()
      && mpm_.facesFromFacesMap().empty()
     )
diff --git a/src/OpenFOAM/meshes/polyMesh/mapPolyMesh/mapDistribute/mapDistribute.H b/src/OpenFOAM/meshes/polyMesh/mapPolyMesh/mapDistribute/mapDistribute.H
index 684a7edf27b..e0af4d6a0c5 100644
--- a/src/OpenFOAM/meshes/polyMesh/mapPolyMesh/mapDistribute/mapDistribute.H
+++ b/src/OpenFOAM/meshes/polyMesh/mapPolyMesh/mapDistribute/mapDistribute.H
@@ -41,7 +41,7 @@ Note:
 
     Constructors using compact numbering: all my own elements first
     (whether used or not) followed by used-only remote elements.
-    So e.g 4 procs and on proc 1 the compact 
+    So e.g 4 procs and on proc 1 the compact
     table will first have all globalIndex.localSize() elements from proc1
     followed by used-only elements of proc0, proc2, proc3.
     The constructed mapDistribute sends the local elements from and
diff --git a/src/OpenFOAM/meshes/polyMesh/mapPolyMesh/mapDistribute/mapDistributePolyMesh.H b/src/OpenFOAM/meshes/polyMesh/mapPolyMesh/mapDistribute/mapDistributePolyMesh.H
index 8fdfe7e8fb5..02d6a18eee1 100644
--- a/src/OpenFOAM/meshes/polyMesh/mapPolyMesh/mapDistribute/mapDistributePolyMesh.H
+++ b/src/OpenFOAM/meshes/polyMesh/mapPolyMesh/mapDistribute/mapDistributePolyMesh.H
@@ -27,7 +27,7 @@ Class
 
 Description
     Class containing mesh-to-mesh mapping information after a mesh distribution
-    where we send parts of meshes (using subsetting) to other processors 
+    where we send parts of meshes (using subsetting) to other processors
     and receive and reconstruct mesh.
 
     We store mapping from the bits-to-send to the complete starting mesh
diff --git a/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/processor/processorPolyPatch.H b/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/processor/processorPolyPatch.H
index 807ea19825d..c606cabcd87 100644
--- a/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/processor/processorPolyPatch.H
+++ b/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/processor/processorPolyPatch.H
@@ -30,7 +30,7 @@ Description
 
     Note: morph patch face ordering tries to do a geometric ordering.
     (assumes faces coincident) Hence will have problems when cyclics
-    are present. 
+    are present.
 
 SourceFiles
     processorPolyPatch.C
diff --git a/src/OpenFOAM/meshes/primitiveMesh/primitiveMesh.H b/src/OpenFOAM/meshes/primitiveMesh/primitiveMesh.H
index 61eff8ff03b..26550cda561 100644
--- a/src/OpenFOAM/meshes/primitiveMesh/primitiveMesh.H
+++ b/src/OpenFOAM/meshes/primitiveMesh/primitiveMesh.H
@@ -224,7 +224,7 @@ class primitiveMesh
             );
             //- For on-the-fly addressing calculation
             static label findFirstCommonElementFromSortedLists
-            ( 
+            (
                 const labelList&,
                 const labelList&
             );
@@ -556,7 +556,7 @@ public:
                 //- Check for negative cell volumes
                 bool checkCellVolumes
                 (
-                    
+
                     const bool report = false,
                     labelHashSet* setPtr = NULL
                 ) const;
@@ -645,7 +645,7 @@ public:
             //  Returns false for no error.
             bool checkTopology(const bool report = false) const;
 
-            //- Check mesh geometry (& implicitly topology) for correctness. 
+            //- Check mesh geometry (& implicitly topology) for correctness.
             //  Returns false for no error.
             bool checkGeometry(const bool report = false) const;
 
diff --git a/src/OpenFOAM/meshes/primitiveShapes/triangle/triangle.H b/src/OpenFOAM/meshes/primitiveShapes/triangle/triangle.H
index 3bc3ea38a80..06c41d46cf6 100644
--- a/src/OpenFOAM/meshes/primitiveShapes/triangle/triangle.H
+++ b/src/OpenFOAM/meshes/primitiveShapes/triangle/triangle.H
@@ -100,7 +100,7 @@ public:
     //- Return types for classify
     enum proxType
     {
-        NONE, 
+        NONE,
         POINT,  // Close to point
         EDGE    // Close to edge
     };
diff --git a/src/OpenFOAM/primitives/DiagTensor/DiagTensorI.H b/src/OpenFOAM/primitives/DiagTensor/DiagTensorI.H
index 5aedd18ebad..09da11e46ca 100644
--- a/src/OpenFOAM/primitives/DiagTensor/DiagTensorI.H
+++ b/src/OpenFOAM/primitives/DiagTensor/DiagTensorI.H
@@ -299,7 +299,7 @@ inline Cmpt det(const DiagTensor<Cmpt>& t)
 template <class Cmpt>
 inline DiagTensor<Cmpt> inv(const DiagTensor<Cmpt>& dt)
 {
-    return DiagTensor<Cmpt>(1.0/dt.xx(), 1.0/dt.yy(), 1.0/dt.zz()); 
+    return DiagTensor<Cmpt>(1.0/dt.xx(), 1.0/dt.yy(), 1.0/dt.zz());
 }
 
 
diff --git a/src/OpenFOAM/primitives/SphericalTensor2D/SphericalTensor2DI.H b/src/OpenFOAM/primitives/SphericalTensor2D/SphericalTensor2DI.H
index 497322ee9ab..618c5931acd 100644
--- a/src/OpenFOAM/primitives/SphericalTensor2D/SphericalTensor2DI.H
+++ b/src/OpenFOAM/primitives/SphericalTensor2D/SphericalTensor2DI.H
@@ -160,7 +160,7 @@ inline Cmpt det(const SphericalTensor2D<Cmpt>& st)
 template <class Cmpt>
 inline SphericalTensor2D<Cmpt> inv(const SphericalTensor2D<Cmpt>& st)
 {
-    return SphericalTensor2D<Cmpt>(1.0/st.ii()); 
+    return SphericalTensor2D<Cmpt>(1.0/st.ii());
 }
 
 
diff --git a/src/OpenFOAM/primitives/VectorSpace/VectorSpaceM.H b/src/OpenFOAM/primitives/VectorSpace/VectorSpaceM.H
index 20703c349cc..45ba4f40cd8 100644
--- a/src/OpenFOAM/primitives/VectorSpace/VectorSpaceM.H
+++ b/src/OpenFOAM/primitives/VectorSpace/VectorSpaceM.H
@@ -1,5 +1,5 @@
 
-template<int N, int I> 
+template<int N, int I>
 class VectorSpaceOps
 {
 public:
diff --git a/src/OpenFOAM/primitives/random/random.3 b/src/OpenFOAM/primitives/random/random.3
index 66d6105e83d..8a0af2ca4f4 100644
--- a/src/OpenFOAM/primitives/random/random.3
+++ b/src/OpenFOAM/primitives/random/random.3
@@ -44,7 +44,7 @@
 .Nd better random number generator; routines for changing generators
 .Sh SYNOPSIS
 .Fd #include <stdlib.h>
-.Ft long 
+.Ft long
 .Fn random void
 .Ft void
 .Fn srandom "unsigned seed"
@@ -92,7 +92,7 @@ however,
 will by default produce a sequence of numbers that can be duplicated
 by calling
 .Fn srandom
-with 
+with
 .Ql 1
 as the seed.
 .Pp
@@ -161,7 +161,7 @@ messages are printed on the standard error output.
 .Xr rand 3
 .Sh HISTORY
 These
-functions appeared in 
+functions appeared in
 .Bx 4.2 .
 .Sh BUGS
 About 2/3 the speed of
diff --git a/src/OpenFOAM/primitives/random/random.c b/src/OpenFOAM/primitives/random/random.c
index 5421390cf0c..a2d6ac021a2 100644
--- a/src/OpenFOAM/primitives/random/random.c
+++ b/src/OpenFOAM/primitives/random/random.c
@@ -67,7 +67,7 @@ static char *rcsid = "$NetBSD: random.c,v 1.4 1995/12/28 08:52:43 thorpej Exp $"
  * state information, which will allow a degree seven polynomial.  (Note:
  * the zeroeth word of state information also has some other information
  * stored in it -- see setstate() for details).
- * 
+ *
  * The random number generation technique is a linear feedback shift register
  * approach, employing trinomials (since there are fewer terms to sum up that
  * way).  In this approach, the least significant bit of all the numbers in
@@ -222,12 +222,12 @@ srandom(x)
  * the break values for the different R.N.G.'s, we choose the best (largest)
  * one we can and set things up for it.  srandom() is then called to
  * initialize the state information.
- * 
+ *
  * Note that on return from srandom(), we set state[-1] to be the type
  * multiplexed with the current value of the rear pointer; this is so
  * successive calls to initstate() won't lose this information and will be
  * able to restart with setstate().
- * 
+ *
  * Note: the first thing we do is save the current state, if any, just like
  * setstate() so that it doesn't matter when initstate is called.
  *
diff --git a/src/OpenFOAM/primitives/septernion/septernion.H b/src/OpenFOAM/primitives/septernion/septernion.H
index 906e68cf005..2ea2b1c49ac 100644
--- a/src/OpenFOAM/primitives/septernion/septernion.H
+++ b/src/OpenFOAM/primitives/septernion/septernion.H
@@ -118,7 +118,7 @@ public:
 
            // Transform
 
-               //- Transform the given vector 
+               //- Transform the given vector
                inline vector transform(const vector& v) const;
 
                //- Inverse Transform the given vector
diff --git a/src/OpenFOAM/primitives/transform/symmTransform.H b/src/OpenFOAM/primitives/transform/symmTransform.H
index 140f46f8abb..3741d252d71 100644
--- a/src/OpenFOAM/primitives/transform/symmTransform.H
+++ b/src/OpenFOAM/primitives/transform/symmTransform.H
@@ -84,7 +84,7 @@ inline Tensor<Cmpt> transform(const symmTensor& stt, const Tensor<Cmpt>& t)
         (stt.xy()*t.xx() + stt.yy()*t.yx() + stt.yz()*t.zx())*stt.xz()
       + (stt.xy()*t.xy() + stt.yy()*t.yy() + stt.yz()*t.zy())*stt.yz()
       + (stt.xy()*t.xz() + stt.yy()*t.yz() + stt.yz()*t.zz())*stt.zz(),
-        
+
         (stt.xz()*t.xx() + stt.yz()*t.yx() + stt.zz()*t.zx())*stt.xx()
       + (stt.xz()*t.xy() + stt.yz()*t.yy() + stt.zz()*t.zy())*stt.xy()
       + (stt.xz()*t.xz() + stt.yz()*t.yz() + stt.zz()*t.zz())*stt.xz(),
@@ -139,7 +139,7 @@ inline SymmTensor<Cmpt> transform
         (stt.xy()*st.xx() + stt.yy()*st.xy() + stt.yz()*st.xz())*stt.xz()
       + (stt.xy()*st.xy() + stt.yy()*st.yy() + stt.yz()*st.yz())*stt.yz()
       + (stt.xy()*st.xz() + stt.yy()*st.yz() + stt.yz()*st.zz())*stt.zz(),
-        
+
         (stt.xz()*st.xx() + stt.yz()*st.xy() + stt.zz()*st.xz())*stt.xz()
       + (stt.xz()*st.xy() + stt.yz()*st.yy() + stt.zz()*st.yz())*stt.yz()
       + (stt.xz()*st.xz() + stt.yz()*st.yz() + stt.zz()*st.zz())*stt.zz()
diff --git a/src/dynamicFvMesh/dynamicFvMesh/newDynamicFvMesh.C b/src/dynamicFvMesh/dynamicFvMesh/newDynamicFvMesh.C
index 5dfe589ec32..71438a473d1 100644
--- a/src/dynamicFvMesh/dynamicFvMesh/newDynamicFvMesh.C
+++ b/src/dynamicFvMesh/dynamicFvMesh/newDynamicFvMesh.C
@@ -47,7 +47,7 @@ Foam::autoPtr<Foam::dynamicFvMesh> Foam::dynamicFvMesh::New(const IOobject& io)
             false
         )
     );
-    
+
     word dynamicFvMeshTypeName(dynamicMeshDict.lookup("dynamicFvMesh"));
 
     Info<< "Selecting dynamicFvMesh " << dynamicFvMeshTypeName << endl;
diff --git a/src/dynamicFvMesh/dynamicMotionSolverFvMesh/dynamicMotionSolverFvMesh.C b/src/dynamicFvMesh/dynamicMotionSolverFvMesh/dynamicMotionSolverFvMesh.C
index 124b2e9442d..604bf49f45a 100644
--- a/src/dynamicFvMesh/dynamicMotionSolverFvMesh/dynamicMotionSolverFvMesh.C
+++ b/src/dynamicFvMesh/dynamicMotionSolverFvMesh/dynamicMotionSolverFvMesh.C
@@ -63,7 +63,7 @@ bool dynamicMotionSolverFvMesh::update()
 
     if (foundObject<volVectorField>("U"))
     {
-        volVectorField& U = 
+        volVectorField& U =
             const_cast<volVectorField&>(lookupObject<volVectorField>("U"));
         U.correctBoundaryConditions();
     }
diff --git a/src/dynamicFvMesh/include/meshCourantNo.H b/src/dynamicFvMesh/include/meshCourantNo.H
index d9cbb0f7a3c..5430d09dac0 100644
--- a/src/dynamicFvMesh/include/meshCourantNo.H
+++ b/src/dynamicFvMesh/include/meshCourantNo.H
@@ -35,7 +35,7 @@ scalar meanMeshCoNum = 0.0;
 
 if (mesh.nInternalFaces())
 {
-    surfaceScalarField SfUfbyDelta = 
+    surfaceScalarField SfUfbyDelta =
         mesh.surfaceInterpolation::deltaCoeffs()*mag(mesh.phi());
 
     meshCoNum = max(SfUfbyDelta/mesh.magSf())
diff --git a/src/dynamicFvMesh/solidBodyMotionFvMesh/solidBodyMotionFunctions/SDA/SDA.H b/src/dynamicFvMesh/solidBodyMotionFvMesh/solidBodyMotionFunctions/SDA/SDA.H
index 05a3447dd05..9ff486f07fd 100644
--- a/src/dynamicFvMesh/solidBodyMotionFvMesh/solidBodyMotionFunctions/SDA/SDA.H
+++ b/src/dynamicFvMesh/solidBodyMotionFvMesh/solidBodyMotionFunctions/SDA/SDA.H
@@ -81,7 +81,7 @@ class SDA
 
         //- Damping Coefficient [-]
         scalar Q_;
-    
+
         //- Time Period for liquid [sec]
         scalar Tp_;
 
diff --git a/src/dynamicFvMesh/solidBodyMotionFvMesh/solidBodyMotionFunctions/solidBodyMotionFunction/newSolidBodyMotionFunction.C b/src/dynamicFvMesh/solidBodyMotionFvMesh/solidBodyMotionFunctions/solidBodyMotionFunction/newSolidBodyMotionFunction.C
index 8c9fcbc5229..ebab0259d8e 100644
--- a/src/dynamicFvMesh/solidBodyMotionFvMesh/solidBodyMotionFunctions/solidBodyMotionFunction/newSolidBodyMotionFunction.C
+++ b/src/dynamicFvMesh/solidBodyMotionFvMesh/solidBodyMotionFunctions/solidBodyMotionFunction/newSolidBodyMotionFunction.C
@@ -34,7 +34,7 @@ Foam::autoPtr<Foam::solidBodyMotionFunction> Foam::solidBodyMotionFunction::New
     const Time& runTime
 )
 {
-    word solidBodyMotionFunctionTypeName = 
+    word solidBodyMotionFunctionTypeName =
         SBMFCoeffs.lookup("solidBodyMotionFunction");
 
     Info<< "Selecting solid-body motion function "
diff --git a/src/dynamicMesh/attachDetach/attachInterface.C b/src/dynamicMesh/attachDetach/attachInterface.C
index 4c4294f8f37..e09561be886 100644
--- a/src/dynamicMesh/attachDetach/attachInterface.C
+++ b/src/dynamicMesh/attachDetach/attachInterface.C
@@ -260,7 +260,7 @@ void Foam::attachDetach::modifyMotionPoints
 
     if (debug)
     {
-        Pout<< "void attachDetach::modifyMotionPoints(" 
+        Pout<< "void attachDetach::modifyMotionPoints("
             << "pointField& motionPoints) const "
             << " for object " << name() << " : "
             << "Adjusting motion points." << endl;
diff --git a/src/dynamicMesh/attachDetach/detachInterface.C b/src/dynamicMesh/attachDetach/detachInterface.C
index 6b57ccb6858..19552171e0c 100644
--- a/src/dynamicMesh/attachDetach/detachInterface.C
+++ b/src/dynamicMesh/attachDetach/detachInterface.C
@@ -47,7 +47,7 @@ void Foam::attachDetach::detachInterface
     //    into the slave patch
     // 3. Create a point renumbering list, giving a new point index for original
     //    points in the face patch
-    // 4. Grab all faces in cells on the master side and renumber them 
+    // 4. Grab all faces in cells on the master side and renumber them
     //    using the point renumbering list.  Exclude the ones that belong to
     //    the master face zone
     //
@@ -459,9 +459,9 @@ void Foam::attachDetach::detachInterface
                         -1,                           // zone for face
                         false                         // face zone flip
                     )
-                );   
+                );
 // Pout << "modifying stick-out face. Boundary Old face: " << oldFace << " new face: " << newFace << " own: " << own[curFaceID] << " patch: " << mesh.boundaryMesh().whichPatch(curFaceID) << endl;
-            }                                                  
+            }
         }
     }
 
diff --git a/src/dynamicMesh/boundaryPatch/boundaryPatch.H b/src/dynamicMesh/boundaryPatch/boundaryPatch.H
index 039b58651e7..14a176d6f16 100644
--- a/src/dynamicMesh/boundaryPatch/boundaryPatch.H
+++ b/src/dynamicMesh/boundaryPatch/boundaryPatch.H
@@ -85,7 +85,7 @@ public:
 
         //- Construct as copy, resetting the index
         boundaryPatch(const boundaryPatch&, const label index);
-   
+
         //- Clone
         autoPtr<boundaryPatch> clone() const;
 
diff --git a/src/dynamicMesh/fvMeshAdder/fvMeshAdderTemplates.C b/src/dynamicMesh/fvMeshAdder/fvMeshAdderTemplates.C
index 37562abc35b..536f7347090 100644
--- a/src/dynamicMesh/fvMeshAdder/fvMeshAdderTemplates.C
+++ b/src/dynamicMesh/fvMeshAdder/fvMeshAdderTemplates.C
@@ -147,7 +147,7 @@ void Foam::fvMeshAdder::MapVolField
             if (newPatchI != -1)
             {
                 labelList newToOld
-                (   
+                (
                     calcPatchMap
                     (
                         oldPatchStarts[patchI],
@@ -209,7 +209,7 @@ void Foam::fvMeshAdder::MapVolField
 
                     // From new patch faces to patch faces on added mesh.
                     labelList newToAdded
-                    (   
+                    (
                         calcPatchMap
                         (
                             oldPatch.start(),
@@ -242,7 +242,7 @@ void Foam::fvMeshAdder::MapVolField
                     // From new patch faces to patch faces on added mesh. This
                     // time keep unmapped elements -1.
                     labelList newToAdded
-                    (   
+                    (
                         calcPatchMap
                         (
                             oldPatch.start(),
@@ -299,7 +299,7 @@ void Foam::fvMeshAdder::MapVolFields
     // It is necessary to enforce that all old-time fields are stored
     // before the mapping is performed.  Otherwise, if the
     // old-time-level field is mapped before the field itself, sizes
-    // will not match.  
+    // will not match.
 
     for
     (
@@ -462,7 +462,7 @@ void Foam::fvMeshAdder::MapSurfaceField
             if (newPatchI != -1)
             {
                 labelList newToOld
-                (   
+                (
                     calcPatchMap
                     (
                         oldPatchStarts[patchI],
@@ -524,7 +524,7 @@ void Foam::fvMeshAdder::MapSurfaceField
 
                     // From new patch faces to patch faces on added mesh.
                     labelList newToAdded
-                    (   
+                    (
                         calcPatchMap
                         (
                             oldPatch.start(),
@@ -557,7 +557,7 @@ void Foam::fvMeshAdder::MapSurfaceField
                     // From new patch faces to patch faces on added mesh. This
                     // time keep unmapped elements -1.
                     labelList newToAdded
-                    (   
+                    (
                         calcPatchMap
                         (
                             oldPatch.start(),
@@ -613,7 +613,7 @@ void Foam::fvMeshAdder::MapSurfaceFields
     // It is necessary to enforce that all old-time fields are stored
     // before the mapping is performed.  Otherwise, if the
     // old-time-level field is mapped before the field itself, sizes
-    // will not match.  
+    // will not match.
 
     for
     (
diff --git a/src/dynamicMesh/fvMeshDistribute/fvMeshDistribute.C b/src/dynamicMesh/fvMeshDistribute/fvMeshDistribute.C
index 5d4144a32ce..7dc416b98f8 100644
--- a/src/dynamicMesh/fvMeshDistribute/fvMeshDistribute.C
+++ b/src/dynamicMesh/fvMeshDistribute/fvMeshDistribute.C
@@ -453,7 +453,7 @@ Foam::autoPtr<Foam::mapPolyMesh> Foam::fvMeshDistribute::repatch
 )
 {
     polyTopoChange meshMod(mesh_);
-    
+
     forAll(newPatchID, bFaceI)
     {
         if (newPatchID[bFaceI] != -1)
@@ -936,7 +936,7 @@ Foam::autoPtr<Foam::mapPolyMesh> Foam::fvMeshDistribute::doRemoveCells
 void Foam::fvMeshDistribute::addProcPatches
 (
     const labelList& neighbourNewProc,   // processor that neighbour is on
-    labelList& procPatchID              
+    labelList& procPatchID
 )
 {
     // Now use the neighbourFace/Proc to repatch the mesh. These two lists
@@ -1236,7 +1236,7 @@ Foam::autoPtr<Foam::fvMesh> Foam::fvMeshDistribute::receiveMesh
     // Construct fvMesh
     autoPtr<fvMesh> domainMeshPtr
     (
-        new fvMesh 
+        new fvMesh
         (
             IOobject
             (
@@ -1705,7 +1705,7 @@ Foam::autoPtr<Foam::mapDistributePolyMesh> Foam::fvMeshDistribute::distribute
                 str
             );
             sendFields<surfaceSphericalTensorField>
-            (   
+            (
                 recvProc,
                 surfSphereTensors,
                 subsetter,
@@ -2046,7 +2046,7 @@ Foam::autoPtr<Foam::mapDistributePolyMesh> Foam::fvMeshDistribute::distribute
             // Update mesh data: sourceFace,sourceProc for added
             // mesh.
 
-            sourceFace = 
+            sourceFace =
                 mapBoundaryData
                 (
                     mesh_,
@@ -2055,7 +2055,7 @@ Foam::autoPtr<Foam::mapDistributePolyMesh> Foam::fvMeshDistribute::distribute
                     domainMesh.nInternalFaces(),
                     domainSourceFace
                 );
-            sourceProc = 
+            sourceProc =
                 mapBoundaryData
                 (
                     mesh_,
@@ -2064,7 +2064,7 @@ Foam::autoPtr<Foam::mapDistributePolyMesh> Foam::fvMeshDistribute::distribute
                     domainMesh.nInternalFaces(),
                     domainSourceProc
                 );
-            sourceNewProc = 
+            sourceNewProc =
                 mapBoundaryData
                 (
                     mesh_,
diff --git a/src/dynamicMesh/fvMeshDistribute/fvMeshDistributeTemplates.C b/src/dynamicMesh/fvMeshDistribute/fvMeshDistributeTemplates.C
index 06123db004f..03530154645 100644
--- a/src/dynamicMesh/fvMeshDistribute/fvMeshDistributeTemplates.C
+++ b/src/dynamicMesh/fvMeshDistribute/fvMeshDistributeTemplates.C
@@ -289,7 +289,7 @@ void Foam::fvMeshDistribute::initPatchFields
 //  }
 
 // volVectorField {U {internalField ..; boundaryField ..;}}
-// 
+//
 template<class GeoField>
 void Foam::fvMeshDistribute::sendFields
 (
diff --git a/src/dynamicMesh/layerAdditionRemoval/removeCellLayer.C b/src/dynamicMesh/layerAdditionRemoval/removeCellLayer.C
index 4cc10cf16f1..b782b6a6481 100644
--- a/src/dynamicMesh/layerAdditionRemoval/removeCellLayer.C
+++ b/src/dynamicMesh/layerAdditionRemoval/removeCellLayer.C
@@ -235,9 +235,9 @@ void Foam::layerAdditionRemoval::removeCellLayer
                     mesh.faceZones()[modifiedFaceZone].whichFace(curFaceID)
                 ];
         }
-        
+
         label newNei;
-        
+
         if (curFaceID < mesh.nInternalFaces())
         {
             newNei = nei[curFaceID];
@@ -301,7 +301,7 @@ void Foam::layerAdditionRemoval::removeCellLayer
 
         // Is any of the faces a boundary face?  If so, grab the patch
         // A boundary-to-boundary collapse is checked for in validCollapse()
-        // and cannot happen here.  
+        // and cannot happen here.
 
         if (!mesh.isInternalFace(mf[faceI]))
         {
diff --git a/src/dynamicMesh/layerAdditionRemoval/setLayerPairing.C b/src/dynamicMesh/layerAdditionRemoval/setLayerPairing.C
index 9fef6798205..472b404cc08 100644
--- a/src/dynamicMesh/layerAdditionRemoval/setLayerPairing.C
+++ b/src/dynamicMesh/layerAdditionRemoval/setLayerPairing.C
@@ -42,7 +42,7 @@ bool Foam::layerAdditionRemoval::setLayerPairing() const
     // This is also the most complex part of the topological change.
     // Therefore it will be calculated here and stored as temporary
     // data until the actual topological change, after which it will
-    // be cleared.  
+    // be cleared.
 
     // Algorithm for point collapse
     // 1)  Go through the master cell layer and for every face of
@@ -212,7 +212,7 @@ void Foam::layerAdditionRemoval::modifyMotionPoints
 {
     if (debug)
     {
-        Pout<< "void layerAdditionRemoval::modifyMotionPoints(" 
+        Pout<< "void layerAdditionRemoval::modifyMotionPoints("
             << "pointField& motionPoints) const for object "
             << name() << " : ";
     }
diff --git a/src/dynamicMesh/meshCut/cellCuts/cellCuts.H b/src/dynamicMesh/meshCut/cellCuts/cellCuts.H
index 50c9b0d0230..5473a3b8c75 100644
--- a/src/dynamicMesh/meshCut/cellCuts/cellCuts.H
+++ b/src/dynamicMesh/meshCut/cellCuts/cellCuts.H
@@ -61,7 +61,7 @@ Description
       - cellAnchorPoints : per cell the vertices on one side which are
         considered the anchor points.
 
-    AnchorPoints: connected loops have to be oriented in the same way to 
+    AnchorPoints: connected loops have to be oriented in the same way to
     be able to grow new internal faces out of the same bottom faces.
     (limitation of the mapping procedure). The loop is cellLoop is oriented
     such that the normal of it points towards the anchorPoints.
@@ -435,7 +435,7 @@ class cellCuts
 
             //- Set orientation of loops
             void orientPlanesAndLoops();
-            
+
             //- top level driver: adressing calculation and loop detection
             void calcLoopsAndAddressing(const labelList& cutCells);
 
@@ -592,7 +592,7 @@ public:
             //- Returns coordinates of points on loop for given cell.
             //  Uses cellLoops_ and edgeWeight_
             pointField loopPoints(const label cellI) const;
-  
+
             //- Invert anchor point selection.
             labelList nonAnchorPoints
             (
diff --git a/src/dynamicMesh/meshCut/cellLooper/cellLooper.H b/src/dynamicMesh/meshCut/cellLooper/cellLooper.H
index 206b9cf3ffb..ec2e12226c8 100644
--- a/src/dynamicMesh/meshCut/cellLooper/cellLooper.H
+++ b/src/dynamicMesh/meshCut/cellLooper/cellLooper.H
@@ -173,7 +173,7 @@ public:
         //  Cut along circumference is expressed as cellVertCut,
         //  cellEdgeToWeight. Returns true if succesfull. Still might not
         //  be compatible with existing cuts but this should be handled by
-        //  caller). 
+        //  caller).
         virtual bool cut
         (
             const vector& refDir,
diff --git a/src/dynamicMesh/meshCut/directions/directionInfo/directionInfo.C b/src/dynamicMesh/meshCut/directions/directionInfo/directionInfo.C
index dbffd83da43..d2b605c4337 100644
--- a/src/dynamicMesh/meshCut/directions/directionInfo/directionInfo.C
+++ b/src/dynamicMesh/meshCut/directions/directionInfo/directionInfo.C
@@ -170,7 +170,7 @@ Foam::label Foam::directionInfo::edgeToFaceIndex
         {
             // Both not in face.
             // e is on opposite face. Determine corresponding edge on this face:
-            // - determine two faces using edge (one is the opposite face, 
+            // - determine two faces using edge (one is the opposite face,
             //   one is 'side' face
             // - walk on both these faces to opposite edge
             // - check if this opposite edge is on faceI
@@ -264,7 +264,7 @@ bool Foam::directionInfo::updateCell
             const edge& e = mesh.edges()[edgeI];
 
             // Find face connected to face through edgeI and on same cell.
-            label faceI = 
+            label faceI =
                 meshTools::otherFace
                 (
                     mesh,
@@ -304,7 +304,7 @@ bool Foam::directionInfo::updateCell
     n_ = neighbourInfo.n();
 
     return true;
-}    
+}
 
 
 // Update this face with neighbouring cell information
@@ -351,7 +351,7 @@ bool Foam::directionInfo::updateFace
     n_ = neighbourInfo.n();
 
     return true;
-}    
+}
 
 
 // Merge this with information on same face
@@ -376,7 +376,7 @@ bool Foam::directionInfo::updateFace
 
         return true;
     }
-}    
+}
 
 
 // * * * * * * * * * * * * * * * Friend Operators  * * * * * * * * * * * * * //
diff --git a/src/dynamicMesh/meshCut/directions/directionInfo/directionInfo.H b/src/dynamicMesh/meshCut/directions/directionInfo/directionInfo.H
index 72bc37c2800..381389f8cd3 100644
--- a/src/dynamicMesh/meshCut/directions/directionInfo/directionInfo.H
+++ b/src/dynamicMesh/meshCut/directions/directionInfo/directionInfo.H
@@ -41,7 +41,7 @@ Description
              processors whereas f[0] should correspond to f[0] on other side)
 
     The rule is that if the label is set (-1 or higher) it is used
-    (topological information only), otherwise the vector is used. This makes 
+    (topological information only), otherwise the vector is used. This makes
     sure that we use topological information as much as possible and so a
     hex mesh is cut purely topologically. All other shapes are cut
     geometrically.
@@ -84,7 +84,7 @@ class directionInfo
         // Local n axis
         vector n_;
 
-        
+
     // Private Member Functions
 
         //- edge uses two labels
diff --git a/src/dynamicMesh/meshCut/directions/directionInfo/directionInfoI.H b/src/dynamicMesh/meshCut/directions/directionInfo/directionInfoI.H
index 44a9745977b..1f3a811c78c 100644
--- a/src/dynamicMesh/meshCut/directions/directionInfo/directionInfoI.H
+++ b/src/dynamicMesh/meshCut/directions/directionInfo/directionInfoI.H
@@ -93,7 +93,7 @@ inline void Foam::directionInfo::leaveDomain
 
 // index_ is offset in face on other side. So reverse it here.
 // (Note: f[0] on other domain is connected to f[0] in this domain,
-//        f[1]      ,,                         f[size-1]   ,, 
+//        f[1]      ,,                         f[size-1]   ,,
 // etc.)
 inline void Foam::directionInfo::enterDomain
 (
diff --git a/src/dynamicMesh/meshCut/directions/directions.C b/src/dynamicMesh/meshCut/directions/directions.C
index bc485faf878..b50069d6060 100644
--- a/src/dynamicMesh/meshCut/directions/directions.C
+++ b/src/dynamicMesh/meshCut/directions/directions.C
@@ -181,7 +181,7 @@ Foam::vectorField Foam::directions::propagateDirection
             changedFacesInfo[patchFaceI] =
                 directionInfo
                 (
-                    faceIndex, 
+                    faceIndex,
                     cutDir
                 );
         }
@@ -404,7 +404,7 @@ Foam::directions::directions
 
         if (wantTan1 || wantTan2)
         {
-            tan1Dirs = 
+            tan1Dirs =
                 propagateDirection
                 (
                     mesh,
diff --git a/src/dynamicMesh/meshCut/directions/directions.H b/src/dynamicMesh/meshCut/directions/directions.H
index 9debd4b2103..16be9a6c64e 100644
--- a/src/dynamicMesh/meshCut/directions/directions.H
+++ b/src/dynamicMesh/meshCut/directions/directions.H
@@ -30,7 +30,7 @@ Description
     or one set of directions per cell.
 
     Used in splitting cells.
-    Either all cells have similar refinement direction ('global') or 
+    Either all cells have similar refinement direction ('global') or
     direction is dependent on local cell geometry. Controlled by dictionary.
 
 SourceFiles
diff --git a/src/dynamicMesh/meshCut/edgeVertex/edgeVertex.H b/src/dynamicMesh/meshCut/edgeVertex/edgeVertex.H
index 2780b12498f..7e1cb47af89 100644
--- a/src/dynamicMesh/meshCut/edgeVertex/edgeVertex.H
+++ b/src/dynamicMesh/meshCut/edgeVertex/edgeVertex.H
@@ -118,7 +118,7 @@ public:
                     << (mesh.nPoints() + mesh.nEdges() - 1)
                     << abort(FatalError);
             }
-            
+
             return eVert >= mesh.nPoints();
         }
         bool isEdge(const label eVert) const
@@ -154,7 +154,7 @@ public:
                     "edgeVertex::getVertex(const primitiveMesh&, const label)"
                 )   << "EdgeVertex " << eVert << " not a vertex"
                     << abort(FatalError);
-            }            
+            }
             return eVert;
         }
         label getVertex(const label eVert) const
@@ -210,7 +210,7 @@ public:
             return coord(mesh_, cut, weight);
         }
 
-        //- Find mesh edge (or -1) between two cuts. 
+        //- Find mesh edge (or -1) between two cuts.
         static label cutPairToEdge
         (
             const primitiveMesh&,
diff --git a/src/dynamicMesh/meshCut/meshModifiers/boundaryCutter/boundaryCutter.C b/src/dynamicMesh/meshCut/meshModifiers/boundaryCutter/boundaryCutter.C
index c0cfa05c13f..77eccbcbec5 100644
--- a/src/dynamicMesh/meshCut/meshModifiers/boundaryCutter/boundaryCutter.C
+++ b/src/dynamicMesh/meshCut/meshModifiers/boundaryCutter/boundaryCutter.C
@@ -159,7 +159,7 @@ void Foam::boundaryCutter::addFace
     getFaceInfo(faceI, patchID, zoneID, zoneFlip);
     label own = mesh_.faceOwner()[faceI];
     label masterPoint = mesh_.faces()[faceI][0];
-    
+
     if (!modifiedFace)
     {
         meshMod.setAction
@@ -203,7 +203,7 @@ void Foam::boundaryCutter::addFace
 
 
 
-// Splits a face using the cut edges and modified points 
+// Splits a face using the cut edges and modified points
 bool Foam::boundaryCutter::splitFace
 (
     const label faceI,
@@ -755,7 +755,7 @@ void Foam::boundaryCutter::setRefinement
 
         const labelList& eFaces = mesh_.edgeFaces()[edgeI];
 
-        forAll(eFaces, i)    
+        forAll(eFaces, i)
         {
             label faceI = eFaces[i];
 
@@ -781,7 +781,7 @@ void Foam::boundaryCutter::setRefinement
 
         const labelList& eFaces = mesh_.edgeFaces()[edgeI];
 
-        forAll(eFaces, i)    
+        forAll(eFaces, i)
         {
             label faceI = eFaces[i];
 
diff --git a/src/dynamicMesh/meshCut/meshModifiers/meshCutAndRemove/meshCutAndRemove.H b/src/dynamicMesh/meshCut/meshModifiers/meshCutAndRemove/meshCutAndRemove.H
index 5c922d1971e..1cb0c816773 100644
--- a/src/dynamicMesh/meshCut/meshModifiers/meshCutAndRemove/meshCutAndRemove.H
+++ b/src/dynamicMesh/meshCut/meshModifiers/meshCutAndRemove/meshCutAndRemove.H
@@ -27,7 +27,7 @@ Class
 
 Description
     like meshCutter but also removes non-anchor side of cell.
-    
+
 SourceFiles
     meshCutAndRemove.C
 
@@ -129,7 +129,7 @@ class meshCutAndRemove
             const label patchID
         );
 
-        //- Modifies existing faceI for either new owner/neighbour or 
+        //- Modifies existing faceI for either new owner/neighbour or
         //  new face points. Checks if anything changed and flips face
         //  if owner>neighbour
         void modFace
diff --git a/src/dynamicMesh/meshCut/meshModifiers/multiDirRefinement/multiDirRefinement.C b/src/dynamicMesh/meshCut/meshModifiers/multiDirRefinement/multiDirRefinement.C
index 60a27f53659..ce74b0b8e77 100644
--- a/src/dynamicMesh/meshCut/meshModifiers/multiDirRefinement/multiDirRefinement.C
+++ b/src/dynamicMesh/meshCut/meshModifiers/multiDirRefinement/multiDirRefinement.C
@@ -305,7 +305,7 @@ void Foam::multiDirRefinement::refineHex8
             hexCellSet.insert(hexCells[i], 1);
         }
 
-        // Increment count 
+        // Increment count
         forAll(consistentCells, i)
         {
             label cellI = consistentCells[i];
@@ -495,7 +495,7 @@ void Foam::multiDirRefinement::refineFromDict
         cellWalker.reset(new hexCellLooper(mesh));
     }
 
-    // Construct undoable refinement topology modifier. 
+    // Construct undoable refinement topology modifier.
     //Note: undoability switched off.
     // Might want to reconsider if needs to be possible. But then can always
     // use other constructor.
diff --git a/src/dynamicMesh/meshCut/meshModifiers/multiDirRefinement/multiDirRefinement.H b/src/dynamicMesh/meshCut/meshModifiers/multiDirRefinement/multiDirRefinement.H
index f4bf854bbae..dcc849d7025 100644
--- a/src/dynamicMesh/meshCut/meshModifiers/multiDirRefinement/multiDirRefinement.H
+++ b/src/dynamicMesh/meshCut/meshModifiers/multiDirRefinement/multiDirRefinement.H
@@ -92,7 +92,7 @@ class multiDirRefinement
         //- Given map from original to added cell set the refineCell for
         //  the added cells to be equal to the one on the original cells.
         static void addCells(const Map<label>&, List<refineCell>&);
-        
+
         //- Given map from original to added cell set the vectorField for
         //  the added cells to be equal to the one on the original cells.
         static void update(const Map<label>&, vectorField&);
diff --git a/src/dynamicMesh/meshCut/meshModifiers/refinementIterator/refinementIterator.C b/src/dynamicMesh/meshCut/meshModifiers/refinementIterator/refinementIterator.C
index 4cb35366a38..e1daf928868 100644
--- a/src/dynamicMesh/meshCut/meshModifiers/refinementIterator/refinementIterator.C
+++ b/src/dynamicMesh/meshCut/meshModifiers/refinementIterator/refinementIterator.C
@@ -117,7 +117,7 @@ Foam::Map<Foam::label> Foam::refinementIterator::setRefinement
             if (debug)
             {
                 Pout<< "refinementIterator : exiting iteration since no valid"
-                    << " loops found for " << currentRefCells.size() 
+                    << " loops found for " << currentRefCells.size()
                     << " cells" << endl;
 
 
@@ -146,7 +146,7 @@ Foam::Map<Foam::label> Foam::refinementIterator::setRefinement
 
             break;
         }
-            
+
         if (debug)
         {
             fileName cutsFile("cuts_" + runTime.timeName() + ".obj");
diff --git a/src/dynamicMesh/meshCut/meshModifiers/refinementIterator/refinementIterator.H b/src/dynamicMesh/meshCut/meshModifiers/refinementIterator/refinementIterator.H
index 381ffe0454f..5c0e931de45 100644
--- a/src/dynamicMesh/meshCut/meshModifiers/refinementIterator/refinementIterator.H
+++ b/src/dynamicMesh/meshCut/meshModifiers/refinementIterator/refinementIterator.H
@@ -27,7 +27,7 @@ Class
 
 Description
     Utility class to do iterating meshCutter until all requests satisfied.
- 
+
     Needed since cell cutting can only cut cell once in one go so if
     refinement pattern is not compatible on a cell by cell basis it will
     refuse to cut.
diff --git a/src/dynamicMesh/meshCut/wallLayerCells/wallNormalInfo/wallNormalInfoI.H b/src/dynamicMesh/meshCut/wallLayerCells/wallNormalInfo/wallNormalInfoI.H
index 1b11fb6624f..3617dda0176 100644
--- a/src/dynamicMesh/meshCut/wallLayerCells/wallNormalInfo/wallNormalInfoI.H
+++ b/src/dynamicMesh/meshCut/wallLayerCells/wallNormalInfo/wallNormalInfoI.H
@@ -52,7 +52,7 @@ inline bool Foam::wallNormalInfo::update(const wallNormalInfo& w2)
         return true;
     }
 }
-    
+
 
 // * * * * * * * * * * * * * * * * Constructors  * * * * * * * * * * * * * * //
 
@@ -172,7 +172,7 @@ inline bool Foam::wallNormalInfo::updateFace
 )
 {
     return update(neighbourWallInfo);
-}    
+}
 
 
 // * * * * * * * * * * * * * * * Member Operators  * * * * * * * * * * * * * //
diff --git a/src/dynamicMesh/motionSolver/motionSolver.H b/src/dynamicMesh/motionSolver/motionSolver.H
index a7bd50ea73b..e504d50d866 100644
--- a/src/dynamicMesh/motionSolver/motionSolver.H
+++ b/src/dynamicMesh/motionSolver/motionSolver.H
@@ -104,7 +104,7 @@ public:
 
 
     // Member Functions
-        
+
         //- Return reference to mesh
         const polyMesh& mesh() const
         {
diff --git a/src/dynamicMesh/perfectInterface/perfectInterface.C b/src/dynamicMesh/perfectInterface/perfectInterface.C
index ee892b7e873..7501f11da59 100644
--- a/src/dynamicMesh/perfectInterface/perfectInterface.C
+++ b/src/dynamicMesh/perfectInterface/perfectInterface.C
@@ -170,7 +170,7 @@ void Foam::perfectInterface::setRefinement
     // Some aliases
     const edgeList& edges0 = pp0.edges();
     const pointField& pts0 = pp0.localPoints();
-    const pointField& pts1 = pp1.localPoints();    
+    const pointField& pts1 = pp1.localPoints();
     const labelList& meshPts0 = pp0.meshPoints();
     const labelList& meshPts1 = pp1.meshPoints();
 
diff --git a/src/dynamicMesh/polyMeshAdder/faceCoupleInfo.H b/src/dynamicMesh/polyMeshAdder/faceCoupleInfo.H
index fcea7da22bb..a926096e0d8 100644
--- a/src/dynamicMesh/polyMeshAdder/faceCoupleInfo.H
+++ b/src/dynamicMesh/polyMeshAdder/faceCoupleInfo.H
@@ -46,7 +46,7 @@ Description
 
     @verbatim
     e.g. master:
-    
+
         +--+
         |  |
         |  |
@@ -398,7 +398,7 @@ public:
 
         //- Construct from meshes and subset of mesh faces
         //  (i.e. indirectPrimitivePatch addressing)
-        //  All faces in patch are considered matched (but don't have to be 
+        //  All faces in patch are considered matched (but don't have to be
         //  ordered)
         //  perfectMatch : each point/edge/face has corresponding point on other
         //                 side
diff --git a/src/dynamicMesh/polyTopoChange/polyTopoChange/addPatchCellLayer.C b/src/dynamicMesh/polyTopoChange/polyTopoChange/addPatchCellLayer.C
index 5574abcb86d..e1b94f504d2 100644
--- a/src/dynamicMesh/polyTopoChange/polyTopoChange/addPatchCellLayer.C
+++ b/src/dynamicMesh/polyTopoChange/polyTopoChange/addPatchCellLayer.C
@@ -1308,7 +1308,7 @@ void Foam::addPatchCellLayer::setRefinement
                         // faces with more layers.
                         if (addedPoints_[vEnd].size())
                         {
-                            newFp += 
+                            newFp +=
                                 addedPoints_[vEnd].size() - numEdgeSideFaces;
                         }
                         if (addedPoints_[vStart].size())
diff --git a/src/dynamicMesh/polyTopoChange/polyTopoChange/edgeCollapser.C b/src/dynamicMesh/polyTopoChange/polyTopoChange/edgeCollapser.C
index 25a0414f830..2f9a67b9c50 100644
--- a/src/dynamicMesh/polyTopoChange/polyTopoChange/edgeCollapser.C
+++ b/src/dynamicMesh/polyTopoChange/polyTopoChange/edgeCollapser.C
@@ -353,7 +353,7 @@ bool Foam::edgeCollapser::collapseEdge(const label edgeI, const label master)
             // Use the smaller region number for the whole network.
             label minRegion = min(pointRegion0, pointRegion1);
             label maxRegion = max(pointRegion0, pointRegion1);
-    
+
             // Use minRegion as region for combined net, free maxRegion.
             pointRegionMaster_[minRegion] = master;
             pointRegionMaster_[maxRegion] = -1;
@@ -510,7 +510,7 @@ bool Foam::edgeCollapser::setRefinement(polyTopoChange& meshMod)
         }
     }
 
-        
+
 
     // Remove points.
     forAll(pointRegion_, pointI)
@@ -526,7 +526,7 @@ bool Foam::edgeCollapser::setRefinement(polyTopoChange& meshMod)
 
     const polyBoundaryMesh& boundaryMesh = mesh_.boundaryMesh();
     const faceZoneMesh& faceZones = mesh_.faceZones();
-      
+
 
     // Renumber faces that use points
     forAll(pointRegion_, pointI)
diff --git a/src/dynamicMesh/polyTopoChange/polyTopoChange/modifyObject/polyModifyFace.H b/src/dynamicMesh/polyTopoChange/polyTopoChange/modifyObject/polyModifyFace.H
index 53e8990a7d2..9da1bf97712 100644
--- a/src/dynamicMesh/polyTopoChange/polyTopoChange/modifyObject/polyModifyFace.H
+++ b/src/dynamicMesh/polyTopoChange/polyTopoChange/modifyObject/polyModifyFace.H
@@ -53,7 +53,7 @@ class polyModifyFace
 {
     // Private data
 
-        //- Face 
+        //- Face
         face face_;
 
         //- Master face ID
diff --git a/src/dynamicMesh/polyTopoChange/polyTopoChange/refinementDataI.H b/src/dynamicMesh/polyTopoChange/polyTopoChange/refinementDataI.H
index 847210e6368..5e442c9e191 100644
--- a/src/dynamicMesh/polyTopoChange/polyTopoChange/refinementDataI.H
+++ b/src/dynamicMesh/polyTopoChange/polyTopoChange/refinementDataI.H
@@ -223,7 +223,7 @@ inline bool Foam::refinementData::updateFace
 
         return true;
     }
-}    
+}
 
 
 // * * * * * * * * * * * * * * * Member Operators  * * * * * * * * * * * * * //
diff --git a/src/dynamicMesh/polyTopoChange/polyTopoChange/refinementDistanceDataI.H b/src/dynamicMesh/polyTopoChange/polyTopoChange/refinementDistanceDataI.H
index afe234a80f4..44b46562a32 100644
--- a/src/dynamicMesh/polyTopoChange/polyTopoChange/refinementDistanceDataI.H
+++ b/src/dynamicMesh/polyTopoChange/polyTopoChange/refinementDistanceDataI.H
@@ -241,7 +241,7 @@ inline bool Foam::refinementDistanceData::updateFace
     const point& pos = mesh.faceCentres()[thisFaceI];
 
     return update(pos, neighbourInfo, tol);
-}    
+}
 
 
 // * * * * * * * * * * * * * * * Member Operators  * * * * * * * * * * * * * //
diff --git a/src/dynamicMesh/polyTopoChange/polyTopoChange/removeCells.C b/src/dynamicMesh/polyTopoChange/polyTopoChange/removeCells.C
index d1ecbed005d..6be85d87c17 100644
--- a/src/dynamicMesh/polyTopoChange/polyTopoChange/removeCells.C
+++ b/src/dynamicMesh/polyTopoChange/polyTopoChange/removeCells.C
@@ -482,7 +482,7 @@ void Foam::removeCells::setRefinement
                 faceI++;
             }
         }
-    }    
+    }
 
 
     // Remove points that are no longer used.
diff --git a/src/dynamicMesh/polyTopoChange/polyTopoChange/removePoints.C b/src/dynamicMesh/polyTopoChange/polyTopoChange/removePoints.C
index d03b302436a..1227601854d 100644
--- a/src/dynamicMesh/polyTopoChange/polyTopoChange/removePoints.C
+++ b/src/dynamicMesh/polyTopoChange/polyTopoChange/removePoints.C
@@ -254,7 +254,7 @@ void Foam::removePoints::setRefinement
         savedPoints_.setSize(nDeleted);
         pointToSaved.resize(2*nDeleted);
     }
-    
+
 
     // Remove points
     // ~~~~~~~~~~~~~
@@ -687,7 +687,7 @@ void Foam::removePoints::getUnrefimentSet
     localPoints = localPointsSet.toc();
 
 
-    // Collect all saved faces using any localPointsSet 
+    // Collect all saved faces using any localPointsSet
     // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
     labelHashSet localFacesSet(2*undoFaces.size());
diff --git a/src/dynamicMesh/polyTopoChange/repatchPolyTopoChanger/repatchPolyTopoChanger.H b/src/dynamicMesh/polyTopoChange/repatchPolyTopoChanger/repatchPolyTopoChanger.H
index a0bd681a6a4..ede3211a22f 100644
--- a/src/dynamicMesh/polyTopoChange/repatchPolyTopoChanger/repatchPolyTopoChanger.H
+++ b/src/dynamicMesh/polyTopoChange/repatchPolyTopoChanger/repatchPolyTopoChanger.H
@@ -28,7 +28,7 @@ Class
 Description
     A mesh which allows changes in the patch distribution of the
     boundary faces.  The change in patching is set using changePatchID. For a
-    boundary face, a new patch ID is given. 
+    boundary face, a new patch ID is given.
 
 SourceFiles
     repatchPolyTopoChanger.C
diff --git a/src/dynamicMesh/setUpdater/setUpdater.H b/src/dynamicMesh/setUpdater/setUpdater.H
index ecdb99d9e6e..2e25527f94e 100644
--- a/src/dynamicMesh/setUpdater/setUpdater.H
+++ b/src/dynamicMesh/setUpdater/setUpdater.H
@@ -55,7 +55,7 @@ class setUpdater
 {
     // Private Member Functions
 
-        //- Updates all sets 
+        //- Updates all sets
         template<class Type>
         void updateSets(const mapPolyMesh& morphMap) const;
 
diff --git a/src/dynamicMesh/setUpdater/setUpdaterTemplates.C b/src/dynamicMesh/setUpdater/setUpdaterTemplates.C
index 668c4be5be2..0239728de2c 100644
--- a/src/dynamicMesh/setUpdater/setUpdaterTemplates.C
+++ b/src/dynamicMesh/setUpdater/setUpdaterTemplates.C
@@ -44,7 +44,7 @@ void setUpdater::updateSets(const mapPolyMesh& morphMap) const
     // Update all sets in memory.
     //
 
-    HashTable<const Type*> memSets = 
+    HashTable<const Type*> memSets =
         morphMap.mesh().objectRegistry::lookupClass<Type>();
 
     for
diff --git a/src/dynamicMesh/slidingInterface/slidingInterfaceAttachedAddressing.C b/src/dynamicMesh/slidingInterface/slidingInterfaceAttachedAddressing.C
index 49af1fab16a..3ee23e42309 100644
--- a/src/dynamicMesh/slidingInterface/slidingInterfaceAttachedAddressing.C
+++ b/src/dynamicMesh/slidingInterface/slidingInterfaceAttachedAddressing.C
@@ -205,7 +205,7 @@ void Foam::slidingInterface::calcAttachedAddressing() const
 
 
         // Retired point addressing does not exist at this stage.
-        // It will be filled when the interface is coupled.  
+        // It will be filled when the interface is coupled.
         retiredPointMapPtr_ =
             new Map<label>
             (
@@ -213,7 +213,7 @@ void Foam::slidingInterface::calcAttachedAddressing() const
             );
 
         // Ditto for cut point edge map.  This is a rough guess of its size
-        // 
+        //
         cutPointEdgePairMapPtr_ =
             new Map<Pair<edge> >
             (
@@ -262,7 +262,7 @@ void Foam::slidingInterface::renumberAttachedAddressing
     // The renumbering map is needed the other way around, i.e. giving
     // the new cell number for every old cell next to the interface.
     const labelList& reverseCellMap = m.reverseCellMap();
-    
+
     const labelList& mfc = masterFaceCells();
     const labelList& sfc = slaveFaceCells();
 
@@ -319,7 +319,7 @@ void Foam::slidingInterface::renumberAttachedAddressing
     // Renumber stick-out faces
 
     const labelList& reverseFaceMap = m.reverseFaceMap();
-    
+
     // Master side
     const labelList& msof = masterStickOutFaces();
 
@@ -480,7 +480,7 @@ void Foam::slidingInterface::renumberAttachedAddressing
     clearAttachedAddressing();
 
     deleteDemandDrivenData(projectedSlavePointsPtr_);
-    
+
     masterFaceCellsPtr_ = newMfcPtr;
     slaveFaceCellsPtr_ = newSfcPtr;
 
diff --git a/src/dynamicMesh/slidingInterface/slidingInterfaceProjectPoints.C b/src/dynamicMesh/slidingInterface/slidingInterfaceProjectPoints.C
index cc4643bcdea..ec01953b197 100644
--- a/src/dynamicMesh/slidingInterface/slidingInterfaceProjectPoints.C
+++ b/src/dynamicMesh/slidingInterface/slidingInterfaceProjectPoints.C
@@ -177,14 +177,14 @@ bool Foam::slidingInterface::projectPoints() const
             slaveEdges[edgeI].mag(slaveLocalPoints);
 
         // Do points
-        minSlavePointLength[curEdge.start()] = 
+        minSlavePointLength[curEdge.start()] =
             min
             (
                 minSlavePointLength[curEdge.start()],
                 curLength
             );
 
-        minSlavePointLength[curEdge.end()] = 
+        minSlavePointLength[curEdge.end()] =
             min
             (
                 minSlavePointLength[curEdge.end()],
@@ -420,7 +420,7 @@ bool Foam::slidingInterface::projectPoints() const
 //     scalarField magDiffs(mag(slaveLocalPoints - projectedSlavePoints));
 //     Pout<< "Slave point face hits: " << slavePointFaceHits << nl
 //         << "slave points: " << slaveLocalPoints << nl
-//         << "Projected slave points: " << projectedSlavePoints 
+//         << "Projected slave points: " << projectedSlavePoints
 //         << "diffs: " << magDiffs << endl;
 
     // Merge projected points against master points
@@ -455,7 +455,7 @@ bool Foam::slidingInterface::projectPoints() const
             label mergePoint = -1;
             scalar mergeDist = GREAT;
 
-            // Try all point before deciding on best fit.  
+            // Try all point before deciding on best fit.
             forAll (hitFace, hitPointI)
             {
                 scalar dist =
@@ -554,7 +554,7 @@ bool Foam::slidingInterface::projectPoints() const
                 masterFaceEdges[slavePointFaceHits[pointI].hitObject()];
 
             // Calculate the tolerance
-            const scalar mergeLength = 
+            const scalar mergeLength =
                 min
                 (
                     minSlavePointLength[pointI],
@@ -589,7 +589,7 @@ bool Foam::slidingInterface::projectPoints() const
 
 //                         Pout<< "Moving slave point "
 //                             << slavePatch.meshPoints()[pointI]
-//                             << " (" << pointI 
+//                             << " (" << pointI
 //                             << ") at " << slaveLocalPoints[pointI]
 //                             << " onto master edge " << hitFaceEdges[edgeI]
 //                             << " or ("
@@ -744,7 +744,7 @@ bool Foam::slidingInterface::projectPoints() const
     // sliding intergace coupling in order to allow the point
     // projection to be done separately from the actual cutting.
     // Please change consistently with coupleSlidingInterface.C
-    // 
+    //
 
     if (debug)
     {
@@ -985,7 +985,7 @@ bool Foam::slidingInterface::projectPoints() const
                     // inserted into the edge
 
                     // Strict checking of slave cut to avoid capturing
-                    // end points.  
+                    // end points.
                     scalar cutOnSlave =
                         ((edgeLineHit.hitPoint() - edgeLine.start()) & edgeVec)
                         /sqr(edgeMag);
diff --git a/src/engine/engineMesh/fvMotionSolverEngineMesh/fvMotionSolverEngineMesh.C b/src/engine/engineMesh/fvMotionSolverEngineMesh/fvMotionSolverEngineMesh.C
index 16cf2db379f..7035c88c59c 100644
--- a/src/engine/engineMesh/fvMotionSolverEngineMesh/fvMotionSolverEngineMesh.C
+++ b/src/engine/engineMesh/fvMotionSolverEngineMesh/fvMotionSolverEngineMesh.C
@@ -88,14 +88,14 @@ void fvMotionSolverEngineMesh::move()
 
     if (engineDB_.foundObject<surfaceScalarField>("phi"))
     {
-        surfaceScalarField& phi = 
+        surfaceScalarField& phi =
             const_cast<surfaceScalarField&>
             (engineDB_.lookupObject<surfaceScalarField>("phi"));
 
         const volScalarField& rho =
             engineDB_.lookupObject<volScalarField>("rho");
 
-        const volVectorField& U = 
+        const volVectorField& U =
             engineDB_.lookupObject<volVectorField>("U");
 
         bool absolutePhi = false;
diff --git a/src/engine/engineMesh/layeredEngineMesh/layeredEngineMesh.C b/src/engine/engineMesh/layeredEngineMesh/layeredEngineMesh.C
index 5fa81d79e26..b53a096a74c 100644
--- a/src/engine/engineMesh/layeredEngineMesh/layeredEngineMesh.C
+++ b/src/engine/engineMesh/layeredEngineMesh/layeredEngineMesh.C
@@ -82,7 +82,7 @@ void layeredEngineMesh::move()
         }
         else if (p.z() < deckHeight_.value())   // In liner region
         {
-            p.z() += 
+            p.z() +=
                 deltaZ
                *(deckHeight_.value() - p.z())
                /(deckHeight_.value() - pistonPlusLayers);
@@ -91,14 +91,14 @@ void layeredEngineMesh::move()
 
     if (engineDB_.foundObject<surfaceScalarField>("phi"))
     {
-        surfaceScalarField& phi = 
+        surfaceScalarField& phi =
             const_cast<surfaceScalarField&>
             (engineDB_.lookupObject<surfaceScalarField>("phi"));
 
         const volScalarField& rho =
             engineDB_.lookupObject<volScalarField>("rho");
 
-        const volVectorField& U = 
+        const volVectorField& U =
             engineDB_.lookupObject<volVectorField>("U");
 
         bool absolutePhi = false;
diff --git a/src/engine/ignition/ignitionSite.H b/src/engine/ignition/ignitionSite.H
index 7f317e3cd72..9c2717fa664 100644
--- a/src/engine/ignition/ignitionSite.H
+++ b/src/engine/ignition/ignitionSite.H
@@ -95,7 +95,7 @@ public:
         {
             const Time& db_;
             const fvMesh& mesh_;
-        
+
         public:
 
             iNew(const Time& db, const fvMesh& mesh)
diff --git a/src/errorEstimation/errorDrivenRefinement/errorDrivenRefinement.C b/src/errorEstimation/errorDrivenRefinement/errorDrivenRefinement.C
index 501f5342497..bbfe4d20aed 100644
--- a/src/errorEstimation/errorDrivenRefinement/errorDrivenRefinement.C
+++ b/src/errorEstimation/errorDrivenRefinement/errorDrivenRefinement.C
@@ -137,7 +137,7 @@ void Foam::errorDrivenRefinement::setRefinement(polyTopoChange& ref) const
     scalar max = Foam::max(magResError).value();
     scalar avg = Foam::average(magResError).value();
 
-    if (debug) 
+    if (debug)
     {
         Info<< "Writing magResError" << endl;
         magResError.write();
@@ -183,7 +183,7 @@ void Foam::errorDrivenRefinement::setRefinement(polyTopoChange& ref) const
             markedCell[mesh.faceNeighbour()[faceI]] = true;
         }
     }
-    
+
     // Repack list of cells to refine.
     List<refineCell> refCells = refPattern.refCells();
 
diff --git a/src/errorEstimation/errorDrivenRefinement/errorDrivenRefinement.H b/src/errorEstimation/errorDrivenRefinement/errorDrivenRefinement.H
index dc273ab8fb9..a75ddf29457 100644
--- a/src/errorEstimation/errorDrivenRefinement/errorDrivenRefinement.H
+++ b/src/errorEstimation/errorDrivenRefinement/errorDrivenRefinement.H
@@ -119,7 +119,7 @@ public:
 
     // Access
 
-        //- Underlying mesh modifier        
+        //- Underlying mesh modifier
         const undoableMeshCutter& refinementEngine() const
         {
             return refinementEngine_;
diff --git a/src/errorEstimation/evaluateError/evaluateError.C b/src/errorEstimation/evaluateError/evaluateError.C
index 8fcd5501500..7bd31aebfa2 100644
--- a/src/errorEstimation/evaluateError/evaluateError.C
+++ b/src/errorEstimation/evaluateError/evaluateError.C
@@ -111,7 +111,7 @@ Foam::evaluateError::evaluateError
     unsplitFaces_.setSize(unsplitFaceI);
 
     // Now we have:
-    // -unsplitFaces_: all the faces that will be removed 
+    // -unsplitFaces_: all the faces that will be removed
     // -markedFace   : all the faces affected by this removal.
     // From markedFace protect the cells using them.
 
diff --git a/src/finiteVolume/cfdTools/compressible/compressibleCourantNo.H b/src/finiteVolume/cfdTools/compressible/compressibleCourantNo.H
index 8cc2522e973..611686e8f04 100644
--- a/src/finiteVolume/cfdTools/compressible/compressibleCourantNo.H
+++ b/src/finiteVolume/cfdTools/compressible/compressibleCourantNo.H
@@ -35,7 +35,7 @@ scalar meanCoNum = 0.0;
 
 if (mesh.nInternalFaces())
 {
-    surfaceScalarField SfUfbyDelta = 
+    surfaceScalarField SfUfbyDelta =
         mesh.surfaceInterpolation::deltaCoeffs()*mag(phi)/fvc::interpolate(rho);
 
     CoNum = max(SfUfbyDelta/mesh.magSf())
diff --git a/src/finiteVolume/cfdTools/incompressible/CourantNo.H b/src/finiteVolume/cfdTools/incompressible/CourantNo.H
index a8ac950f3db..72a703ba9bf 100644
--- a/src/finiteVolume/cfdTools/incompressible/CourantNo.H
+++ b/src/finiteVolume/cfdTools/incompressible/CourantNo.H
@@ -35,7 +35,7 @@ scalar meanCoNum = 0.0;
 
 if (mesh.nInternalFaces())
 {
-    surfaceScalarField SfUfbyDelta = 
+    surfaceScalarField SfUfbyDelta =
         mesh.surfaceInterpolation::deltaCoeffs()*mag(phi);
 
     CoNum = max(SfUfbyDelta/mesh.magSf())
diff --git a/src/finiteVolume/fields/fvPatchFields/basic/transform/transformFvPatchField.C b/src/finiteVolume/fields/fvPatchFields/basic/transform/transformFvPatchField.C
index 6016fa83dfb..e2043e27846 100644
--- a/src/finiteVolume/fields/fvPatchFields/basic/transform/transformFvPatchField.C
+++ b/src/finiteVolume/fields/fvPatchFields/basic/transform/transformFvPatchField.C
@@ -130,7 +130,7 @@ tmp<Field<Type> > transformFvPatchField<Type>::gradientInternalCoeffs() const
 template<class Type>
 tmp<Field<Type> > transformFvPatchField<Type>::gradientBoundaryCoeffs() const
 {
-    return 
+    return
         snGrad()
       - cmptMultiply(gradientInternalCoeffs(), this->patchInternalField());
 }
diff --git a/src/finiteVolume/fields/fvPatchFields/constraint/jumpCyclic/jumpCyclicFvPatchField.H b/src/finiteVolume/fields/fvPatchFields/constraint/jumpCyclic/jumpCyclicFvPatchField.H
index 340799ffe16..5480406ba3c 100644
--- a/src/finiteVolume/fields/fvPatchFields/constraint/jumpCyclic/jumpCyclicFvPatchField.H
+++ b/src/finiteVolume/fields/fvPatchFields/constraint/jumpCyclic/jumpCyclicFvPatchField.H
@@ -109,7 +109,7 @@ public:
                 return cyclicFvPatchField<Type>::type();
             }
 
-            //- Return the "jump" across the patch as a "half" field 
+            //- Return the "jump" across the patch as a "half" field
             virtual tmp<Field<scalar> > jump() const = 0;
 
 
diff --git a/src/finiteVolume/fields/fvPatchFields/constraint/wedge/wedgeFvPatchField.C b/src/finiteVolume/fields/fvPatchFields/constraint/wedge/wedgeFvPatchField.C
index cd0d960216e..ad70b0f8c94 100644
--- a/src/finiteVolume/fields/fvPatchFields/constraint/wedge/wedgeFvPatchField.C
+++ b/src/finiteVolume/fields/fvPatchFields/constraint/wedge/wedgeFvPatchField.C
@@ -169,7 +169,7 @@ void wedgeFvPatchField<Type>::evaluate(const Pstream::commsTypes)
 template<class Type>
 tmp<Field<Type> > wedgeFvPatchField<Type>::snGradTransformDiag() const
 {
-    diagTensor diagT = 
+    diagTensor diagT =
         0.5*diag(I - refCast<const wedgeFvPatch>(this->patch()).cellT());
 
     return tmp<Field<Type> >
diff --git a/src/finiteVolume/fields/fvPatchFields/derived/fan/fanFvPatchField.H b/src/finiteVolume/fields/fvPatchFields/derived/fan/fanFvPatchField.H
index 6ad3f73c767..3b8d668c980 100644
--- a/src/finiteVolume/fields/fvPatchFields/derived/fan/fanFvPatchField.H
+++ b/src/finiteVolume/fields/fvPatchFields/derived/fan/fanFvPatchField.H
@@ -132,7 +132,7 @@ public:
 
         // Access
 
-            //- Return the "jump" across the patch as a "half" field 
+            //- Return the "jump" across the patch as a "half" field
             virtual tmp<Field<Type> > jump() const
             {
                 return jump_;
diff --git a/src/finiteVolume/fields/fvPatchFields/derived/freestreamPressure/freestreamPressureFvPatchScalarField.C b/src/finiteVolume/fields/fvPatchFields/derived/freestreamPressure/freestreamPressureFvPatchScalarField.C
index 70b49dc5e02..5131e01a430 100644
--- a/src/finiteVolume/fields/fvPatchFields/derived/freestreamPressure/freestreamPressureFvPatchScalarField.C
+++ b/src/finiteVolume/fields/fvPatchFields/derived/freestreamPressure/freestreamPressureFvPatchScalarField.C
@@ -99,13 +99,13 @@ void freestreamPressureFvPatchScalarField::updateCoeffs()
         return;
     }
 
-    const freestreamFvPatchVectorField& Up = 
+    const freestreamFvPatchVectorField& Up =
         refCast<const freestreamFvPatchVectorField>
         (
             patch().lookupPatchField<volVectorField, vector>("U")
         );
 
-    const surfaceScalarField& phi = 
+    const surfaceScalarField& phi =
         db().lookupObject<surfaceScalarField>("phi");
 
     fvsPatchField<scalar>& phip =
diff --git a/src/finiteVolume/fields/fvPatchFields/derived/partialSlip/partialSlipFvPatchField.C b/src/finiteVolume/fields/fvPatchFields/derived/partialSlip/partialSlipFvPatchField.C
index e39d0d33b6e..0dd713799cc 100644
--- a/src/finiteVolume/fields/fvPatchFields/derived/partialSlip/partialSlipFvPatchField.C
+++ b/src/finiteVolume/fields/fvPatchFields/derived/partialSlip/partialSlipFvPatchField.C
@@ -170,7 +170,7 @@ tmp<Field<Type> > partialSlipFvPatchField<Type>::snGradTransformDiag() const
     diag.replace(vector::Y, mag(nHat.component(vector::Y)));
     diag.replace(vector::Z, mag(nHat.component(vector::Z)));
 
-    return 
+    return
         valueFraction_*pTraits<Type>::one
       + (1.0 - valueFraction_)
        *transformFieldMask<Type>(pow<vector, pTraits<Type>::rank>(diag));
diff --git a/src/finiteVolume/fields/fvPatchFields/derived/rotatingPressureInletOutletVelocity/rotatingPressureInletOutletVelocityFvPatchVectorField.C b/src/finiteVolume/fields/fvPatchFields/derived/rotatingPressureInletOutletVelocity/rotatingPressureInletOutletVelocityFvPatchVectorField.C
index 3a7e97c6b4b..d38a962d696 100644
--- a/src/finiteVolume/fields/fvPatchFields/derived/rotatingPressureInletOutletVelocity/rotatingPressureInletOutletVelocityFvPatchVectorField.C
+++ b/src/finiteVolume/fields/fvPatchFields/derived/rotatingPressureInletOutletVelocity/rotatingPressureInletOutletVelocityFvPatchVectorField.C
@@ -40,7 +40,7 @@ void rotatingPressureInletOutletVelocityFvPatchVectorField::
 calcTangentialVelocity()
 {
     vector axisHat = omega_/mag(omega_);
-    vectorField tangentialVelocity = 
+    vectorField tangentialVelocity =
         (-omega_) ^ (patch().Cf() - axisHat*(axisHat & patch().Cf()));
 
     vectorField n = patch().nf();
diff --git a/src/finiteVolume/fields/fvPatchFields/derived/rotatingTotalPressure/rotatingTotalPressureFvPatchScalarField.C b/src/finiteVolume/fields/fvPatchFields/derived/rotatingTotalPressure/rotatingTotalPressureFvPatchScalarField.C
index b41084139e7..cdf8b7b90e9 100644
--- a/src/finiteVolume/fields/fvPatchFields/derived/rotatingTotalPressure/rotatingTotalPressureFvPatchScalarField.C
+++ b/src/finiteVolume/fields/fvPatchFields/derived/rotatingTotalPressure/rotatingTotalPressureFvPatchScalarField.C
@@ -104,7 +104,7 @@ void rotatingTotalPressureFvPatchScalarField::updateCoeffs()
     }
 
     vector axisHat = omega_/mag(omega_);
-    vectorField rotationVelocity = 
+    vectorField rotationVelocity =
         omega_ ^ (patch().Cf() - axisHat*(axisHat & patch().Cf()));
 
     vectorField Up = patch().lookupPatchField<volVectorField, vector>(UName())
diff --git a/src/finiteVolume/fields/fvPatchFields/derived/supersonicFreestream/supersonicFreestreamFvPatchVectorField.H b/src/finiteVolume/fields/fvPatchFields/derived/supersonicFreestream/supersonicFreestreamFvPatchVectorField.H
index 304ea967686..ce6d48772ea 100644
--- a/src/finiteVolume/fields/fvPatchFields/derived/supersonicFreestream/supersonicFreestreamFvPatchVectorField.H
+++ b/src/finiteVolume/fields/fvPatchFields/derived/supersonicFreestream/supersonicFreestreamFvPatchVectorField.H
@@ -179,7 +179,7 @@ public:
                 return TInf_;
             }
 
-            //- Return reference to the temperature at infinity 
+            //- Return reference to the temperature at infinity
             //  to allow adjustment
             scalar& TInf()
             {
diff --git a/src/finiteVolume/fields/fvPatchFields/derived/surfaceNormalFixedValue/surfaceNormalFixedValueFvPatchVectorField.H b/src/finiteVolume/fields/fvPatchFields/derived/surfaceNormalFixedValue/surfaceNormalFixedValueFvPatchVectorField.H
index 53bd327ab08..5820a46c912 100644
--- a/src/finiteVolume/fields/fvPatchFields/derived/surfaceNormalFixedValue/surfaceNormalFixedValueFvPatchVectorField.H
+++ b/src/finiteVolume/fields/fvPatchFields/derived/surfaceNormalFixedValue/surfaceNormalFixedValueFvPatchVectorField.H
@@ -54,7 +54,7 @@ class surfaceNormalFixedValueFvPatchVectorField
     public fixedValueFvPatchVectorField
 {
     // Private data
-    
+
         scalarField refValue_;
 
 
diff --git a/src/finiteVolume/fields/fvPatchFields/derived/syringePressure/syringePressureFvPatchScalarField.C b/src/finiteVolume/fields/fvPatchFields/derived/syringePressure/syringePressureFvPatchScalarField.C
index e449688ffe6..f343d5d2f63 100644
--- a/src/finiteVolume/fields/fvPatchFields/derived/syringePressure/syringePressureFvPatchScalarField.C
+++ b/src/finiteVolume/fields/fvPatchFields/derived/syringePressure/syringePressureFvPatchScalarField.C
@@ -151,31 +151,31 @@ scalar syringePressureFvPatchScalarField::Vs(const scalar t) const
     }
     else if (t < tae_)
     {
-        return 
+        return
             VsI_
           + 0.5*Ap_*Sp_*sqr(t - tas_)/(tae_ - tas_);
     }
     else if (t < tds_)
     {
-        return 
-            VsI_ 
+        return
+            VsI_
           + 0.5*Ap_*Sp_*(tae_ - tas_)
           + Ap_*Sp_*(t - tae_);
     }
     else if (t < tde_)
     {
-        return 
-            VsI_ 
-          + 0.5*Ap_*Sp_*(tae_ - tas_) 
+        return
+            VsI_
+          + 0.5*Ap_*Sp_*(tae_ - tas_)
           + Ap_*Sp_*(tds_ - tae_)
           + Ap_*Sp_*(t - tds_)
           - 0.5*Ap_*Sp_*sqr(t - tds_)/(tde_ - tds_);
     }
     else
     {
-        return 
-            VsI_ 
-          + 0.5*Ap_*Sp_*(tae_ - tas_) 
+        return
+            VsI_
+          + 0.5*Ap_*Sp_*(tae_ - tas_)
           + Ap_*Sp_*(tds_ - tae_)
           + 0.5*Ap_*Sp_*(tde_ - tds_);
     }
diff --git a/src/finiteVolume/fields/fvPatchFields/derived/totalTemperature/totalTemperatureFvPatchScalarField.C b/src/finiteVolume/fields/fvPatchFields/derived/totalTemperature/totalTemperatureFvPatchScalarField.C
index 8c29e5a0e59..402ed3325f5 100644
--- a/src/finiteVolume/fields/fvPatchFields/derived/totalTemperature/totalTemperatureFvPatchScalarField.C
+++ b/src/finiteVolume/fields/fvPatchFields/derived/totalTemperature/totalTemperatureFvPatchScalarField.C
@@ -204,7 +204,7 @@ namespace Foam
 {
     makePatchTypeField
     (
-        fvPatchScalarField, 
+        fvPatchScalarField,
         totalTemperatureFvPatchScalarField
     );
 }
diff --git a/src/finiteVolume/fields/fvPatchFields/derived/totalTemperature/totalTemperatureFvPatchScalarField.H b/src/finiteVolume/fields/fvPatchFields/derived/totalTemperature/totalTemperatureFvPatchScalarField.H
index c73750c428d..37b2d966de7 100644
--- a/src/finiteVolume/fields/fvPatchFields/derived/totalTemperature/totalTemperatureFvPatchScalarField.H
+++ b/src/finiteVolume/fields/fvPatchFields/derived/totalTemperature/totalTemperatureFvPatchScalarField.H
@@ -92,7 +92,7 @@ public:
             const dictionary&
         );
 
-        //- Construct by mapping given totalTemperatureFvPatchScalarField 
+        //- Construct by mapping given totalTemperatureFvPatchScalarField
         //  onto a new patch
         totalTemperatureFvPatchScalarField
         (
diff --git a/src/finiteVolume/finiteVolume/convectionSchemes/gaussConvectionScheme/gaussConvectionSchemes.C b/src/finiteVolume/finiteVolume/convectionSchemes/gaussConvectionScheme/gaussConvectionSchemes.C
index 4e1935af868..d2a2573718a 100644
--- a/src/finiteVolume/finiteVolume/convectionSchemes/gaussConvectionScheme/gaussConvectionSchemes.C
+++ b/src/finiteVolume/finiteVolume/convectionSchemes/gaussConvectionScheme/gaussConvectionSchemes.C
@@ -23,7 +23,7 @@ License
     Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Description
-    
+
 \*---------------------------------------------------------------------------*/
 
 #include "gaussConvectionScheme.H"
diff --git a/src/finiteVolume/finiteVolume/convectionSchemes/multivariateGaussConvectionScheme/multivariateGaussConvectionSchemes.C b/src/finiteVolume/finiteVolume/convectionSchemes/multivariateGaussConvectionScheme/multivariateGaussConvectionSchemes.C
index 6cdb6b1ec65..7a6019e9f53 100644
--- a/src/finiteVolume/finiteVolume/convectionSchemes/multivariateGaussConvectionScheme/multivariateGaussConvectionSchemes.C
+++ b/src/finiteVolume/finiteVolume/convectionSchemes/multivariateGaussConvectionScheme/multivariateGaussConvectionSchemes.C
@@ -23,7 +23,7 @@ License
     Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Description
-    
+
 \*---------------------------------------------------------------------------*/
 
 #include "multivariateGaussConvectionScheme.H"
diff --git a/src/finiteVolume/finiteVolume/d2dt2Schemes/EulerD2dt2Scheme/EulerD2dt2Schemes.C b/src/finiteVolume/finiteVolume/d2dt2Schemes/EulerD2dt2Scheme/EulerD2dt2Schemes.C
index 199638a886c..93256b8d86b 100644
--- a/src/finiteVolume/finiteVolume/d2dt2Schemes/EulerD2dt2Scheme/EulerD2dt2Schemes.C
+++ b/src/finiteVolume/finiteVolume/d2dt2Schemes/EulerD2dt2Scheme/EulerD2dt2Schemes.C
@@ -23,7 +23,7 @@ License
     Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Description
-    
+
 \*---------------------------------------------------------------------------*/
 
 #include "EulerD2dt2Scheme.H"
diff --git a/src/finiteVolume/finiteVolume/d2dt2Schemes/steadyStateD2dt2Scheme/steadyStateD2dt2Schemes.C b/src/finiteVolume/finiteVolume/d2dt2Schemes/steadyStateD2dt2Scheme/steadyStateD2dt2Schemes.C
index 6e7e95f605e..249b23eb6b3 100644
--- a/src/finiteVolume/finiteVolume/d2dt2Schemes/steadyStateD2dt2Scheme/steadyStateD2dt2Schemes.C
+++ b/src/finiteVolume/finiteVolume/d2dt2Schemes/steadyStateD2dt2Scheme/steadyStateD2dt2Schemes.C
@@ -23,7 +23,7 @@ License
     Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Description
-    
+
 \*---------------------------------------------------------------------------*/
 
 #include "steadyStateD2dt2Scheme.H"
diff --git a/src/finiteVolume/finiteVolume/ddtSchemes/CoEulerDdtScheme/CoEulerDdtSchemes.C b/src/finiteVolume/finiteVolume/ddtSchemes/CoEulerDdtScheme/CoEulerDdtSchemes.C
index 02eb8987d9a..0059ed25756 100644
--- a/src/finiteVolume/finiteVolume/ddtSchemes/CoEulerDdtScheme/CoEulerDdtSchemes.C
+++ b/src/finiteVolume/finiteVolume/ddtSchemes/CoEulerDdtScheme/CoEulerDdtSchemes.C
@@ -21,7 +21,7 @@ License
     You should have received a copy of the GNU General Public License
     along with OpenFOAM; if not, write to the Free Software Foundation,
     Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-    
+
 \*---------------------------------------------------------------------------*/
 
 #include "CoEulerDdtScheme.H"
diff --git a/src/finiteVolume/finiteVolume/ddtSchemes/CrankNicholsonDdtScheme/CrankNicholsonDdtSchemes.C b/src/finiteVolume/finiteVolume/ddtSchemes/CrankNicholsonDdtScheme/CrankNicholsonDdtSchemes.C
index 3217ef3a74f..4a833db6db8 100644
--- a/src/finiteVolume/finiteVolume/ddtSchemes/CrankNicholsonDdtScheme/CrankNicholsonDdtSchemes.C
+++ b/src/finiteVolume/finiteVolume/ddtSchemes/CrankNicholsonDdtScheme/CrankNicholsonDdtSchemes.C
@@ -23,7 +23,7 @@ License
     Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Description
-    
+
 \*---------------------------------------------------------------------------*/
 
 #include "CrankNicholsonDdtScheme.H"
diff --git a/src/finiteVolume/finiteVolume/ddtSchemes/EulerDdtScheme/EulerDdtSchemes.C b/src/finiteVolume/finiteVolume/ddtSchemes/EulerDdtScheme/EulerDdtSchemes.C
index 584873fe2c9..e5983fb4aaf 100644
--- a/src/finiteVolume/finiteVolume/ddtSchemes/EulerDdtScheme/EulerDdtSchemes.C
+++ b/src/finiteVolume/finiteVolume/ddtSchemes/EulerDdtScheme/EulerDdtSchemes.C
@@ -21,7 +21,7 @@ License
     You should have received a copy of the GNU General Public License
     along with OpenFOAM; if not, write to the Free Software Foundation,
     Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-    
+
 \*---------------------------------------------------------------------------*/
 
 #include "EulerDdtScheme.H"
diff --git a/src/finiteVolume/finiteVolume/ddtSchemes/SLTSDdtScheme/SLTSDdtSchemes.C b/src/finiteVolume/finiteVolume/ddtSchemes/SLTSDdtScheme/SLTSDdtSchemes.C
index 6dd6048a4bb..96e04b9dc88 100644
--- a/src/finiteVolume/finiteVolume/ddtSchemes/SLTSDdtScheme/SLTSDdtSchemes.C
+++ b/src/finiteVolume/finiteVolume/ddtSchemes/SLTSDdtScheme/SLTSDdtSchemes.C
@@ -21,7 +21,7 @@ License
     You should have received a copy of the GNU General Public License
     along with OpenFOAM; if not, write to the Free Software Foundation,
     Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-    
+
 \*---------------------------------------------------------------------------*/
 
 #include "SLTSDdtScheme.H"
diff --git a/src/finiteVolume/finiteVolume/ddtSchemes/backwardDdtScheme/backwardDdtSchemes.C b/src/finiteVolume/finiteVolume/ddtSchemes/backwardDdtScheme/backwardDdtSchemes.C
index cb2d4750227..65ba5c81a3d 100644
--- a/src/finiteVolume/finiteVolume/ddtSchemes/backwardDdtScheme/backwardDdtSchemes.C
+++ b/src/finiteVolume/finiteVolume/ddtSchemes/backwardDdtScheme/backwardDdtSchemes.C
@@ -21,7 +21,7 @@ License
     You should have received a copy of the GNU General Public License
     along with OpenFOAM; if not, write to the Free Software Foundation,
     Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-    
+
 \*---------------------------------------------------------------------------*/
 
 #include "backwardDdtScheme.H"
diff --git a/src/finiteVolume/finiteVolume/ddtSchemes/steadyStateDdtScheme/steadyStateDdtSchemes.C b/src/finiteVolume/finiteVolume/ddtSchemes/steadyStateDdtScheme/steadyStateDdtSchemes.C
index dda464ee32c..bad14606950 100644
--- a/src/finiteVolume/finiteVolume/ddtSchemes/steadyStateDdtScheme/steadyStateDdtSchemes.C
+++ b/src/finiteVolume/finiteVolume/ddtSchemes/steadyStateDdtScheme/steadyStateDdtSchemes.C
@@ -23,7 +23,7 @@ License
     Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Description
-    
+
 \*---------------------------------------------------------------------------*/
 
 #include "steadyStateDdtScheme.H"
diff --git a/src/finiteVolume/finiteVolume/divSchemes/gaussDivScheme/gaussDivScheme.C b/src/finiteVolume/finiteVolume/divSchemes/gaussDivScheme/gaussDivScheme.C
index 466e3220b7c..95e49e4b981 100644
--- a/src/finiteVolume/finiteVolume/divSchemes/gaussDivScheme/gaussDivScheme.C
+++ b/src/finiteVolume/finiteVolume/divSchemes/gaussDivScheme/gaussDivScheme.C
@@ -21,7 +21,7 @@ License
     You should have received a copy of the GNU General Public License
     along with OpenFOAM; if not, write to the Free Software Foundation,
     Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-    
+
 \*---------------------------------------------------------------------------*/
 
 #include "gaussDivScheme.H"
diff --git a/src/finiteVolume/finiteVolume/divSchemes/gaussDivScheme/gaussDivSchemes.C b/src/finiteVolume/finiteVolume/divSchemes/gaussDivScheme/gaussDivSchemes.C
index a61cf504545..fce991e55e6 100644
--- a/src/finiteVolume/finiteVolume/divSchemes/gaussDivScheme/gaussDivSchemes.C
+++ b/src/finiteVolume/finiteVolume/divSchemes/gaussDivScheme/gaussDivSchemes.C
@@ -21,7 +21,7 @@ License
     You should have received a copy of the GNU General Public License
     along with OpenFOAM; if not, write to the Free Software Foundation,
     Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-    
+
 \*---------------------------------------------------------------------------*/
 
 #include "gaussDivScheme.H"
diff --git a/src/finiteVolume/finiteVolume/fvc/fvcAverage.C b/src/finiteVolume/finiteVolume/fvc/fvcAverage.C
index 6f59b61631c..757978ab669 100644
--- a/src/finiteVolume/finiteVolume/fvc/fvcAverage.C
+++ b/src/finiteVolume/finiteVolume/fvc/fvcAverage.C
@@ -69,7 +69,7 @@ average
 
     GeometricField<Type, fvPatchField, volMesh>& av = taverage();
 
-    av.internalField() = 
+    av.internalField() =
     (
         surfaceSum(mesh.magSf()*ssf)/surfaceSum(mesh.magSf())
     )().internalField();
@@ -112,7 +112,7 @@ average
 }
 
 
-template<class Type> 
+template<class Type>
 tmp<GeometricField<Type, fvPatchField, volMesh> >
 average
 (
diff --git a/src/finiteVolume/finiteVolume/fvc/fvcCurl.C b/src/finiteVolume/finiteVolume/fvc/fvcCurl.C
index 2966136cbec..dd76cc194fe 100644
--- a/src/finiteVolume/finiteVolume/fvc/fvcCurl.C
+++ b/src/finiteVolume/finiteVolume/fvc/fvcCurl.C
@@ -23,7 +23,7 @@ License
     Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Description
-    
+
 
 \*---------------------------------------------------------------------------*/
 
@@ -53,11 +53,11 @@ curl
     word nameCurlVf = "curl(" + vf.name() + ')';
 
     // Gausses theorem curl
-    // tmp<GeometricField<Type, fvPatchField, volMesh> > tcurlVf = 
+    // tmp<GeometricField<Type, fvPatchField, volMesh> > tcurlVf =
     //     fvc::surfaceIntegrate(vf.mesh().Sf() ^ fvc::interpolate(vf));
 
     // Calculate curl as the Hodge dual of the skew-symmetric part of grad
-    tmp<GeometricField<Type, fvPatchField, volMesh> > tcurlVf = 
+    tmp<GeometricField<Type, fvPatchField, volMesh> > tcurlVf =
         2.0*(*skew(fvc::grad(vf, nameCurlVf)));
 
     tcurlVf().rename(nameCurlVf);
diff --git a/src/finiteVolume/finiteVolume/fvc/fvcD2dt2.C b/src/finiteVolume/finiteVolume/fvc/fvcD2dt2.C
index b7135939d84..284f70666c5 100644
--- a/src/finiteVolume/finiteVolume/fvc/fvcD2dt2.C
+++ b/src/finiteVolume/finiteVolume/fvc/fvcD2dt2.C
@@ -23,7 +23,7 @@ License
     Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Description
-    
+
 
 \*---------------------------------------------------------------------------*/
 
diff --git a/src/finiteVolume/finiteVolume/fvc/fvcDDt.C b/src/finiteVolume/finiteVolume/fvc/fvcDDt.C
index 1493f41d47c..62fb3192bd1 100644
--- a/src/finiteVolume/finiteVolume/fvc/fvcDDt.C
+++ b/src/finiteVolume/finiteVolume/fvc/fvcDDt.C
@@ -23,7 +23,7 @@ License
     Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Description
-    
+
 
 \*---------------------------------------------------------------------------*/
 
diff --git a/src/finiteVolume/finiteVolume/fvc/fvcFlux.C b/src/finiteVolume/finiteVolume/fvc/fvcFlux.C
index 247c4247fd6..5b9628b1443 100644
--- a/src/finiteVolume/finiteVolume/fvc/fvcFlux.C
+++ b/src/finiteVolume/finiteVolume/fvc/fvcFlux.C
@@ -23,7 +23,7 @@ License
     Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Description
-    
+
 
 \*---------------------------------------------------------------------------*/
 
diff --git a/src/finiteVolume/finiteVolume/fvc/fvcMagSqrGradGrad.C b/src/finiteVolume/finiteVolume/fvc/fvcMagSqrGradGrad.C
index 8acc71cd59b..08e221520bf 100644
--- a/src/finiteVolume/finiteVolume/fvc/fvcMagSqrGradGrad.C
+++ b/src/finiteVolume/finiteVolume/fvc/fvcMagSqrGradGrad.C
@@ -23,7 +23,7 @@ License
     Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Description
-    
+
 
 \*---------------------------------------------------------------------------*/
 
diff --git a/src/finiteVolume/finiteVolume/gradSchemes/extendedLeastSquaresGrad/extendedLeastSquaresGrads.C b/src/finiteVolume/finiteVolume/gradSchemes/extendedLeastSquaresGrad/extendedLeastSquaresGrads.C
index 4827db9cf16..734b6461b83 100644
--- a/src/finiteVolume/finiteVolume/gradSchemes/extendedLeastSquaresGrad/extendedLeastSquaresGrads.C
+++ b/src/finiteVolume/finiteVolume/gradSchemes/extendedLeastSquaresGrad/extendedLeastSquaresGrads.C
@@ -21,7 +21,7 @@ License
     You should have received a copy of the GNU General Public License
     along with OpenFOAM; if not, write to the Free Software Foundation,
     Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-    
+
 \*---------------------------------------------------------------------------*/
 
 #include "fvMesh.H"
diff --git a/src/finiteVolume/finiteVolume/gradSchemes/extendedLeastSquaresGrad/extendedLeastSquaresVectors.C b/src/finiteVolume/finiteVolume/gradSchemes/extendedLeastSquaresGrad/extendedLeastSquaresVectors.C
index 86142a70a7c..a1d653d5218 100644
--- a/src/finiteVolume/finiteVolume/gradSchemes/extendedLeastSquaresGrad/extendedLeastSquaresVectors.C
+++ b/src/finiteVolume/finiteVolume/gradSchemes/extendedLeastSquaresGrad/extendedLeastSquaresVectors.C
@@ -135,7 +135,7 @@ void Foam::extendedLeastSquaresVectors::makeLeastSquaresVectors() const
     }
 
     // Visit the boundaries. Coupled boundaries are taken into account
-    // in the construction of d vectors.  
+    // in the construction of d vectors.
     forAll(d.boundaryField(), patchI)
     {
         const fvsPatchVectorField& pd = d.boundaryField()[patchI];
@@ -194,8 +194,8 @@ void Foam::extendedLeastSquaresVectors::makeLeastSquaresVectors() const
                         if (cellj != -1)
                         {
                             vector dCij = (mesh.C()[cellj] - mesh.C()[i]);
-                            
-                            symmTensor ddij = 
+
+                            symmTensor ddij =
                                 dd[i] + (1.0/magSqr(dCij))*sqr(dCij);
 
                             scalar detddij = det(ddij);
@@ -265,7 +265,7 @@ void Foam::extendedLeastSquaresVectors::makeLeastSquaresVectors() const
 
     forAll(additionalCells_, i)
     {
-        vector dCij = 
+        vector dCij =
             mesh.C()[additionalCells_[i][1]] - mesh.C()[additionalCells_[i][0]];
 
         additionalVectors_[i] =
diff --git a/src/finiteVolume/finiteVolume/gradSchemes/fourthGrad/fourthGrads.C b/src/finiteVolume/finiteVolume/gradSchemes/fourthGrad/fourthGrads.C
index d832c1f131f..fc5f95a0122 100644
--- a/src/finiteVolume/finiteVolume/gradSchemes/fourthGrad/fourthGrads.C
+++ b/src/finiteVolume/finiteVolume/gradSchemes/fourthGrad/fourthGrads.C
@@ -23,7 +23,7 @@ License
     Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Description
-    
+
 \*---------------------------------------------------------------------------*/
 
 #include "fvMesh.H"
diff --git a/src/finiteVolume/finiteVolume/gradSchemes/leastSquaresGrad/leastSquaresGrads.C b/src/finiteVolume/finiteVolume/gradSchemes/leastSquaresGrad/leastSquaresGrads.C
index 4cc67e15850..f85901fe7f0 100644
--- a/src/finiteVolume/finiteVolume/gradSchemes/leastSquaresGrad/leastSquaresGrads.C
+++ b/src/finiteVolume/finiteVolume/gradSchemes/leastSquaresGrad/leastSquaresGrads.C
@@ -23,7 +23,7 @@ License
     Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Description
-    
+
 \*---------------------------------------------------------------------------*/
 
 #include "fvMesh.H"
diff --git a/src/finiteVolume/finiteVolume/snGradSchemes/limitedSnGrad/limitedSnGrad.C b/src/finiteVolume/finiteVolume/snGradSchemes/limitedSnGrad/limitedSnGrad.C
index eb1144c1d3d..7ebfc2e4f83 100644
--- a/src/finiteVolume/finiteVolume/snGradSchemes/limitedSnGrad/limitedSnGrad.C
+++ b/src/finiteVolume/finiteVolume/snGradSchemes/limitedSnGrad/limitedSnGrad.C
@@ -67,7 +67,7 @@ limitedSnGrad<Type>::correction
     const GeometricField<Type, fvPatchField, volMesh>& vf
 ) const
 {
-    GeometricField<Type, fvsPatchField, surfaceMesh> corr = 
+    GeometricField<Type, fvsPatchField, surfaceMesh> corr =
         correctedSnGrad<Type>(this->mesh()).correction(vf);
 
     surfaceScalarField limiter
diff --git a/src/finiteVolume/finiteVolume/snGradSchemes/quadraticFitSnGrad/quadraticFitSnGrads.C b/src/finiteVolume/finiteVolume/snGradSchemes/quadraticFitSnGrad/quadraticFitSnGrads.C
index c368d0b85ab..b6eabeeade6 100644
--- a/src/finiteVolume/finiteVolume/snGradSchemes/quadraticFitSnGrad/quadraticFitSnGrads.C
+++ b/src/finiteVolume/finiteVolume/snGradSchemes/quadraticFitSnGrad/quadraticFitSnGrads.C
@@ -23,7 +23,7 @@ License
     Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Description
-    Simple central-difference snGrad scheme with quadratic fit correction from 
+    Simple central-difference snGrad scheme with quadratic fit correction from
     a larger stencil.
 
 \*---------------------------------------------------------------------------*/
diff --git a/src/finiteVolume/fvMesh/extendedStencil/cellToCell/fullStencils/CFCCellToCellStencil.C b/src/finiteVolume/fvMesh/extendedStencil/cellToCell/fullStencils/CFCCellToCellStencil.C
index 7c718cacfd4..b955f6aebd0 100644
--- a/src/finiteVolume/fvMesh/extendedStencil/cellToCell/fullStencils/CFCCellToCellStencil.C
+++ b/src/finiteVolume/fvMesh/extendedStencil/cellToCell/fullStencils/CFCCellToCellStencil.C
@@ -53,7 +53,7 @@ void Foam::CFCCellToCellStencil::calcFaceBoundaryData
             // For coupled faces get the cell on the other side
             forAll(pp, i)
             {
-                label bFaceI = faceI-mesh().nInternalFaces(); 
+                label bFaceI = faceI-mesh().nInternalFaces();
                 neiGlobal[bFaceI] = globalNumbering().toGlobal(own[faceI]);
                 faceI++;
             }
@@ -62,7 +62,7 @@ void Foam::CFCCellToCellStencil::calcFaceBoundaryData
         {
             forAll(pp, i)
             {
-                label bFaceI = faceI-mesh().nInternalFaces(); 
+                label bFaceI = faceI-mesh().nInternalFaces();
                 neiGlobal[bFaceI] = -1;
                 faceI++;
             }
@@ -72,7 +72,7 @@ void Foam::CFCCellToCellStencil::calcFaceBoundaryData
             // For noncoupled faces get the boundary face.
             forAll(pp, i)
             {
-                label bFaceI = faceI-mesh().nInternalFaces(); 
+                label bFaceI = faceI-mesh().nInternalFaces();
                 neiGlobal[bFaceI] =
                     globalNumbering().toGlobal(mesh().nCells()+bFaceI);
                 faceI++;
diff --git a/src/finiteVolume/fvMesh/extendedStencil/cellToCell/fullStencils/cellToCellStencil.H b/src/finiteVolume/fvMesh/extendedStencil/cellToCell/fullStencils/cellToCellStencil.H
index 08b7b0fb2fd..7fa48ccecb1 100644
--- a/src/finiteVolume/fvMesh/extendedStencil/cellToCell/fullStencils/cellToCellStencil.H
+++ b/src/finiteVolume/fvMesh/extendedStencil/cellToCell/fullStencils/cellToCellStencil.H
@@ -70,7 +70,7 @@ class cellToCellStencil
         //- Disallow default bitwise assignment
         void operator=(const cellToCellStencil&);
 
-        
+
 protected:
 
         //- Merge two lists.
diff --git a/src/finiteVolume/fvMesh/extendedStencil/cellToFace/extendedUpwindCellToFaceStencil.C b/src/finiteVolume/fvMesh/extendedStencil/cellToFace/extendedUpwindCellToFaceStencil.C
index b99d9576ef2..59923c77fbd 100644
--- a/src/finiteVolume/fvMesh/extendedStencil/cellToFace/extendedUpwindCellToFaceStencil.C
+++ b/src/finiteVolume/fvMesh/extendedStencil/cellToFace/extendedUpwindCellToFaceStencil.C
@@ -310,7 +310,7 @@ void Foam::extendedUpwindCellToFaceStencil::transportStencils
 
     // Swap coupled boundary stencil
     // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-    
+
     labelListList neiBndStencil(nBnd);
     for (label faceI = mesh_.nInternalFaces(); faceI < mesh_.nFaces(); faceI++)
     {
diff --git a/src/finiteVolume/fvMesh/fvBoundaryMesh/fvBoundaryMesh.C b/src/finiteVolume/fvMesh/fvBoundaryMesh/fvBoundaryMesh.C
index c8930e4ab45..2b24d0cd5fc 100644
--- a/src/finiteVolume/fvMesh/fvBoundaryMesh/fvBoundaryMesh.C
+++ b/src/finiteVolume/fvMesh/fvBoundaryMesh/fvBoundaryMesh.C
@@ -48,7 +48,7 @@ void fvBoundaryMesh::addPatches(const polyBoundaryMesh& basicBdry)
     }
 }
 
-    
+
 // * * * * * * * * * * * * * * * * Constructors  * * * * * * * * * * * * * * //
 
 fvBoundaryMesh::fvBoundaryMesh
diff --git a/src/finiteVolume/fvMesh/fvMeshGeometry.C b/src/finiteVolume/fvMesh/fvMeshGeometry.C
index 7844ebade19..536b21c5655 100644
--- a/src/finiteVolume/fvMesh/fvMeshGeometry.C
+++ b/src/finiteVolume/fvMesh/fvMeshGeometry.C
@@ -94,7 +94,7 @@ void fvMesh::makeMagSf() const
 
     // Note: Added stabilisation for faces with exactly zero area.
     // These should be caught on mesh checking but at least this stops
-    // the code from producing Nans.  
+    // the code from producing Nans.
     magSfPtr_ = new surfaceScalarField
     (
         IOobject
@@ -338,7 +338,7 @@ const surfaceScalarField& fvMesh::phi() const
             << exit(FatalError);
     }
 
-    // Set zero current time 
+    // Set zero current time
     // mesh motion fluxes if the time has been incremented
     if (phiPtr_->timeIndex() != time().timeIndex())
     {
diff --git a/src/finiteVolume/fvMesh/fvMeshMapper/fvSurfaceMapper.C b/src/finiteVolume/fvMesh/fvMeshMapper/fvSurfaceMapper.C
index bfa3eb932de..25081dd8991 100644
--- a/src/finiteVolume/fvMesh/fvMeshMapper/fvSurfaceMapper.C
+++ b/src/finiteVolume/fvMesh/fvMeshMapper/fvSurfaceMapper.C
@@ -89,7 +89,7 @@ void Foam::fvSurfaceMapper::calcAddressing() const
                 scalarListList::subList(faceMap_.weights(), size())
             );
         scalarListList& w = *weightsPtr_;
-        
+
         // Adjust for creation of an internal face from a boundary face
         forAll (addr, faceI)
         {
diff --git a/src/finiteVolume/fvMesh/fvMeshSubset/fvMeshSubset.H b/src/finiteVolume/fvMesh/fvMeshSubset/fvMeshSubset.H
index 9ad70db6473..14fa7b384d6 100644
--- a/src/finiteVolume/fvMesh/fvMeshSubset/fvMeshSubset.H
+++ b/src/finiteVolume/fvMesh/fvMeshSubset/fvMeshSubset.H
@@ -190,10 +190,10 @@ private:
         bool checkCellSubset() const;
 
         //- Mark points in Map
-        static void markPoints(const labelList&, Map<label>&); 
+        static void markPoints(const labelList&, Map<label>&);
 
         //- Mark points (with 0) in labelList
-        static void markPoints(const labelList&, labelList&); 
+        static void markPoints(const labelList&, labelList&);
 
         //- Adapt nCellsUsingFace for coupled faces becoming 'uncoupled'.
         void doCoupledPatches
diff --git a/src/finiteVolume/fvMesh/fvMeshSubset/fvMeshSubsetInterpolate.C b/src/finiteVolume/fvMesh/fvMeshSubset/fvMeshSubsetInterpolate.C
index f95b7a9dfef..859c296cac6 100644
--- a/src/finiteVolume/fvMesh/fvMeshSubset/fvMeshSubsetInterpolate.C
+++ b/src/finiteVolume/fvMesh/fvMeshSubset/fvMeshSubsetInterpolate.C
@@ -56,7 +56,7 @@ tmp<GeometricField<Type, fvPatchField, volMesh> > fvMeshSubset::interpolate
     {
         // Set the first one by hand as it corresponds to the
         // exposed internal faces.  Additional interpolation can be put here
-        // as necessary.  
+        // as necessary.
         if (patchMap[patchI] == -1)
         {
             patchFields.set
@@ -180,7 +180,7 @@ tmp<GeometricField<Type, fvsPatchField, surfaceMesh> > fvMeshSubset::interpolate
     {
         // Set the first one by hand as it corresponds to the
         // exposed internal faces.  Additional interpolation can be put here
-        // as necessary.  
+        // as necessary.
         if (patchMap[patchI] == -1)
         {
             patchFields.set
@@ -313,7 +313,7 @@ fvMeshSubset::interpolate
     {
         // Set the first one by hand as it corresponds to the
         // exposed internal faces.  Additional interpolation can be put here
-        // as necessary.  
+        // as necessary.
         if (patchMap[patchI] == -1)
         {
             patchFields.set
diff --git a/src/finiteVolume/fvMesh/fvPatches/fvPatch/fvPatch.H b/src/finiteVolume/fvMesh/fvPatches/fvPatch/fvPatch.H
index 3060f215792..8a69c015591 100644
--- a/src/finiteVolume/fvMesh/fvPatches/fvPatch/fvPatch.H
+++ b/src/finiteVolume/fvMesh/fvPatches/fvPatch/fvPatch.H
@@ -243,7 +243,7 @@ public:
 
             //- Lookup and return the patchField of the named field from the
             //  local objectRegistry.
-            //  N.B.  The dummy pointer arguments are used if this function is 
+            //  N.B.  The dummy pointer arguments are used if this function is
             //  instantiated within a templated function to avoid a bug in gcc.
             //  See inletOutletFvPatchField.C and outletInletFvPatchField.C
             template<class GeometricField, class Type>
diff --git a/src/finiteVolume/fvMesh/singleCellFvMesh/singleCellFvMesh.C b/src/finiteVolume/fvMesh/singleCellFvMesh/singleCellFvMesh.C
index 7e38d098316..9cd38f8e247 100644
--- a/src/finiteVolume/fvMesh/singleCellFvMesh/singleCellFvMesh.C
+++ b/src/finiteVolume/fvMesh/singleCellFvMesh/singleCellFvMesh.C
@@ -211,7 +211,7 @@ void Foam::singleCellFvMesh::agglomerateMesh
                         )   << "agglomeration does not create a"
                             << " single, non-manifold"
                             << " face for agglomeration " << coarseI
-                            << exit(FatalError);   
+                            << exit(FatalError);
                     }
 
                     patchFaces[coarseI++] = face
diff --git a/src/finiteVolume/fvMesh/wallDist/wallDist.C b/src/finiteVolume/fvMesh/wallDist/wallDist.C
index 322eb2819ea..dccca79380e 100644
--- a/src/finiteVolume/fvMesh/wallDist/wallDist.C
+++ b/src/finiteVolume/fvMesh/wallDist/wallDist.C
@@ -73,7 +73,7 @@ void Foam::wallDist::correct()
     // Calculate distance starting from wallPatch faces.
     patchWave wave(cellDistFuncs::mesh(), wallPatchIDs, correctWalls_);
 
-    // Transfer cell values from wave into *this 
+    // Transfer cell values from wave into *this
     transfer(wave.distance());
 
     // Transfer values on patches into boundaryField of *this
diff --git a/src/finiteVolume/fvMesh/wallDist/wallDistData.H b/src/finiteVolume/fvMesh/wallDist/wallDistData.H
index acb2cc8881a..ab94bf20683 100644
--- a/src/finiteVolume/fvMesh/wallDist/wallDistData.H
+++ b/src/finiteVolume/fvMesh/wallDist/wallDistData.H
@@ -28,11 +28,11 @@ Class
 Description
     Wall distance calculation. Like wallDist but also transports extra
     data (template argument).
- 
+
     Used for e.g reflection vector calculation or vanDriest damping.
 
     Templated on two parameters:
-        - TransferType: type of overall data transported 
+        - TransferType: type of overall data transported
           (e.g. wallPointData\<vector\>)
 
 SourceFiles
diff --git a/src/finiteVolume/fvMesh/wallDist/wallPointYPlus/wallPointYPlusI.H b/src/finiteVolume/fvMesh/wallDist/wallPointYPlus/wallPointYPlusI.H
index 0f41fae9a90..113b8a14df5 100644
--- a/src/finiteVolume/fvMesh/wallDist/wallPointYPlus/wallPointYPlusI.H
+++ b/src/finiteVolume/fvMesh/wallDist/wallPointYPlus/wallPointYPlusI.H
@@ -78,7 +78,7 @@ inline bool wallPointYPlus::update
         }
     }
 }
-    
+
 
 // * * * * * * * * * * * * * * * * Constructors  * * * * * * * * * * * * * * //
 
@@ -124,7 +124,7 @@ inline bool wallPointYPlus::updateCell
         neighbourWallInfo,
         tol
     );
-}    
+}
 
 
 // Update this with w2 if w2 nearer to pt.
@@ -145,7 +145,7 @@ inline bool wallPointYPlus::updateFace
         neighbourWallInfo,
         tol
     );
-}    
+}
 
 
 // Update this with w2 if w2 nearer to pt.
@@ -165,7 +165,7 @@ inline bool wallPointYPlus::updateFace
         neighbourWallInfo,
         tol
     );
-}    
+}
 
 
 // ************************************************************************* //
diff --git a/src/finiteVolume/interpolation/interpolation/interpolationCellPointFace/findCellPointFaceTriangle.H b/src/finiteVolume/interpolation/interpolation/interpolationCellPointFace/findCellPointFaceTriangle.H
index 490b20f182c..e6b2fea84b9 100644
--- a/src/finiteVolume/interpolation/interpolation/interpolationCellPointFace/findCellPointFaceTriangle.H
+++ b/src/finiteVolume/interpolation/interpolation/interpolationCellPointFace/findCellPointFaceTriangle.H
@@ -53,7 +53,7 @@ bool interpolationCellPointFace<Type>::findTriangle
         }
 
         vector triangleFaceNormal = edge[1] ^ edge[2];
-        
+
         // calculate edge normal (pointing inwards)
         for (label i=0; i<3; i++)
         {
diff --git a/src/finiteVolume/interpolation/interpolation/interpolationCellPointFace/interpolationCellPointFace.C b/src/finiteVolume/interpolation/interpolation/interpolationCellPointFace/interpolationCellPointFace.C
index 8d0f1200352..57e1a75aad2 100644
--- a/src/finiteVolume/interpolation/interpolation/interpolationCellPointFace/interpolationCellPointFace.C
+++ b/src/finiteVolume/interpolation/interpolation/interpolationCellPointFace/interpolationCellPointFace.C
@@ -75,38 +75,38 @@ Type interpolationCellPointFace<Type>::interpolate
     {
         const vector& cellCentre = this->pMesh_.cellCentres()[nCell];
         const labelList& cellFaces = this->pMesh_.cells()[nCell];
-        
+
         vector projection = position - cellCentre;
         tetPoints[3] = cellCentre;
-        
+
         // *********************************************************************
         // project the cell-center through the point onto the face
         // and get the closest face, ...
         // *********************************************************************
-        
+
         bool foundTet = false;
         label closestFace = -1;
         scalar minDistance = GREAT;
-        
+
         forAll(cellFaces, facei)
         {
             label nFace = cellFaces[facei];
-        
+
             vector normal = this->pMeshFaceAreas_[nFace];
             normal /= mag(normal);
-        
+
             const vector& faceCentreTmp = this->pMeshFaceCentres_[nFace];
-        
+
             scalar multiplierNumerator = (faceCentreTmp - cellCentre) & normal;
             scalar multiplierDenominator = projection & normal;
-        
+
             // if normal and projection are not orthogonal this could be the one...
             if (mag(multiplierDenominator) > SMALL)
             {
                 scalar multiplier = multiplierNumerator/multiplierDenominator;
                 vector iPoint = cellCentre + multiplier*projection;
                 scalar dist = mag(position - iPoint);
-        
+
                 if (dist < minDistance)
                 {
                     closestFace = nFace;
@@ -114,13 +114,13 @@ Type interpolationCellPointFace<Type>::interpolate
                 }
             }
         }
-        
+
         // *********************************************************************
         // find the tetrahedron containing 'position'
         // from the cell center, face center and
         // two other points on the face
         // *********************************************************************
-        
+
         minDistance = GREAT;
         if (closestFace != -1)
         {
@@ -138,7 +138,7 @@ Type interpolationCellPointFace<Type>::interpolate
                 minDistance
             );
         }
-        
+
         if (!foundTet)
         {
             // check if the position is 'just' outside a tet
@@ -153,15 +153,15 @@ Type interpolationCellPointFace<Type>::interpolate
                 tetPointLabels[1] = tetLabelCandidate[1];
             }
         }
-        
+
         // *********************************************************************
         // if the search failed check all the cell-faces
         // *********************************************************************
-        
+
         if (!foundTet)
         {
             minDistance = GREAT;
-        
+
             label facei = 0;
             while (facei < cellFaces.size() && !foundTet)
             {
@@ -184,7 +184,7 @@ Type interpolationCellPointFace<Type>::interpolate
                 facei++;
             }
         }
-        
+
         if (!foundTet)
         {
             // check if the position is 'just' outside a tet
@@ -200,19 +200,19 @@ Type interpolationCellPointFace<Type>::interpolate
                 tetPointLabels[1] = tetLabelCandidate[1];
             }
         }
-        
+
         // *********************************************************************
         // if the tet was found do the interpolation,
         // otherwise use the closest face value
         // *********************************************************************
-        
+
         if (foundTet)
         {
             for (label i=0; i<2; i++)
             {
                 ts[i] = psip_[tetPointLabels[i]];
             }
-        
+
             if (closestFace < psis_.size())
             {
                 ts[2] = psis_[closestFace];
@@ -220,7 +220,7 @@ Type interpolationCellPointFace<Type>::interpolate
             else
             {
                 label patchi = this->pMesh_.boundaryMesh().whichPatch(closestFace);
-        
+
                 // If the boundary patch is not empty use the face value
                 // else use the cell value
                 if (this->psi_.boundaryField()[patchi].size())
@@ -233,14 +233,14 @@ Type interpolationCellPointFace<Type>::interpolate
                     ts[2] = this->psi_[nCell];
                 }
             }
-            
+
             ts[3] = this->psi_[nCell];
-            
+
             for (label n=0; n<4; n++)
             {
                 phi[n] = min(1.0, phi[n]);
                 phi[n] = max(0.0, phi[n]);
-        
+
                 t += phi[n]*ts[n];
             }
         }
@@ -251,7 +251,7 @@ Type interpolationCellPointFace<Type>::interpolate
                 << "search failed; using closest cellFace value" << endl
                 << "cell number " << nCell << tab
                 << "position " << position << endl;
-        
+
             if (closestFace < psis_.size())
             {
                 t = psis_[closestFace];
@@ -259,7 +259,7 @@ Type interpolationCellPointFace<Type>::interpolate
             else
             {
                 label patchi = this->pMesh_.boundaryMesh().whichPatch(closestFace);
-        
+
                 // If the boundary patch is not empty use the face value
                 // else use the cell value
                 if (this->psi_.boundaryField()[patchi].size())
@@ -301,7 +301,7 @@ Type interpolationCellPointFace<Type>::interpolate
             else
             {
                 label patchi = this->pMesh_.boundaryMesh().whichPatch(facei);
-                
+
                 // If the boundary patch is not empty use the face value
                 // else use the cell value
                 if (this->psi_.boundaryField()[patchi].size())
@@ -325,7 +325,7 @@ Type interpolationCellPointFace<Type>::interpolate
             else
             {
                 label patchi = this->pMesh_.boundaryMesh().whichPatch(facei);
-                
+
                 // If the boundary patch is not empty use the face value
                 // else use the cell value
                 if (this->psi_.boundaryField()[patchi].size())
diff --git a/src/finiteVolume/interpolation/interpolation/interpolationCellPointFace/interpolationCellPointFace.H b/src/finiteVolume/interpolation/interpolation/interpolationCellPointFace/interpolationCellPointFace.H
index daeffb93503..9cf12eced27 100644
--- a/src/finiteVolume/interpolation/interpolation/interpolationCellPointFace/interpolationCellPointFace.H
+++ b/src/finiteVolume/interpolation/interpolation/interpolationCellPointFace/interpolationCellPointFace.H
@@ -99,7 +99,7 @@ public:
         //- Interpolate field to the given point in the given cell
         Type interpolate
         (
-            const vector& position, 
+            const vector& position,
             const label nCell,
             const label facei = -1
         ) const;
diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/LimitedScheme/LimitedScheme.H b/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/LimitedScheme/LimitedScheme.H
index 1df875cf7ed..3c04ab3f5e1 100644
--- a/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/LimitedScheme/LimitedScheme.H
+++ b/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/LimitedScheme/LimitedScheme.H
@@ -97,7 +97,7 @@ public:
             Limiter(weight)
         {}
 
-        //- Construct from mesh and Istream. 
+        //- Construct from mesh and Istream.
         //  The name of the flux field is read from the Istream and looked-up
         //  from the mesh objectRegistry
         LimitedScheme
diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/LimitedScheme/NVDVTVDV.H b/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/LimitedScheme/NVDVTVDV.H
index 81c6420d764..9ed0d4c8a34 100644
--- a/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/LimitedScheme/NVDVTVDV.H
+++ b/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/LimitedScheme/NVDVTVDV.H
@@ -84,7 +84,7 @@ public:
 
             // Stabilise for division
             gradcf = stabilise(gradcf, VSMALL);
-            
+
             return 1 - 0.5*gradf/gradcf;
         }
 
diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/Phi/Phi.H b/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/Phi/Phi.H
index 4cd887c3b9c..6925de23981 100644
--- a/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/Phi/Phi.H
+++ b/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/Phi/Phi.H
@@ -99,7 +99,7 @@ public:
         //scalar PLimiter =
         //    (1.0 - k_) + k_*(faceFlux - phiU)/stabilise(phiCD - phiU, SMALL);
 
-        scalar PLimiter = 
+        scalar PLimiter =
             ((faceFlux - phiU)/stabilise(phiCD - phiU, SMALL) + k_);
 
         // Limit the limiter between upwind and central
diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/PhiScheme/PhiScheme.C b/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/PhiScheme/PhiScheme.C
index 2b967f18787..634e585d61e 100644
--- a/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/PhiScheme/PhiScheme.C
+++ b/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/PhiScheme/PhiScheme.C
@@ -73,7 +73,7 @@ tmp<surfaceScalarField> PhiScheme<Type, PhiLimiter>::limiter
 
     if (this->faceFlux_.dimensions() == dimDensity*dimVelocity*dimArea)
     {
-        const volScalarField& rho = 
+        const volScalarField& rho =
             phi.db().objectRegistry::lookupObject<volScalarField>("rho");
         tUflux = this->faceFlux_/fvc::interpolate(rho);
     }
diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/PhiScheme/PhiScheme.H b/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/PhiScheme/PhiScheme.H
index 0e9495301e1..652677bdf35 100644
--- a/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/PhiScheme/PhiScheme.H
+++ b/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/PhiScheme/PhiScheme.H
@@ -92,7 +92,7 @@ public:
             PhiLimiter(weight)
         {}
 
-        //- Construct from mesh and Istream. 
+        //- Construct from mesh and Istream.
         //  The name of the flux field is read from the Istream and looked-up
         //  from the mesh objectRegistry
         PhiScheme
diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/blended/blended.H b/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/blended/blended.H
index 0d609879a23..cd051444000 100644
--- a/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/blended/blended.H
+++ b/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/blended/blended.H
@@ -86,7 +86,7 @@ public:
             blendingFactor_(blendingFactor)
         {}
 
-        //- Construct from mesh and Istream. 
+        //- Construct from mesh and Istream.
         //  The name of the flux field is read from the Istream and looked-up
         //  from the mesh objectRegistry
         blended
diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/limitedCubic/limitedCubic.H b/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/limitedCubic/limitedCubic.H
index 46d23dacc9f..d69ea4d26de 100644
--- a/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/limitedCubic/limitedCubic.H
+++ b/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/limitedCubic/limitedCubic.H
@@ -105,7 +105,7 @@ public:
         }
 
         // Calculate the face value using cubic interpolation
-        scalar phif = 
+        scalar phif =
             cdWeight*(phiP - 0.25*(d & gradcN))
           + (1 - cdWeight)*(phiN + 0.25*(d & gradcP));
 
diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/limitedCubic/limitedCubicV.H b/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/limitedCubic/limitedCubicV.H
index 3a1a633c3df..daa122fa6dc 100644
--- a/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/limitedCubic/limitedCubicV.H
+++ b/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/limitedCubic/limitedCubicV.H
@@ -110,7 +110,7 @@ public:
         }
 
         // Calculate the face value using cubic interpolation
-        scalar fVphif = 
+        scalar fVphif =
             cdWeight*(fVphiP - 0.25*(fV & (d & gradcN)))
           + (1 - cdWeight)*(fVphiN + 0.25*(fV & (d & gradcP)));
 
diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/upwind/upwind.H b/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/upwind/upwind.H
index 8642a4b3ed6..ce4b59744f6 100644
--- a/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/upwind/upwind.H
+++ b/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/upwind/upwind.H
@@ -78,7 +78,7 @@ public:
             limitedSurfaceInterpolationScheme<Type>(mesh, faceFlux)
         {}
 
-        //- Construct from Istream. 
+        //- Construct from Istream.
         //  The name of the flux field is read from the Istream and looked-up
         //  from the mesh objectRegistry
         upwind
diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/multivariateSchemes/multivariateScheme/multivariateScheme.C b/src/finiteVolume/interpolation/surfaceInterpolation/multivariateSchemes/multivariateScheme/multivariateScheme.C
index 710a01648d9..6f161fce622 100644
--- a/src/finiteVolume/interpolation/surfaceInterpolation/multivariateSchemes/multivariateScheme/multivariateScheme.C
+++ b/src/finiteVolume/interpolation/surfaceInterpolation/multivariateSchemes/multivariateScheme/multivariateScheme.C
@@ -69,7 +69,7 @@ multivariateScheme<Type, Scheme>::multivariateScheme
     typename multivariateSurfaceInterpolationScheme<Type>::
         fieldTable::const_iterator iter = this->fields().begin();
 
-    surfaceScalarField limiter = 
+    surfaceScalarField limiter =
         Scheme(mesh, faceFlux_, *this).limiter(*iter());
 
     for (++iter; iter != this->fields().end(); ++iter)
@@ -81,7 +81,7 @@ multivariateScheme<Type, Scheme>::multivariateScheme
         );
     }
 
-    weights_ = 
+    weights_ =
         limiter*mesh.surfaceInterpolation::weights()
       + (scalar(1) - limiter)*upwind<Type>(mesh, faceFlux_).weights();
 }
diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/multivariateSchemes/multivariateScheme/multivariateScheme.H b/src/finiteVolume/interpolation/surfaceInterpolation/multivariateSchemes/multivariateScheme/multivariateScheme.H
index 0baee6fd5ab..bb6bf1a5fde 100644
--- a/src/finiteVolume/interpolation/surfaceInterpolation/multivariateSchemes/multivariateScheme/multivariateScheme.H
+++ b/src/finiteVolume/interpolation/surfaceInterpolation/multivariateSchemes/multivariateScheme/multivariateScheme.H
@@ -105,7 +105,7 @@ public:
         public:
 
             // Constructors
-            
+
                 fieldScheme
                 (
                     const GeometricField<Type, fvPatchField, volMesh>& field,
diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/multivariateSchemes/multivariateSelectionScheme/multivariateSelectionScheme.H b/src/finiteVolume/interpolation/surfaceInterpolation/multivariateSchemes/multivariateSelectionScheme/multivariateSelectionScheme.H
index 46c5d4d5b4c..53788fea2c3 100644
--- a/src/finiteVolume/interpolation/surfaceInterpolation/multivariateSchemes/multivariateSelectionScheme/multivariateSelectionScheme.H
+++ b/src/finiteVolume/interpolation/surfaceInterpolation/multivariateSchemes/multivariateSelectionScheme/multivariateSelectionScheme.H
@@ -104,7 +104,7 @@ public:
         public:
 
             // Constructors
-            
+
                 fieldScheme
                 (
                     const GeometricField<Type, fvPatchField, volMesh>& field,
diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/multivariateSchemes/upwind/multivariateUpwind.H b/src/finiteVolume/interpolation/surfaceInterpolation/multivariateSchemes/upwind/multivariateUpwind.H
index 127f6166eab..1527eec2475 100644
--- a/src/finiteVolume/interpolation/surfaceInterpolation/multivariateSchemes/upwind/multivariateUpwind.H
+++ b/src/finiteVolume/interpolation/surfaceInterpolation/multivariateSchemes/upwind/multivariateUpwind.H
@@ -111,7 +111,7 @@ public:
         public:
 
             // Constructors
-            
+
                 fieldScheme
                 (
                     const GeometricField<Type, fvPatchField, volMesh>& field,
diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/clippedLinear/clippedLinear.H b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/clippedLinear/clippedLinear.H
index 7a39dc346fd..9c33a1da352 100644
--- a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/clippedLinear/clippedLinear.H
+++ b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/clippedLinear/clippedLinear.H
@@ -153,7 +153,7 @@ public:
             );
             surfaceScalarField& clippedLinearWeights = tclippedLinearWeights();
 
-            clippedLinearWeights.internalField() = 
+            clippedLinearWeights.internalField() =
                 max(min(cdWeights.internalField(), 1 - wfLimit_), wfLimit_);
 
             forAll (mesh.boundary(), patchi)
diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/cubic/cubic.H b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/cubic/cubic.H
index f357602d5ba..edd60a967cf 100644
--- a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/cubic/cubic.H
+++ b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/cubic/cubic.H
@@ -119,7 +119,7 @@ public:
             // calculate the appropriate interpolation factors
             const surfaceScalarField& lambda = mesh.weights();
 
-            surfaceScalarField kSc = 
+            surfaceScalarField kSc =
                 lambda*(scalar(1) - lambda*(scalar(3) - scalar(2)*lambda));
 
             surfaceScalarField kVecP = sqr(scalar(1) - lambda)*lambda;
diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/downwind/downwind.H b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/downwind/downwind.H
index 6e4b235f13d..62443eb0342 100644
--- a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/downwind/downwind.H
+++ b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/downwind/downwind.H
@@ -84,7 +84,7 @@ public:
             faceFlux_(faceFlux)
         {}
 
-        //- Construct from Istream. 
+        //- Construct from Istream.
         //  The name of the flux field is read from the Istream and looked-up
         //  from the mesh objectRegistry
         downwind
diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/linear/linear.H b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/linear/linear.H
index 75ce549eeb3..8549e32ef9b 100644
--- a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/linear/linear.H
+++ b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/linear/linear.H
@@ -120,7 +120,7 @@ template<class Type>
 tmp<GeometricField<Type, fvsPatchField, surfaceMesh> >
 linearInterpolate(const tmp<GeometricField<Type, fvPatchField, volMesh> >& tvf)
 {
-    tmp<GeometricField<Type, fvsPatchField, surfaceMesh> > tinterp = 
+    tmp<GeometricField<Type, fvsPatchField, surfaceMesh> > tinterp =
         linearInterpolate(tvf());
     tvf.clear();
     return tinterp;
diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/localBlended/localBlended.H b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/localBlended/localBlended.H
index da0521601e1..00ba237c54f 100644
--- a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/localBlended/localBlended.H
+++ b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/localBlended/localBlended.H
@@ -76,7 +76,7 @@ public:
 
     // Constructors
 
-        //- Construct from mesh and Istream. 
+        //- Construct from mesh and Istream.
         //  The name of the flux field is read from the Istream and looked-up
         //  from the mesh objectRegistry
         localBlended
@@ -141,10 +141,10 @@ public:
         tmp<GeometricField<Type, fvsPatchField, surfaceMesh> >
         interpolate(const GeometricField<Type, fvPatchField, volMesh>& vf) const
         {
-            const surfaceScalarField& blendingFactor = 
+            const surfaceScalarField& blendingFactor =
             (
                 this->mesh().objectRegistry::
-                lookupObject<const surfaceScalarField> 
+                lookupObject<const surfaceScalarField>
                 (
                     word(vf.name() + "BlendingFactor")
                 )
diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/localMax/localMax.H b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/localMax/localMax.H
index 957f4a69202..d4083c7b828 100644
--- a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/localMax/localMax.H
+++ b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/localMax/localMax.H
@@ -77,7 +77,7 @@ public:
             surfaceInterpolationScheme<Type>(mesh)
         {}
 
-        //- Construct from Istream. 
+        //- Construct from Istream.
         //  The name of the flux field is read from the Istream and looked-up
         //  from the mesh objectRegistry
         localMax
diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/localMin/localMin.H b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/localMin/localMin.H
index ef35ca64d33..3607d606cf9 100644
--- a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/localMin/localMin.H
+++ b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/localMin/localMin.H
@@ -77,7 +77,7 @@ public:
             surfaceInterpolationScheme<Type>(mesh)
         {}
 
-        //- Construct from Istream. 
+        //- Construct from Istream.
         //  The name of the flux field is read from the Istream and looked-up
         //  from the mesh objectRegistry
         localMin
diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/reverseLinear/reverseLinear.C b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/reverseLinear/reverseLinear.C
index 4b5796d4516..5e81e4ee010 100644
--- a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/reverseLinear/reverseLinear.C
+++ b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/reverseLinear/reverseLinear.C
@@ -26,7 +26,7 @@ Description
     Reverse-central-differencing interpolation scheme class which is a linear
     scheme but uses 1 - weighting factors.
 
-    Currently the sole use of this scheme is as the basis of 
+    Currently the sole use of this scheme is as the basis of
     harmonic interpolation.
 
 \*---------------------------------------------------------------------------*/
diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/skewCorrected/skewCorrected.H b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/skewCorrected/skewCorrected.H
index 80122feb070..249702a3140 100644
--- a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/skewCorrected/skewCorrected.H
+++ b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/skewCorrected/skewCorrected.H
@@ -123,7 +123,7 @@ public:
         //- Return true if this scheme uses an explicit correction
         virtual bool corrected() const
         {
-            return 
+            return
                 tScheme_().corrected()
              || skewCorrectionVectors::New(this->mesh()).skew();
         }
@@ -207,7 +207,7 @@ public:
             }
             else
             {
-                return 
+                return
                     tmp<GeometricField<Type, fvsPatchField, surfaceMesh> >(NULL);
             }
         }
diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/skewCorrected/skewCorrectionVectors.H b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/skewCorrected/skewCorrectionVectors.H
index ab345ba3297..c3741b9c6be 100644
--- a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/skewCorrected/skewCorrectionVectors.H
+++ b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/skewCorrected/skewCorrectionVectors.H
@@ -56,7 +56,7 @@ class skewCorrectionVectors
     public MeshObject<fvMesh, skewCorrectionVectors>
 {
     // Private data
-    
+
         //- Is mesh skew
         mutable bool skew_;
 
diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/surfaceInterpolation/surfaceInterpolate.C b/src/finiteVolume/interpolation/surfaceInterpolation/surfaceInterpolation/surfaceInterpolate.C
index 0bd30976959..42b5900f688 100644
--- a/src/finiteVolume/interpolation/surfaceInterpolation/surfaceInterpolation/surfaceInterpolate.C
+++ b/src/finiteVolume/interpolation/surfaceInterpolation/surfaceInterpolation/surfaceInterpolate.C
@@ -106,7 +106,7 @@ tmp<surfaceInterpolationScheme<Type> > scheme
 
 // Interpolate field onto faces using scheme given by name in dictionary
 template<class Type>
-tmp<GeometricField<Type, fvsPatchField, surfaceMesh> > 
+tmp<GeometricField<Type, fvsPatchField, surfaceMesh> >
 interpolate
 (
     const GeometricField<Type, fvPatchField, volMesh>& vf,
@@ -129,7 +129,7 @@ interpolate
 
 // Interpolate field onto faces using scheme given by name in dictionary
 template<class Type>
-tmp<GeometricField<Type, fvsPatchField, surfaceMesh> > 
+tmp<GeometricField<Type, fvsPatchField, surfaceMesh> >
 interpolate
 (
     const GeometricField<Type, fvPatchField, volMesh>& vf,
@@ -152,7 +152,7 @@ interpolate
 
 // Interpolate field onto faces using scheme given by name in dictionary
 template<class Type>
-tmp<GeometricField<Type, fvsPatchField, surfaceMesh> > 
+tmp<GeometricField<Type, fvsPatchField, surfaceMesh> >
 interpolate
 (
     const tmp<GeometricField<Type, fvPatchField, volMesh> >& tvf,
@@ -170,7 +170,7 @@ interpolate
 
 // Interpolate field onto faces using scheme given by name in dictionary
 template<class Type>
-tmp<GeometricField<Type, fvsPatchField, surfaceMesh> > 
+tmp<GeometricField<Type, fvsPatchField, surfaceMesh> >
 interpolate
 (
     const GeometricField<Type, fvPatchField, volMesh>& vf,
@@ -188,7 +188,7 @@ interpolate
 
 // Interpolate field onto faces using scheme given by name in dictionary
 template<class Type>
-tmp<GeometricField<Type, fvsPatchField, surfaceMesh> > 
+tmp<GeometricField<Type, fvsPatchField, surfaceMesh> >
 interpolate
 (
     const tmp<GeometricField<Type, fvPatchField, volMesh> >& tvf,
@@ -208,7 +208,7 @@ interpolate
 
 // Interpolate field onto faces using scheme given by name in dictionary
 template<class Type>
-tmp<GeometricField<Type, fvsPatchField, surfaceMesh> > 
+tmp<GeometricField<Type, fvsPatchField, surfaceMesh> >
 interpolate
 (
     const GeometricField<Type, fvPatchField, volMesh>& vf,
@@ -229,7 +229,7 @@ interpolate
 
 // Interpolate field onto faces using scheme given by name in dictionary
 template<class Type>
-tmp<GeometricField<Type, fvsPatchField, surfaceMesh> > 
+tmp<GeometricField<Type, fvsPatchField, surfaceMesh> >
 interpolate
 (
     const GeometricField<Type, fvPatchField, volMesh>& vf,
@@ -251,7 +251,7 @@ interpolate
 
 // Interpolate field onto faces using scheme given by name in dictionary
 template<class Type>
-tmp<GeometricField<Type, fvsPatchField, surfaceMesh> > 
+tmp<GeometricField<Type, fvsPatchField, surfaceMesh> >
 interpolate
 (
     const tmp<GeometricField<Type, fvPatchField, volMesh> >& tvf,
@@ -269,7 +269,7 @@ interpolate
 
 // Interpolate field onto faces using central differencing
 template<class Type>
-tmp<GeometricField<Type, fvsPatchField, surfaceMesh> > 
+tmp<GeometricField<Type, fvsPatchField, surfaceMesh> >
 interpolate
 (
     const GeometricField<Type, fvPatchField, volMesh>& vf
@@ -290,7 +290,7 @@ interpolate
 
 // Interpolate field onto faces using central differencing
 template<class Type>
-tmp<GeometricField<Type, fvsPatchField, surfaceMesh> > 
+tmp<GeometricField<Type, fvsPatchField, surfaceMesh> >
 interpolate
 (
     const tmp<GeometricField<Type, fvPatchField, volMesh> >& tvf
diff --git a/src/finiteVolume/interpolation/volPointInterpolation/volPointInterpolation.C b/src/finiteVolume/interpolation/volPointInterpolation/volPointInterpolation.C
index f94ff4456ab..0c9235021d2 100644
--- a/src/finiteVolume/interpolation/volPointInterpolation/volPointInterpolation.C
+++ b/src/finiteVolume/interpolation/volPointInterpolation/volPointInterpolation.C
@@ -87,7 +87,7 @@ void volPointInterpolation::makeWeights()
 
         forAll(pcp, pointCelli)
         {
-            pw[pointCelli] = 
+            pw[pointCelli] =
                 1.0/mag(points[pointi] - cellCentres[pcp[pointCelli]]);
 
             sumWeights[pointi] += pw[pointCelli];
diff --git a/src/finiteVolume/interpolation/volPointInterpolation/volPointInterpolation.H b/src/finiteVolume/interpolation/volPointInterpolation/volPointInterpolation.H
index 33d29f84f0f..d5772c8c3c4 100644
--- a/src/finiteVolume/interpolation/volPointInterpolation/volPointInterpolation.H
+++ b/src/finiteVolume/interpolation/volPointInterpolation/volPointInterpolation.H
@@ -151,7 +151,7 @@ public:
             const wordList& patchFieldTypes
         ) const;
 
-        //- Interpolate volField using inverse distance weighting 
+        //- Interpolate volField using inverse distance weighting
         //  returning pointField
         template<class Type>
         tmp<GeometricField<Type, pointPatchField, pointMesh> > interpolate
@@ -159,7 +159,7 @@ public:
             const GeometricField<Type, fvPatchField, volMesh>&
         ) const;
 
-        //- Interpolate tmp<volField> using inverse distance weighting 
+        //- Interpolate tmp<volField> using inverse distance weighting
         //  returning pointField
         template<class Type>
         tmp<GeometricField<Type, pointPatchField, pointMesh> > interpolate
diff --git a/src/fvAgglomerationMethods/MGridGenGamgAgglomeration/MGridGenGAMGAgglomerate.C b/src/fvAgglomerationMethods/MGridGenGamgAgglomeration/MGridGenGAMGAgglomerate.C
index 4af895ca4cc..e36e66bcaaa 100644
--- a/src/fvAgglomerationMethods/MGridGenGamgAgglomeration/MGridGenGAMGAgglomerate.C
+++ b/src/fvAgglomerationMethods/MGridGenGamgAgglomeration/MGridGenGAMGAgglomerate.C
@@ -140,7 +140,7 @@ Foam::tmp<Foam::labelField> Foam::MGridGenGAMGAgglomeration::agglomerate
     // output: cell -> processor addressing
     List<int> finalAgglom(nFineCells);
     int nMoves = -1;
-        
+
     MGridGen
     (
         nFineCells,
diff --git a/src/fvMotionSolver/fvMotionSolvers/displacement/componentLaplacian/displacementComponentLaplacianFvMotionSolver.C b/src/fvMotionSolver/fvMotionSolvers/displacement/componentLaplacian/displacementComponentLaplacianFvMotionSolver.C
index 41a3087cfb3..5bf513341af 100644
--- a/src/fvMotionSolver/fvMotionSolvers/displacement/componentLaplacian/displacementComponentLaplacianFvMotionSolver.C
+++ b/src/fvMotionSolver/fvMotionSolvers/displacement/componentLaplacian/displacementComponentLaplacianFvMotionSolver.C
@@ -328,7 +328,7 @@ void Foam::displacementComponentLaplacianFvMotionSolver::updateMesh
     forAll(newPoints0, pointI)
     {
         label oldPointI = mpm.pointMap()[pointI];
-    
+
         if (oldPointI >= 0)
         {
             label masterPointI = mpm.reversePointMap()[oldPointI];
diff --git a/src/fvMotionSolver/fvPatchFields/derived/cellMotion/cellMotionFvPatchField.C b/src/fvMotionSolver/fvPatchFields/derived/cellMotion/cellMotionFvPatchField.C
index f1dff403e02..3f7bfbca861 100644
--- a/src/fvMotionSolver/fvPatchFields/derived/cellMotion/cellMotionFvPatchField.C
+++ b/src/fvMotionSolver/fvPatchFields/derived/cellMotion/cellMotionFvPatchField.C
@@ -113,7 +113,7 @@ void cellMotionFvPatchField<Type>::updateCoeffs()
     word pfName = this->dimensionedInternalField().name();
     pfName.replace("cell", "point");
 
-    const GeometricField<Type, pointPatchField, pointMesh>& pointMotion = 
+    const GeometricField<Type, pointPatchField, pointMesh>& pointMotion =
         this->db().objectRegistry::
         lookupObject<GeometricField<Type, pointPatchField, pointMesh> >
         (
diff --git a/src/fvMotionSolver/motionDiffusivity/inverseDistance/inverseDistanceDiffusivity.H b/src/fvMotionSolver/motionDiffusivity/inverseDistance/inverseDistanceDiffusivity.H
index 36385f4b968..073e8b2ffa9 100644
--- a/src/fvMotionSolver/motionDiffusivity/inverseDistance/inverseDistanceDiffusivity.H
+++ b/src/fvMotionSolver/motionDiffusivity/inverseDistance/inverseDistanceDiffusivity.H
@@ -52,7 +52,7 @@ class inverseDistanceDiffusivity
     public uniformDiffusivity
 {
     // Private data
-        
+
         //- Patches selected to base the distance on
         //  These can contain regular expressions and the actuallt patch names
         //  will be searched for.
diff --git a/src/fvMotionSolver/motionDiffusivity/inverseFaceDistance/inverseFaceDistanceDiffusivity.H b/src/fvMotionSolver/motionDiffusivity/inverseFaceDistance/inverseFaceDistanceDiffusivity.H
index eec6d3cc812..f31e1f368d4 100644
--- a/src/fvMotionSolver/motionDiffusivity/inverseFaceDistance/inverseFaceDistanceDiffusivity.H
+++ b/src/fvMotionSolver/motionDiffusivity/inverseFaceDistance/inverseFaceDistanceDiffusivity.H
@@ -52,7 +52,7 @@ class inverseFaceDistanceDiffusivity
     public uniformDiffusivity
 {
     // Private data
-        
+
         //- Patches selected to base the distance on
         wordList patchNames_;
 
diff --git a/src/fvMotionSolver/motionDiffusivity/inversePointDistance/inversePointDistanceDiffusivity.H b/src/fvMotionSolver/motionDiffusivity/inversePointDistance/inversePointDistanceDiffusivity.H
index 4853aa1c66c..9bbb5307d40 100644
--- a/src/fvMotionSolver/motionDiffusivity/inversePointDistance/inversePointDistanceDiffusivity.H
+++ b/src/fvMotionSolver/motionDiffusivity/inversePointDistance/inversePointDistanceDiffusivity.H
@@ -52,7 +52,7 @@ class inversePointDistanceDiffusivity
     public uniformDiffusivity
 {
     // Private data
-        
+
         //- Patches selected to base the distance on
         wordList patchNames_;
 
diff --git a/src/fvMotionSolver/motionDiffusivity/motionDirectional/motionDirectionalDiffusivity.C b/src/fvMotionSolver/motionDiffusivity/motionDirectional/motionDirectionalDiffusivity.C
index 80a4e5398aa..9324bf7f7a5 100644
--- a/src/fvMotionSolver/motionDiffusivity/motionDirectional/motionDirectionalDiffusivity.C
+++ b/src/fvMotionSolver/motionDiffusivity/motionDirectional/motionDirectionalDiffusivity.C
@@ -73,7 +73,7 @@ void Foam::motionDirectionalDiffusivity::correct()
 
     if (!first)
     {
-        const volVectorField& cellMotionU = 
+        const volVectorField& cellMotionU =
             mesh.lookupObject<volVectorField>("cellMotionU");
 
         volVectorField D
diff --git a/src/fvMotionSolver/pointPatchFields/derived/surfaceDisplacement/surfaceDisplacementPointPatchVectorField.C b/src/fvMotionSolver/pointPatchFields/derived/surfaceDisplacement/surfaceDisplacementPointPatchVectorField.C
index f6d91a9edc6..11c00eacb89 100644
--- a/src/fvMotionSolver/pointPatchFields/derived/surfaceDisplacement/surfaceDisplacementPointPatchVectorField.C
+++ b/src/fvMotionSolver/pointPatchFields/derived/surfaceDisplacement/surfaceDisplacementPointPatchVectorField.C
@@ -198,7 +198,7 @@ void surfaceDisplacementPointPatchVectorField::calcProjection
                 rightHit
             );
         }
-        
+
         List<pointIndexHit> leftHit;
         {
             labelList leftSurf;
diff --git a/src/fvMotionSolver/pointPatchFields/derived/surfaceSlipDisplacement/surfaceSlipDisplacementPointPatchVectorField.C b/src/fvMotionSolver/pointPatchFields/derived/surfaceSlipDisplacement/surfaceSlipDisplacementPointPatchVectorField.C
index c9db7f74660..591b5fb94bb 100644
--- a/src/fvMotionSolver/pointPatchFields/derived/surfaceSlipDisplacement/surfaceSlipDisplacementPointPatchVectorField.C
+++ b/src/fvMotionSolver/pointPatchFields/derived/surfaceSlipDisplacement/surfaceSlipDisplacementPointPatchVectorField.C
@@ -197,7 +197,7 @@ void surfaceSlipDisplacementPointPatchVectorField::calcProjection
                 rightHit
             );
         }
-        
+
         List<pointIndexHit> leftHit;
         {
             labelList leftSurf;
diff --git a/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/layerParameters/layerParameters.H b/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/layerParameters/layerParameters.H
index 766897f43f8..46ef4c6fd18 100644
--- a/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/layerParameters/layerParameters.H
+++ b/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/layerParameters/layerParameters.H
@@ -206,20 +206,20 @@ public:
                 return nGrow_;
             }
 
-            //- Number of smoothing iterations of surface normals 
+            //- Number of smoothing iterations of surface normals
             label nSmoothSurfaceNormals() const
             {
                 return nSmoothSurfaceNormals_;
             }
 
             //- Number of smoothing iterations of interior mesh movement
-            //  direction  
+            //  direction
             label nSmoothNormals() const
             {
                 return nSmoothNormals_;
             }
 
-            //- Stop layer growth on highly warped cells 
+            //- Stop layer growth on highly warped cells
             scalar maxFaceThicknessRatio() const
             {
                 return maxFaceThicknessRatio_;
@@ -236,8 +236,8 @@ public:
                 return nSmoothThickness_;
             }
 
-            //- Reduce layer growth where ratio thickness to medial 
-            //  distance is large 
+            //- Reduce layer growth where ratio thickness to medial
+            //  distance is large
             scalar maxThicknessToMedialRatio() const
             {
                 return maxThicknessToMedialRatio_;
diff --git a/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/pointData/pointDataI.H b/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/pointData/pointDataI.H
index 9832bbf877d..9366afbe4ab 100644
--- a/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/pointData/pointDataI.H
+++ b/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/pointData/pointDataI.H
@@ -48,7 +48,7 @@ inline bool Foam::pointData::update
         v_ = w2.v();
 
         return true;
-    }       
+    }
 
 
 //    if (v_ != w2.v())
@@ -82,7 +82,7 @@ inline bool Foam::pointData::update
     }
 }
 
-    
+
 // Update this with w2 (information on same point)
 inline bool Foam::pointData::update
 (
@@ -98,7 +98,7 @@ inline bool Foam::pointData::update
         s_ = w2.s();
         v_ = w2.v();
         return true;
-    }        
+    }
 
 
 //    if (v_ != w2.v())
@@ -148,7 +148,7 @@ inline Foam::pointData::pointData()
 // Construct from origin, distance
 inline Foam::pointData::pointData
 (
-    const point& origin, 
+    const point& origin,
     const scalar distSqr,
     const scalar s,
     const vector& v
@@ -271,14 +271,14 @@ inline bool Foam::pointData::updatePoint
     const scalar tol
 )
 {
-    return 
+    return
         update
         (
             mesh.points()[pointI],
             edgeInfo,
             tol
         );
-    }    
+    }
 
 
 // Update this with new information on same point
@@ -297,7 +297,7 @@ inline bool Foam::pointData::updatePoint
             newPointInfo,
             tol
         );
-}    
+}
 
 
 // Update this with new information on same point. No extra information.
@@ -308,7 +308,7 @@ inline bool Foam::pointData::updatePoint
 )
 {
     return update(newPointInfo, tol);
-}    
+}
 
 
 // Update this with information from connected point
@@ -334,7 +334,7 @@ inline bool Foam::pointData::updateEdge
             pointInfo,
             tol
         );
-}    
+}
 
 
 // * * * * * * * * * * * * * * * Member Operators  * * * * * * * * * * * * * //
diff --git a/src/mesh/autoMesh/autoHexMesh/meshRefinement/meshRefinement.C b/src/mesh/autoMesh/autoHexMesh/meshRefinement/meshRefinement.C
index 12df8cbec0b..909cf3e6834 100644
--- a/src/mesh/autoMesh/autoHexMesh/meshRefinement/meshRefinement.C
+++ b/src/mesh/autoMesh/autoHexMesh/meshRefinement/meshRefinement.C
@@ -1708,7 +1708,7 @@ Foam::label Foam::meshRefinement::addPatch
 
 Foam::label Foam::meshRefinement::addMeshedPatch
 (
-    const word& name,   
+    const word& name,
     const word& type
 )
 {
diff --git a/src/mesh/autoMesh/autoHexMesh/refinementSurfaces/refinementSurfaces.C b/src/mesh/autoMesh/autoHexMesh/refinementSurfaces/refinementSurfaces.C
index 030f6adec75..c910b4c1b57 100644
--- a/src/mesh/autoMesh/autoHexMesh/refinementSurfaces/refinementSurfaces.C
+++ b/src/mesh/autoMesh/autoHexMesh/refinementSurfaces/refinementSurfaces.C
@@ -338,7 +338,7 @@ Foam::refinementSurfaces::refinementSurfaces
                 {
                     if (regionsDict.found(regionNames[regionI]))
                     {
-                        // Get the dictionary for region 
+                        // Get the dictionary for region
                         const dictionary& regionDict = regionsDict.subDict
                         (
                             regionNames[regionI]
diff --git a/src/mesh/autoMesh/autoHexMesh/trackedParticle/ExactParticle.H b/src/mesh/autoMesh/autoHexMesh/trackedParticle/ExactParticle.H
index d62c7e08cf6..64bcbd3b64f 100644
--- a/src/mesh/autoMesh/autoHexMesh/trackedParticle/ExactParticle.H
+++ b/src/mesh/autoMesh/autoHexMesh/trackedParticle/ExactParticle.H
@@ -84,7 +84,7 @@ public:
         :
             Particle<ParticleType>(cloud, position, celli)
         {}
-            
+
 
         //- Construct from Istream
         ExactParticle
diff --git a/src/meshTools/PointEdgeWave/PointEdgeWave.C b/src/meshTools/PointEdgeWave/PointEdgeWave.C
index 7dcaea3f850..76d89f79dfa 100644
--- a/src/meshTools/PointEdgeWave/PointEdgeWave.C
+++ b/src/meshTools/PointEdgeWave/PointEdgeWave.C
@@ -53,7 +53,7 @@ void Foam::PointEdgeWave<Type>::offset(const label val, labelList& elems)
 
 // * * * * * * * * * * * * * Private Member Functions  * * * * * * * * * * * //
 
-// Gets point-point correspondence. Is 
+// Gets point-point correspondence. Is
 // - list of halfA points (in cyclic patch points)
 // - list of halfB points (can overlap with A!)
 // - for every patchPoint its corresponding point
@@ -111,7 +111,7 @@ void Foam::PointEdgeWave<Type>::leaveDomain
 ) const
 {
     const labelList& meshPoints = patch.meshPoints();
-    
+
     forAll(patchPointLabels, i)
     {
         label patchPointI = patchPointLabels[i];
@@ -134,7 +134,7 @@ void Foam::PointEdgeWave<Type>::enterDomain
 ) const
 {
     const labelList& meshPoints = patch.meshPoints();
-    
+
     forAll(patchPointLabels, i)
     {
         label patchPointI = patchPointLabels[i];
@@ -169,7 +169,7 @@ void Foam::PointEdgeWave<Type>::transform
         (
             "PointEdgeWave<Type>::transform(const tensorField&, List<Type>&)"
         )   << "Parallel cyclics not supported" << abort(FatalError);
-    
+
         forAll(pointInfo, i)
         {
             pointInfo[i].transform(rotTensor[i]);
@@ -470,7 +470,7 @@ void Foam::PointEdgeWave<Type>::handleProcPatches()
 
             {
                 OPstream toNeighbour
-                (   
+                (
                     Pstream::blocking,
                     procPatch.neighbProcNo()
                 );
@@ -505,7 +505,7 @@ void Foam::PointEdgeWave<Type>::handleProcPatches()
                 );
 
                 fromNeighbour >> owner >> ownerIndex >> patchInfo;
-            }    
+            }
 
             if (debug)
             {
@@ -642,7 +642,7 @@ void Foam::PointEdgeWave<Type>::handleCyclicPatches()
 
             if (debug)
             {
-                Pout<< "Cyclic patch " << patchI << ' ' << patch.name() 
+                Pout<< "Cyclic patch " << patchI << ' ' << patch.name()
                     << "  Changed on first half : " << halfAInfo.size()
                     << "  Changed on second half : " << halfBInfo.size()
                     << endl;
@@ -679,7 +679,7 @@ void Foam::PointEdgeWave<Type>::handleCyclicPatches()
 
 // * * * * * * * * * * * * * * * * Constructors  * * * * * * * * * * * * * * //
 
-// Iterate, propagating changedPointsInfo across mesh, until no change (or 
+// Iterate, propagating changedPointsInfo across mesh, until no change (or
 // maxIter reached). Initial point values specified.
 template <class Type>
 Foam::PointEdgeWave<Type>::PointEdgeWave
diff --git a/src/meshTools/cellClassification/cellInfo.H b/src/meshTools/cellClassification/cellInfo.H
index fd39cc88039..c459c43078c 100644
--- a/src/meshTools/cellClassification/cellInfo.H
+++ b/src/meshTools/cellClassification/cellInfo.H
@@ -26,7 +26,7 @@ Class
     Foam::cellInfo
 
 Description
-    Holds information regarding type of cell. Used in inside/outside 
+    Holds information regarding type of cell. Used in inside/outside
     determination in cellClassification.
 
 SourceFiles
@@ -58,7 +58,7 @@ class cellInfo
     // Private data
 
         label type_;
-        
+
     // Private Member Functions
 
         //- Update current cell/face type with neighbouring
diff --git a/src/meshTools/cellClassification/cellInfoI.H b/src/meshTools/cellClassification/cellInfoI.H
index 3a106e05162..c23be5139d0 100644
--- a/src/meshTools/cellClassification/cellInfoI.H
+++ b/src/meshTools/cellClassification/cellInfoI.H
@@ -87,7 +87,7 @@ inline bool Foam::cellInfo::update
 
     return false;
 }
-    
+
 
 // * * * * * * * * * * * * * * * * Constructors  * * * * * * * * * * * * * * //
 
@@ -182,7 +182,7 @@ inline bool Foam::cellInfo::updateCell
         neighbourFaceI,
         -1
     );
-}    
+}
 
 
 // Update this with neighbour information
@@ -203,7 +203,7 @@ inline bool Foam::cellInfo::updateFace
         -1,
         neighbourCellI
     );
-}    
+}
 
 // Update this with neighbour information
 inline bool Foam::cellInfo::updateFace
@@ -222,7 +222,7 @@ inline bool Foam::cellInfo::updateFace
         -1,
         -1
     );
-}    
+}
 
 
 // * * * * * * * * * * * * * * * Member Operators  * * * * * * * * * * * * * //
diff --git a/src/meshTools/cellDist/cellDistFuncs.H b/src/meshTools/cellDist/cellDistFuncs.H
index 9574ecaae0c..5ed92d926a4 100644
--- a/src/meshTools/cellDist/cellDistFuncs.H
+++ b/src/meshTools/cellDist/cellDistFuncs.H
@@ -131,7 +131,7 @@ public:
         //- Size of largest patch (out of supplied subset of patches)
         label maxPatchSize(const labelHashSet& patchIDs) const;
 
-        //- Sum of patch sizes (out of supplied subset of patches). 
+        //- Sum of patch sizes (out of supplied subset of patches).
         //  Used in sizing arrays.
         label sumPatchSize(const labelHashSet& patchIDs) const;
 
diff --git a/src/meshTools/cellDist/wallPoint/wallPointDataI.H b/src/meshTools/cellDist/wallPoint/wallPointDataI.H
index 87c29f6ddee..c7d1ad30973 100644
--- a/src/meshTools/cellDist/wallPoint/wallPointDataI.H
+++ b/src/meshTools/cellDist/wallPoint/wallPointDataI.H
@@ -53,7 +53,7 @@ inline bool wallPointData<Type>::update
         data_ = w2.data();
 
         return true;
-    }        
+    }
 
     scalar diff = distSqr() - dist2;
 
@@ -78,7 +78,7 @@ inline bool wallPointData<Type>::update
         return true;
     }
 }
-    
+
 
 // * * * * * * * * * * * * * * * * Constructors  * * * * * * * * * * * * * * //
 
@@ -140,7 +140,7 @@ inline bool wallPointData<Type>::updateCell
         neighbourWallInfo,
         tol
     );
-}    
+}
 
 
 // Update this with w2 if w2 nearer to pt.
@@ -162,7 +162,7 @@ inline bool wallPointData<Type>::updateFace
         neighbourWallInfo,
         tol
     );
-}    
+}
 
 
 // Update this with w2 if w2 nearer to pt.
@@ -183,7 +183,7 @@ inline bool wallPointData<Type>::updateFace
         neighbourWallInfo,
         tol
     );
-}    
+}
 
 
 // ************************************************************************* //
diff --git a/src/meshTools/cellDist/wallPoint/wallPointI.H b/src/meshTools/cellDist/wallPoint/wallPointI.H
index c9f76a35f2a..abc400db1ce 100644
--- a/src/meshTools/cellDist/wallPoint/wallPointI.H
+++ b/src/meshTools/cellDist/wallPoint/wallPointI.H
@@ -53,7 +53,7 @@ inline bool Foam::wallPoint::update
         origin_ = w2.origin();
 
         return true;
-    }        
+    }
 
     scalar diff = distSqr_ - dist2;
 
@@ -77,7 +77,7 @@ inline bool Foam::wallPoint::update
         return true;
     }
 }
-    
+
 
 // * * * * * * * * * * * * * * * * Constructors  * * * * * * * * * * * * * * //
 
@@ -211,14 +211,14 @@ inline bool Foam::wallPoint::updateCell
     const scalar tol
 )
 {
-    return 
+    return
         update
         (
             mesh.cellCentres()[thisCellI],
             neighbourWallInfo,
             tol
         );
-    }    
+    }
 
 
 // Update this with w2 if w2 nearer to pt.
@@ -238,7 +238,7 @@ inline bool Foam::wallPoint::updateFace
             neighbourWallInfo,
             tol
         );
-}    
+}
 
 // Update this with w2 if w2 nearer to pt.
 inline bool Foam::wallPoint::updateFace
@@ -256,7 +256,7 @@ inline bool Foam::wallPoint::updateFace
             neighbourWallInfo,
             tol
         );
-}    
+}
 
 
 // * * * * * * * * * * * * * * * Member Operators  * * * * * * * * * * * * * //
diff --git a/src/meshTools/indexedOctree/indexedOctree.C b/src/meshTools/indexedOctree/indexedOctree.C
index 4f555649996..128e6bf6002 100644
--- a/src/meshTools/indexedOctree/indexedOctree.C
+++ b/src/meshTools/indexedOctree/indexedOctree.C
@@ -705,7 +705,7 @@ Foam::treeBoundBox Foam::indexedOctree<Type>::subBbox
 
 
 // Takes a bb and a point on/close to the edge of the bb and pushes the point
-// inside by a small fraction. 
+// inside by a small fraction.
 template <class Type>
 Foam::point Foam::indexedOctree<Type>::pushPoint
 (
@@ -776,7 +776,7 @@ Foam::point Foam::indexedOctree<Type>::pushPoint
 
 
 // Takes a bb and a point on the edge of the bb and pushes the point
-// outside by a small fraction. 
+// outside by a small fraction.
 template <class Type>
 Foam::point Foam::indexedOctree<Type>::pushPoint
 (
@@ -1042,7 +1042,7 @@ Foam::point Foam::indexedOctree<Type>::pushPointIntoFace
     }
 
 
-    return facePoint;   
+    return facePoint;
 }
 
 
@@ -1150,7 +1150,7 @@ Foam::point Foam::indexedOctree<Type>::pushPointIntoFace
 //    //     |    |
 //    //     +----+
 //    // Shift point down (away from top):
-//    //     
+//    //
 //    //    a+----+
 //    // ----|    |
 //    //     |    |
@@ -1364,7 +1364,7 @@ bool Foam::indexedOctree<Type>::walkToNeighbour
     // |  a+-+-+
     // |   |\| |
     // +---+-+-+
-    //        \ 
+    //        \
     //
     // e.g. ray is at (a) in octant 0(or 4) with faceIDs : LEFTBIT+TOPBIT.
     // If we would be in octant 1(or 5) we could go to the correct octant
diff --git a/src/meshTools/meshSearch/meshSearch.C b/src/meshTools/meshSearch/meshSearch.C
index 7448c7faa3d..eb5ec14d8fc 100644
--- a/src/meshTools/meshSearch/meshSearch.C
+++ b/src/meshTools/meshSearch/meshSearch.C
@@ -103,7 +103,7 @@ Foam::label Foam::meshSearch::findNearestCellTree(const point& location) const
     const indexedOctree<treeDataPoint>& tree = cellCentreTree();
 
     scalar span = tree.bb().mag();
-    
+
     pointIndexHit info = tree.findNearest(location, Foam::sqr(span));
 
     if (!info.hit())
@@ -516,7 +516,7 @@ const Foam::indexedOctree<Foam::treeDataCell>& Foam::meshSearch::cellTree()
     }
 
     return *cellTreePtr_;
-    
+
 }
 
 
@@ -787,7 +787,7 @@ Foam::label Foam::meshSearch::findCell
                 {
                     nearCellI = mesh_.faceOwner()[curHit.index()];
                     curPoint =
-                        curHit.hitPoint() 
+                        curHit.hitPoint()
                       + offset(curHit.hitPoint(), curHit.index(), edgeVec);
                 }
             }
diff --git a/src/meshTools/meshSearch/meshSearch.H b/src/meshTools/meshSearch/meshSearch.H
index 2f338157568..c79b0d19bba 100644
--- a/src/meshTools/meshSearch/meshSearch.H
+++ b/src/meshTools/meshSearch/meshSearch.H
@@ -203,7 +203,7 @@ public:
             //- Find nearest cell in terms of cell centre.
             // - use octree
             // - use linear search
-            // - if seed is provided walk. (uses findNearestCellWalk; 
+            // - if seed is provided walk. (uses findNearestCellWalk;
             //   does not handle holes in domain)
             label findNearestCell
             (
diff --git a/src/meshTools/octree/PointIndexHit.H b/src/meshTools/octree/PointIndexHit.H
index 8af18ccc635..2ca0f3f7821 100644
--- a/src/meshTools/octree/PointIndexHit.H
+++ b/src/meshTools/octree/PointIndexHit.H
@@ -27,7 +27,7 @@ Class
 
 Description
     This class describes the interaction of (usually) a face and a point.
-    It carries the info of a successful hit and (if successful), 
+    It carries the info of a successful hit and (if successful),
     returns the interaction point.
 
     like pointHit but carries face (or cell, edge etc.) index
diff --git a/src/meshTools/octree/octreeDataCell.C b/src/meshTools/octree/octreeDataCell.C
index 2a3882f16e8..ebed78be2b3 100644
--- a/src/meshTools/octree/octreeDataCell.C
+++ b/src/meshTools/octree/octreeDataCell.C
@@ -80,7 +80,7 @@ Foam::octreeDataCell::octreeDataCell
             forAll(pointsi, pointi)
             {
                 const point& p = points[pointsi[pointi]];
-                
+
                 bbs_[celli].min() = min(bbs_[celli].min(), p);
                 bbs_[celli].max() = max(bbs_[celli].max(), p);
             }
@@ -169,7 +169,7 @@ bool Foam::octreeDataCell::findTightest
     else
     {
         // Construct bb around sample and myFar
-        const point dist2(fabs(dist.x()), fabs(dist.y()), fabs(dist.z())); 
+        const point dist2(fabs(dist.x()), fabs(dist.y()), fabs(dist.z()));
 
         tightest.min() = sample - dist2;
         tightest.max() = sample + dist2;
@@ -223,7 +223,7 @@ Foam::scalar Foam::octreeDataCell::calcNearest
     );
     return GREAT;
 }
-    
+
 
 void Foam::octreeDataCell::write
 (
diff --git a/src/meshTools/octree/octreeDataEdges.C b/src/meshTools/octree/octreeDataEdges.C
index 8a9bcb0b916..0c305b0c9c9 100644
--- a/src/meshTools/octree/octreeDataEdges.C
+++ b/src/meshTools/octree/octreeDataEdges.C
@@ -169,7 +169,7 @@ bool Foam::octreeDataEdges::findTightest
     else
     {
         // Construct bb around sample and myFar
-        const point dist2(fabs(dist.x()), fabs(dist.y()), fabs(dist.z())); 
+        const point dist2(fabs(dist.x()), fabs(dist.y()), fabs(dist.z()));
 
         tightest.min() = sample - dist2;
         tightest.max() = sample + dist2;
@@ -226,7 +226,7 @@ Foam::scalar Foam::octreeDataEdges::calcNearest
 
     return edgeLine.nearestDist(sampleLine, shapePt, sampleLinePt);
 }
-    
+
 
 void Foam::octreeDataEdges::write
 (
diff --git a/src/meshTools/octree/octreeDataPointTreeLeaf.C b/src/meshTools/octree/octreeDataPointTreeLeaf.C
index 844bf498a87..488cf8a1526 100644
--- a/src/meshTools/octree/octreeDataPointTreeLeaf.C
+++ b/src/meshTools/octree/octreeDataPointTreeLeaf.C
@@ -81,7 +81,7 @@ bool Foam::treeLeaf<Foam::octreeDataPoint>::findNearest
     if (minIndex != -1)
     {
         tightestDist = sqrt(minDist2);
-    
+
         // New nearer. Update 'tightest' bounding box
         tMin.x() = sample.x() - tightestDist;
         tMin.y() = sample.y() - tightestDist;
diff --git a/src/meshTools/searchableSurface/searchableSurfaceWithGaps.C b/src/meshTools/searchableSurface/searchableSurfaceWithGaps.C
index 5f6a39fb597..1904f6a632e 100644
--- a/src/meshTools/searchableSurface/searchableSurfaceWithGaps.C
+++ b/src/meshTools/searchableSurface/searchableSurfaceWithGaps.C
@@ -84,7 +84,7 @@ Foam::Pair<Foam::vector> Foam::searchableSurfaceWithGaps::offsetVecs
         offsets[1] *= gap_;
     }
 
-    return offsets;    
+    return offsets;
 }
 
 
diff --git a/src/meshTools/sets/cellSources/cellToCell/cellToCell.C b/src/meshTools/sets/cellSources/cellToCell/cellToCell.C
index bbbcf7785ed..ad26f57fd69 100644
--- a/src/meshTools/sets/cellSources/cellToCell/cellToCell.C
+++ b/src/meshTools/sets/cellSources/cellToCell/cellToCell.C
@@ -70,7 +70,7 @@ Foam::cellToCell::cellToCell
 Foam::cellToCell::cellToCell
 (
     const polyMesh& mesh,
-    const dictionary& dict          
+    const dictionary& dict
 )
 :
     topoSetSource(mesh),
diff --git a/src/meshTools/sets/cellSources/faceToCell/faceToCell.C b/src/meshTools/sets/cellSources/faceToCell/faceToCell.C
index 233a4cfd967..c02013158f1 100644
--- a/src/meshTools/sets/cellSources/faceToCell/faceToCell.C
+++ b/src/meshTools/sets/cellSources/faceToCell/faceToCell.C
@@ -187,7 +187,7 @@ Foam::faceToCell::faceToCell
 Foam::faceToCell::faceToCell
 (
     const polyMesh& mesh,
-    const dictionary& dict          
+    const dictionary& dict
 )
 :
     topoSetSource(mesh),
diff --git a/src/meshTools/sets/cellSources/nbrToCell/nbrToCell.C b/src/meshTools/sets/cellSources/nbrToCell/nbrToCell.C
index 208a913f5d1..f06ec508fe0 100644
--- a/src/meshTools/sets/cellSources/nbrToCell/nbrToCell.C
+++ b/src/meshTools/sets/cellSources/nbrToCell/nbrToCell.C
@@ -61,7 +61,7 @@ void Foam::nbrToCell::combine(topoSet& set, const bool add) const
     boolList isCoupled(mesh_.nFaces()-mesh_.nInternalFaces(), false);
 
     forAll(patches, patchI)
-    {   
+    {
         const polyPatch& pp = patches[patchI];
 
         if (pp.coupled())
diff --git a/src/meshTools/sets/cellSources/rotatedBoxToCell/rotatedBoxToCell.C b/src/meshTools/sets/cellSources/rotatedBoxToCell/rotatedBoxToCell.C
index 0f0421ef810..c2fbf7263c2 100644
--- a/src/meshTools/sets/cellSources/rotatedBoxToCell/rotatedBoxToCell.C
+++ b/src/meshTools/sets/cellSources/rotatedBoxToCell/rotatedBoxToCell.C
@@ -75,7 +75,7 @@ void Foam::rotatedBoxToCell::combine(topoSet& set, const bool add) const
     }
 
     const cellModel& hex = *(cellModeller::lookup("hex"));
-    
+
     // Get outwards pointing faces.
     faceList boxFaces(cellShape(hex, boxVerts).faces());
 
@@ -87,7 +87,7 @@ void Foam::rotatedBoxToCell::combine(topoSet& set, const bool add) const
 
         Pout<< "Face:" << i << " position:" << boxFaces[i].centre(boxPoints)
             << " normal:" << boxFaceNormals[i] << endl;
-    }    
+    }
 
     // Check whether cell centre is inside all faces of box.
 
diff --git a/src/meshTools/sets/cellSources/surfaceToCell/surfaceToCell.C b/src/meshTools/sets/cellSources/surfaceToCell/surfaceToCell.C
index eec8051b2fd..78aee420e65 100644
--- a/src/meshTools/sets/cellSources/surfaceToCell/surfaceToCell.C
+++ b/src/meshTools/sets/cellSources/surfaceToCell/surfaceToCell.C
@@ -107,7 +107,7 @@ bool Foam::surfaceToCell::differingPointNormals
 
     const vector& span,         // current search span
     const label cellI,
-    const label cellTriI,       // nearest (to cell centre) surface triangle 
+    const label cellTriI,       // nearest (to cell centre) surface triangle
 
     Map<label>& pointToNearest  // cache for nearest triangle to point
 ) const
@@ -394,7 +394,7 @@ Foam::surfaceToCell::surfaceToCell
 Foam::surfaceToCell::surfaceToCell
 (
     const polyMesh& mesh,
-    const dictionary& dict          
+    const dictionary& dict
 )
 :
     topoSetSource(mesh),
diff --git a/src/meshTools/sets/cellSources/surfaceToCell/surfaceToCell.H b/src/meshTools/sets/cellSources/surfaceToCell/surfaceToCell.H
index 30f3f51f980..0a963251fb1 100644
--- a/src/meshTools/sets/cellSources/surfaceToCell/surfaceToCell.H
+++ b/src/meshTools/sets/cellSources/surfaceToCell/surfaceToCell.H
@@ -131,7 +131,7 @@ class surfaceToCell
         //- Depending on surface add to or delete from cellSet.
         void combine(topoSet& set, const bool add) const;
 
-        //- Check values at construction time. 
+        //- Check values at construction time.
         void checkSettings() const;
 
         const triSurfaceSearch& querySurf() const
diff --git a/src/meshTools/sets/faceSources/cellToFace/cellToFace.C b/src/meshTools/sets/faceSources/cellToFace/cellToFace.C
index 5b868c4e8c3..2fbbd9efedd 100644
--- a/src/meshTools/sets/faceSources/cellToFace/cellToFace.C
+++ b/src/meshTools/sets/faceSources/cellToFace/cellToFace.C
@@ -74,7 +74,7 @@ void Foam::cellToFace::combine(topoSet& set, const bool add) const
         SeriousError<< "Cannot load set "
             << setName_ << endl;
     }
-    
+
     cellSet loadedSet(mesh_, setName_);
 
     if (option_ == ALL)
@@ -179,7 +179,7 @@ Foam::cellToFace::cellToFace
 Foam::cellToFace::cellToFace
 (
     const polyMesh& mesh,
-    const dictionary& dict          
+    const dictionary& dict
 )
 :
     topoSetSource(mesh),
diff --git a/src/meshTools/sets/pointSources/cellToPoint/cellToPoint.C b/src/meshTools/sets/pointSources/cellToPoint/cellToPoint.C
index e96f1094564..b997b3ca3d8 100644
--- a/src/meshTools/sets/pointSources/cellToPoint/cellToPoint.C
+++ b/src/meshTools/sets/pointSources/cellToPoint/cellToPoint.C
@@ -126,7 +126,7 @@ Foam::cellToPoint::cellToPoint
 Foam::cellToPoint::cellToPoint
 (
     const polyMesh& mesh,
-    Istream& is        
+    Istream& is
 )
 :
     topoSetSource(mesh),
diff --git a/src/meshTools/sets/pointSources/faceToPoint/faceToPoint.C b/src/meshTools/sets/pointSources/faceToPoint/faceToPoint.C
index 242d3bd5669..26c922a309a 100644
--- a/src/meshTools/sets/pointSources/faceToPoint/faceToPoint.C
+++ b/src/meshTools/sets/pointSources/faceToPoint/faceToPoint.C
@@ -106,7 +106,7 @@ Foam::faceToPoint::faceToPoint
 Foam::faceToPoint::faceToPoint
 (
     const polyMesh& mesh,
-    const dictionary& dict          
+    const dictionary& dict
 )
 :
     topoSetSource(mesh),
diff --git a/src/meshTools/sets/pointSources/surfaceToPoint/surfaceToPoint.C b/src/meshTools/sets/pointSources/surfaceToPoint/surfaceToPoint.C
index 8bb787f3afd..699d2925a7f 100644
--- a/src/meshTools/sets/pointSources/surfaceToPoint/surfaceToPoint.C
+++ b/src/meshTools/sets/pointSources/surfaceToPoint/surfaceToPoint.C
@@ -83,7 +83,7 @@ void Foam::surfaceToPoint::combine(topoSet& set, const bool add) const
             if ((isInside && includeInside_) || (!isInside && includeOutside_))
             {
                 addOrDelete(set, pointI, add);
-            }   
+            }
         }
     }
 
@@ -149,7 +149,7 @@ Foam::surfaceToPoint::surfaceToPoint
 Foam::surfaceToPoint::surfaceToPoint
 (
     const polyMesh& mesh,
-    const dictionary& dict          
+    const dictionary& dict
 )
 :
     topoSetSource(mesh),
diff --git a/src/meshTools/sets/topoSets/cellSet.H b/src/meshTools/sets/topoSets/cellSet.H
index b931ac22f14..607813ab9cf 100644
--- a/src/meshTools/sets/topoSets/cellSet.H
+++ b/src/meshTools/sets/topoSets/cellSet.H
@@ -154,7 +154,7 @@ public:
         //- Update any stored data for new labels
         virtual void updateMesh(const mapPolyMesh& morphMap);
 
-        //- Write maxLen items with label and coordinates. 
+        //- Write maxLen items with label and coordinates.
         virtual void writeDebug
         (
             Ostream& os,
diff --git a/src/meshTools/sets/topoSets/cellZoneSet.H b/src/meshTools/sets/topoSets/cellZoneSet.H
index 7ddb48d1146..1aff8df8120 100644
--- a/src/meshTools/sets/topoSets/cellZoneSet.H
+++ b/src/meshTools/sets/topoSets/cellZoneSet.H
@@ -131,7 +131,7 @@ public:
         //- Sync cellZoneSet across coupled patches.
         virtual void sync(const polyMesh& mesh);
 
-        //- Write maxLen items with label and coordinates. 
+        //- Write maxLen items with label and coordinates.
         virtual void writeDebug
         (
             Ostream& os,
diff --git a/src/meshTools/sets/topoSets/faceSet.C b/src/meshTools/sets/topoSets/faceSet.C
index c5bd7929731..9e9e5b30e9d 100644
--- a/src/meshTools/sets/topoSets/faceSet.C
+++ b/src/meshTools/sets/topoSets/faceSet.C
@@ -153,7 +153,7 @@ void faceSet::sync(const polyMesh& mesh)
             }
         }
 
-        // Receive 
+        // Receive
         forAll(patches, patchI)
         {
             const polyPatch& pp = patches[patchI];
diff --git a/src/meshTools/sets/topoSets/faceSet.H b/src/meshTools/sets/topoSets/faceSet.H
index 11e7387b972..aa7b81da35b 100644
--- a/src/meshTools/sets/topoSets/faceSet.H
+++ b/src/meshTools/sets/topoSets/faceSet.H
@@ -118,7 +118,7 @@ public:
         //- Update any stored data for new labels
         virtual void updateMesh(const mapPolyMesh& morphMap);
 
-        //- Write maxLen items with label and coordinates. 
+        //- Write maxLen items with label and coordinates.
         virtual void writeDebug
         (
             Ostream& os,
diff --git a/src/meshTools/sets/topoSets/faceZoneSet.H b/src/meshTools/sets/topoSets/faceZoneSet.H
index 335bd9edead..fd800a44aa2 100644
--- a/src/meshTools/sets/topoSets/faceZoneSet.H
+++ b/src/meshTools/sets/topoSets/faceZoneSet.H
@@ -148,7 +148,7 @@ public:
         //- Sync faceZoneSet across coupled patches.
         virtual void sync(const polyMesh& mesh);
 
-        //- Write maxLen items with label and coordinates. 
+        //- Write maxLen items with label and coordinates.
         virtual void writeDebug
         (
             Ostream& os,
diff --git a/src/meshTools/sets/topoSets/pointSet.H b/src/meshTools/sets/topoSets/pointSet.H
index 05f4ef6e36b..2d6bec98fdc 100644
--- a/src/meshTools/sets/topoSets/pointSet.H
+++ b/src/meshTools/sets/topoSets/pointSet.H
@@ -121,7 +121,7 @@ public:
         //- Update any stored data for new labels
         //virtual void updateMesh(const polyTopoChange& meshMod);
 
-        //- Write maxLen items with label and coordinates. 
+        //- Write maxLen items with label and coordinates.
         virtual void writeDebug
         (
             Ostream& os,
diff --git a/src/meshTools/sets/topoSets/pointZoneSet.H b/src/meshTools/sets/topoSets/pointZoneSet.H
index 7f93886e0bc..8bd43c33390 100644
--- a/src/meshTools/sets/topoSets/pointZoneSet.H
+++ b/src/meshTools/sets/topoSets/pointZoneSet.H
@@ -134,7 +134,7 @@ public:
         //- Sync pointZoneSet across coupled patches.
         virtual void sync(const polyMesh& mesh);
 
-        //- Write maxLen items with label and coordinates. 
+        //- Write maxLen items with label and coordinates.
         virtual void writeDebug
         (
             Ostream& os,
diff --git a/src/meshTools/sets/topoSets/topoSet.C b/src/meshTools/sets/topoSets/topoSet.C
index 28bc14f469f..aa95197146a 100644
--- a/src/meshTools/sets/topoSets/topoSet.C
+++ b/src/meshTools/sets/topoSets/topoSet.C
@@ -236,7 +236,7 @@ void topoSet::writeDebug
     topoSet::const_iterator& iter,
     label& elemI
 ) const
-{    
+{
     label n = 0;
 
     for (; (iter != end()) && (n < maxElem); ++iter)
@@ -262,7 +262,7 @@ void topoSet::writeDebug
     topoSet::const_iterator& iter,
     label& elemI
 ) const
-{    
+{
     label n = 0;
 
     for (; (iter != end()) && (n < maxElem); ++iter)
@@ -329,7 +329,7 @@ topoSet::topoSet(const IOobject& obj, const word& wantedType)
 :
     regIOobject(obj)
 {
-    if 
+    if
     (
         readOpt() == IOobject::MUST_READ
      || (
@@ -370,7 +370,7 @@ topoSet::topoSet
         )
     )
 {
-    if 
+    if
     (
         readOpt() == IOobject::MUST_READ
      || (
@@ -475,7 +475,7 @@ void topoSet::invert(const label maxLen)
             insert(cellI);
         }
     }
-    
+
 }
 
 
diff --git a/src/meshTools/surfaceSets/surfaceSets.C b/src/meshTools/surfaceSets/surfaceSets.C
index 93a8cb1ce5d..3e77d075fca 100644
--- a/src/meshTools/surfaceSets/surfaceSets.C
+++ b/src/meshTools/surfaceSets/surfaceSets.C
@@ -65,7 +65,7 @@ License
 //}
 //
 //
-//// Returns true if cell uses at least one selected point 
+//// Returns true if cell uses at least one selected point
 //bool Foam::surfaceSets::usesPoint
 //(
 //    const primitiveMesh& mesh,
@@ -147,7 +147,7 @@ License
 //                    newPoints[pointI] = tnearest()[0];
 //                }
 //            }
-//        }               
+//        }
 //    }
 //
 //
@@ -161,7 +161,7 @@ License
 //    )
 //    {
 //        label cellI = iter.key();
-//    
+//
 //        const cell& cll = cells[cellI];
 //
 //        scalar newVol = cll.mag(newPoints, faces);
@@ -284,7 +284,7 @@ void Foam::surfaceSets::getSurfaceSets
         cellType.trimCutCells
         (
             nCutLayers,
-            cellClassification::OUTSIDE, 
+            cellClassification::OUTSIDE,
             cellClassification::INSIDE
         );
     }
@@ -503,7 +503,7 @@ Foam::labelHashSet Foam::surfaceSets::getHangingCells
 //        mesh,
 //        surfName,
 //        surf,
-//        querySurf, 
+//        querySurf,
 //        outsidePts,
 //        false,          // includeCut
 //        false,          // includeInside
@@ -626,7 +626,7 @@ Foam::labelHashSet Foam::surfaceSets::getHangingCells
 //            << endl;
 //    }
 //    while (nRemoved != 0);
-//    
+//
 //
 //    //
 //    // Write
@@ -642,7 +642,7 @@ Foam::labelHashSet Foam::surfaceSets::getHangingCells
 //    Pout<< "Writing outside cells (" << outside.size() << ") to cellSet "
 //        << outside.instance()/outside.local()/outside.name()
 //        << endl << endl;
-//    
+//
 //    outside.write();
 //}
 
diff --git a/src/meshTools/surfaceSets/surfaceSets.H b/src/meshTools/surfaceSets/surfaceSets.H
index 38072d1a489..90d1d21a74b 100644
--- a/src/meshTools/surfaceSets/surfaceSets.H
+++ b/src/meshTools/surfaceSets/surfaceSets.H
@@ -79,7 +79,7 @@ class surfaceSets
         ////- Min length of connected mesh edges
         //static scalar minEdgeLen(const primitiveMesh& mesh, const label pointI);
         //
-        ////- Returns true if cell uses at least one selected point 
+        ////- Returns true if cell uses at least one selected point
         //static bool usesPoint
         //(
         //    const primitiveMesh& mesh,
@@ -93,7 +93,7 @@ class surfaceSets
         ////  removed cells.
         //static label removeHangingCells
         //(
-        //    const primitiveMesh&, 
+        //    const primitiveMesh&,
         //    const triSurfaceSearch& querySurf,
         //    labelHashSet& internalCells
         //);
diff --git a/src/meshTools/triSurface/booleanOps/intersectedSurface/intersectedSurface.H b/src/meshTools/triSurface/booleanOps/intersectedSurface/intersectedSurface.H
index 11b889677f6..02ea8ef9dd6 100644
--- a/src/meshTools/triSurface/booleanOps/intersectedSurface/intersectedSurface.H
+++ b/src/meshTools/triSurface/booleanOps/intersectedSurface/intersectedSurface.H
@@ -36,7 +36,7 @@ Description
     - split the edges of the surface
     - construct a new edgeList with (in this order) the edges from the
       intersection ('cuts', i.e. the edges shared with the other surface)
-      and the (split) edges from the original triangles (from 0 .. 
+      and the (split) edges from the original triangles (from 0 ..
       nSurfaceEdges)
     - construct face-edge addressing for above edges
     - for each face do a right-handed walk to reconstruct faces (splitFace)
diff --git a/src/meshTools/triSurface/octreeData/octreeDataTriSurface.H b/src/meshTools/triSurface/octreeData/octreeDataTriSurface.H
index 4f11069bca7..9307d53d881 100644
--- a/src/meshTools/triSurface/octreeData/octreeDataTriSurface.H
+++ b/src/meshTools/triSurface/octreeData/octreeDataTriSurface.H
@@ -181,7 +181,7 @@ public:
                 treeBoundBox& tightest
             ) const;
 
-            //- Given index get unit normal and calculate (numerical) sign 
+            //- Given index get unit normal and calculate (numerical) sign
             //  of sample.
             //  Used to determine accuracy of calcNearest or inside/outside.
             scalar calcSign
diff --git a/src/meshTools/triSurface/surfaceLocation/surfaceLocation.H b/src/meshTools/triSurface/surfaceLocation/surfaceLocation.H
index 9994744a190..9f413d66b6f 100644
--- a/src/meshTools/triSurface/surfaceLocation/surfaceLocation.H
+++ b/src/meshTools/triSurface/surfaceLocation/surfaceLocation.H
@@ -85,7 +85,7 @@ public:
 
         //- Construct from components
         surfaceLocation
-        (   
+        (
             const pointIndexHit& pih,
             const triPointRef::proxType elementType,
             const label triangle
@@ -111,7 +111,7 @@ public:
         {
             return elementType_;
         }
-        
+
         triPointRef::proxType elementType() const
         {
             return elementType_;
@@ -121,7 +121,7 @@ public:
         {
             return triangle_;
         }
-        
+
         label triangle() const
         {
             return triangle_;
@@ -150,7 +150,7 @@ public:
         friend Ostream& operator<<
         (
             Ostream&,
-            const InfoProxy<surfaceLocation>& 
+            const InfoProxy<surfaceLocation>&
         );
 };
 
diff --git a/src/meshTools/triSurface/triSurfaceTools/geompack/geompack.H b/src/meshTools/triSurface/triSurfaceTools/geompack/geompack.H
index c00a63bc5b3..ded4ad1a78c 100644
--- a/src/meshTools/triSurface/triSurfaceTools/geompack/geompack.H
+++ b/src/meshTools/triSurface/triSurfaceTools/geompack/geompack.H
@@ -5,13 +5,13 @@ void d2vec_part_quick_a ( int n, double a[], int *l, int *r );
 void d2vec_permute ( int n, double a[], int p[] );
 int *d2vec_sort_heap_index_a ( int n, double a[] );
 void d2vec_sort_quick_a ( int n, double a[] );
-int diaedg ( double x0, double y0, double x1, double y1, double x2, double y2, 
+int diaedg ( double x0, double y0, double x1, double y1, double x2, double y2,
   double x3, double y3 );
 void dmat_transpose_print ( int m, int n, double a[], const char *title );
-void dmat_transpose_print_some ( int m, int n, double a[], int ilo, int jlo, 
+void dmat_transpose_print_some ( int m, int n, double a[], int ilo, int jlo,
   int ihi, int jhi, const char *title );
 void dmat_uniform ( int m, int n, double b, double c, int *seed, double r[] );
-int dtris2 ( int point_num, double point_xy[], int *tri_num, 
+int dtris2 ( int point_num, double point_xy[], int *tri_num,
   int tri_vert[], int tri_nabe[] );
 bool dvec_eq ( int n, double a1[], double a2[] );
 bool dvec_gt ( int n, double a1[], double a2[] );
@@ -24,28 +24,28 @@ int i_modp ( int i, int j );
 int i_sign ( int i );
 int i_wrap ( int ival, int ilo, int ihi );
 void imat_transpose_print ( int m, int n, int a[], const char *title );
-void imat_transpose_print_some ( int m, int n, int a[], int ilo, int jlo, 
+void imat_transpose_print_some ( int m, int n, int a[], int ilo, int jlo,
   int ihi, int jhi, const char *title );
 void ivec_heap_d ( int n, int a[] );
 int *ivec_indicator ( int n );
 void ivec_sort_heap_a ( int n, int a[] );
 void ivec_sorted_unique ( int n, int a[], int *nuniq );
-int lrline ( double xu, double yu, double xv1, double yv1, double xv2, double yv2, 
+int lrline ( double xu, double yu, double xv1, double yv1, double xv2, double yv2,
   double dv );
 bool perm_check ( int n, int p[] );
 void perm_inv ( int n, int p[] );
 int *points_delaunay_naive_2d ( int n, double p[], int *ntri );
 int s_len_trim ( const char *s );
-int swapec ( int i, int *top, int *btri, int *bedg, int point_num, 
-  double point_xy[], int tri_num, int tri_vert[], int tri_nabe[], 
+int swapec ( int i, int *top, int *btri, int *bedg, int point_num,
+  double point_xy[], int tri_num, int tri_vert[], int tri_nabe[],
   int stack[] );
 void timestamp ( void );
 char *timestring ( void );
 double *triangle_circumcenter_2d ( double t[] );
-bool triangulation_plot_eps ( const char *file_out_name, int g_num, double g_xy[], 
+bool triangulation_plot_eps ( const char *file_out_name, int g_num, double g_xy[],
   int tri_num, int nod_tri[] );
-void triangulation_print ( int point_num, double xc[], int tri_num, 
+void triangulation_print ( int point_num, double xc[], int tri_num,
   int tri_vert[], int tri_nabe[] );
-void vbedg ( double x, double y, int point_num, double point_xy[], int tri_num, 
+void vbedg ( double x, double y, int point_num, double point_xy[], int tri_num,
   int tri_vert[], int tri_nabe[], int *ltri, int *ledg, int *rtri, int *redg );
 
diff --git a/src/meshTools/triSurface/triangleFuncs/triangleFuncs.C b/src/meshTools/triSurface/triangleFuncs/triangleFuncs.C
index e3f4983ffe6..ee63e17a45b 100644
--- a/src/meshTools/triSurface/triangleFuncs/triangleFuncs.C
+++ b/src/meshTools/triSurface/triangleFuncs/triangleFuncs.C
@@ -297,7 +297,7 @@ bool Foam::triangleFuncs::intersectBb
 //            return true;
 //        }
 //        if (tri.intersectionExact(cube3, cube0).hit())
-//        {   
+//        {
 //            return true;
 //        }
 //
diff --git a/src/meshTools/twoDPointCorrector/twoDPointCorrector.H b/src/meshTools/twoDPointCorrector/twoDPointCorrector.H
index ec5409f180d..355cef5f63c 100644
--- a/src/meshTools/twoDPointCorrector/twoDPointCorrector.H
+++ b/src/meshTools/twoDPointCorrector/twoDPointCorrector.H
@@ -27,7 +27,7 @@ Class
 
 Description
     Class applies a two-dimensional correction to mesh motion point field.
- 
+
     The correction guarantees that the mesh does not get twisted during motion
     and thus introduce a third dimension into a 2-D problem.
 
diff --git a/src/parallel/decompositionMethods/geomDecomp/geomDecomp.H b/src/parallel/decompositionMethods/geomDecomp/geomDecomp.H
index df4e88ee2c0..82765cdc571 100644
--- a/src/parallel/decompositionMethods/geomDecomp/geomDecomp.H
+++ b/src/parallel/decompositionMethods/geomDecomp/geomDecomp.H
@@ -65,7 +65,7 @@ public:
 
     // Constructors
 
-        //- Construct given the decomposition dictionary 
+        //- Construct given the decomposition dictionary
         //  and the derived type name
         geomDecomp
         (
diff --git a/src/parallel/decompositionMethods/manualDecomp/manualDecomp.C b/src/parallel/decompositionMethods/manualDecomp/manualDecomp.C
index b852e1cf8d0..8774fb3b7f9 100644
--- a/src/parallel/decompositionMethods/manualDecomp/manualDecomp.C
+++ b/src/parallel/decompositionMethods/manualDecomp/manualDecomp.C
@@ -66,7 +66,7 @@ Foam::manualDecomp::manualDecomp(const dictionary& decompositionDict)
 
 Foam::manualDecomp::manualDecomp
 (
-    const dictionary& decompositionDict, 
+    const dictionary& decompositionDict,
     const polyMesh& mesh
 )
 :
diff --git a/src/parallel/decompositionMethods/simpleGeomDecomp/simpleGeomDecomp.C b/src/parallel/decompositionMethods/simpleGeomDecomp/simpleGeomDecomp.C
index 50d5842fb8a..cd6395475dc 100644
--- a/src/parallel/decompositionMethods/simpleGeomDecomp/simpleGeomDecomp.C
+++ b/src/parallel/decompositionMethods/simpleGeomDecomp/simpleGeomDecomp.C
@@ -252,14 +252,14 @@ Foam::labelList Foam::simpleGeomDecomp::decompose
         pointIndices,
         UList<scalar>::less(rotatedPoints.component(vector::X))
     );
-    
+
     const scalar summedWeights = sum(weights);
     assignToProcessorGroup
     (
-        processorGroups, 
-        n_.x(), 
-        pointIndices, 
-        weights, 
+        processorGroups,
+        n_.x(),
+        pointIndices,
+        weights,
         summedWeights
     );
 
@@ -280,9 +280,9 @@ Foam::labelList Foam::simpleGeomDecomp::decompose
     assignToProcessorGroup
     (
         processorGroups,
-        n_.y(), 
-        pointIndices, 
-        weights, 
+        n_.y(),
+        pointIndices,
+        weights,
         summedWeights
     );
 
@@ -302,10 +302,10 @@ Foam::labelList Foam::simpleGeomDecomp::decompose
 
     assignToProcessorGroup
     (
-        processorGroups, 
-        n_.z(), 
-        pointIndices, 
-        weights, 
+        processorGroups,
+        n_.z(),
+        pointIndices,
+        weights,
         summedWeights
     );
 
@@ -315,5 +315,5 @@ Foam::labelList Foam::simpleGeomDecomp::decompose
     }
 
     return finalDecomp;
-} 
+}
 // ************************************************************************* //
diff --git a/src/parallel/decompositionMethods/simpleGeomDecomp/simpleGeomDecomp.H b/src/parallel/decompositionMethods/simpleGeomDecomp/simpleGeomDecomp.H
index 595db50c2ce..6ef4a0030a6 100644
--- a/src/parallel/decompositionMethods/simpleGeomDecomp/simpleGeomDecomp.H
+++ b/src/parallel/decompositionMethods/simpleGeomDecomp/simpleGeomDecomp.H
@@ -54,7 +54,7 @@ class simpleGeomDecomp
 
         void assignToProcessorGroup
         (
-            labelList& processorGroup, 
+            labelList& processorGroup,
             const label nProcGroup,
             const labelList& indices,
             const scalarField& weights,
diff --git a/src/parallel/reconstruct/pointFieldReconstructor.C b/src/parallel/reconstruct/pointFieldReconstructor.C
index e09003e31f1..4c4a2647fbd 100644
--- a/src/parallel/reconstruct/pointFieldReconstructor.C
+++ b/src/parallel/reconstruct/pointFieldReconstructor.C
@@ -68,7 +68,7 @@ Foam::pointFieldReconstructor::pointFieldReconstructor
                 {
                     pointMap[patchPointLabels[pointi]] = pointi;
                 }
-            
+
                 const labelList& procPatchPoints =
                     procMesh.boundary()[patchi].meshPoints();
 
diff --git a/src/thermophysicalModels/basic/derivedFvPatchFields/fixedInternalEnergy/fixedInternalEnergyFvPatchScalarField.C b/src/thermophysicalModels/basic/derivedFvPatchFields/fixedInternalEnergy/fixedInternalEnergyFvPatchScalarField.C
index 0542c648c40..7e5f97ecffa 100644
--- a/src/thermophysicalModels/basic/derivedFvPatchFields/fixedInternalEnergy/fixedInternalEnergyFvPatchScalarField.C
+++ b/src/thermophysicalModels/basic/derivedFvPatchFields/fixedInternalEnergy/fixedInternalEnergyFvPatchScalarField.C
@@ -102,10 +102,10 @@ void fixedInternalEnergyFvPatchScalarField::updateCoeffs()
     (
         "thermophysicalProperties"
     );
-    
+
     const label patchi = patch().index();
 
-    fvPatchScalarField& Tw = 
+    fvPatchScalarField& Tw =
         const_cast<fvPatchScalarField&>(thermo.T().boundaryField()[patchi]);
     Tw.evaluate();
     operator==(thermo.e(Tw, patchi));
diff --git a/src/thermophysicalModels/basic/derivedFvPatchFields/gradientEnthalpy/gradientEnthalpyFvPatchScalarField.C b/src/thermophysicalModels/basic/derivedFvPatchFields/gradientEnthalpy/gradientEnthalpyFvPatchScalarField.C
index 429739d3d0f..ed3a4a6ca34 100644
--- a/src/thermophysicalModels/basic/derivedFvPatchFields/gradientEnthalpy/gradientEnthalpyFvPatchScalarField.C
+++ b/src/thermophysicalModels/basic/derivedFvPatchFields/gradientEnthalpy/gradientEnthalpyFvPatchScalarField.C
@@ -102,10 +102,10 @@ void gradientEnthalpyFvPatchScalarField::updateCoeffs()
     (
         "thermophysicalProperties"
     );
-    
+
     const label patchi = patch().index();
 
-    fvPatchScalarField& Tw = 
+    fvPatchScalarField& Tw =
         const_cast<fvPatchScalarField&>(thermo.T().boundaryField()[patchi]);
 
     Tw.evaluate();
diff --git a/src/thermophysicalModels/basic/derivedFvPatchFields/mixedEnthalpy/mixedEnthalpyFvPatchScalarField.C b/src/thermophysicalModels/basic/derivedFvPatchFields/mixedEnthalpy/mixedEnthalpyFvPatchScalarField.C
index a91e47b1c6a..3d64c9a0d22 100644
--- a/src/thermophysicalModels/basic/derivedFvPatchFields/mixedEnthalpy/mixedEnthalpyFvPatchScalarField.C
+++ b/src/thermophysicalModels/basic/derivedFvPatchFields/mixedEnthalpy/mixedEnthalpyFvPatchScalarField.C
@@ -106,7 +106,7 @@ void mixedEnthalpyFvPatchScalarField::updateCoeffs()
     (
         "thermophysicalProperties"
     );
-    
+
     const label patchi = patch().index();
 
     mixedFvPatchScalarField& Tw = refCast<mixedFvPatchScalarField>
diff --git a/src/thermophysicalModels/laminarFlameSpeed/GuldersEGR/GuldersEGR.C b/src/thermophysicalModels/laminarFlameSpeed/GuldersEGR/GuldersEGR.C
index 6a724771445..f8b4c68c44b 100644
--- a/src/thermophysicalModels/laminarFlameSpeed/GuldersEGR/GuldersEGR.C
+++ b/src/thermophysicalModels/laminarFlameSpeed/GuldersEGR/GuldersEGR.C
@@ -209,7 +209,7 @@ Foam::laminarFlameSpeedModels::GuldersEGR::Su0pTphi
 Foam::tmp<Foam::volScalarField>
 Foam::laminarFlameSpeedModels::GuldersEGR::operator()() const
 {
-    if 
+    if
     (
         hhuCombustionThermo_.composition().contains("ft")
      && hhuCombustionThermo_.composition().contains("egr")
diff --git a/src/thermophysicalModels/reactionThermo/derivedFvPatchFields/fixedUnburntEnthalpy/fixedUnburntEnthalpyFvPatchScalarField.C b/src/thermophysicalModels/reactionThermo/derivedFvPatchFields/fixedUnburntEnthalpy/fixedUnburntEnthalpyFvPatchScalarField.C
index f26fc14ef9f..9d67d55e0f6 100644
--- a/src/thermophysicalModels/reactionThermo/derivedFvPatchFields/fixedUnburntEnthalpy/fixedUnburntEnthalpyFvPatchScalarField.C
+++ b/src/thermophysicalModels/reactionThermo/derivedFvPatchFields/fixedUnburntEnthalpy/fixedUnburntEnthalpyFvPatchScalarField.C
@@ -102,10 +102,10 @@ void fixedUnburntEnthalpyFvPatchScalarField::updateCoeffs()
     (
         "thermophysicalProperties"
     );
-    
+
     const label patchi = patch().index();
 
-    fvPatchScalarField& Tw = 
+    fvPatchScalarField& Tw =
         const_cast<fvPatchScalarField&>(thermo.Tu().boundaryField()[patchi]);
     Tw.evaluate();
     operator==(thermo.hu(Tw, patchi));
diff --git a/src/thermophysicalModels/reactionThermo/derivedFvPatchFields/gradientUnburntEnthalpy/gradientUnburntEnthalpyFvPatchScalarField.C b/src/thermophysicalModels/reactionThermo/derivedFvPatchFields/gradientUnburntEnthalpy/gradientUnburntEnthalpyFvPatchScalarField.C
index 5f5a5402df8..c3c854cb8eb 100644
--- a/src/thermophysicalModels/reactionThermo/derivedFvPatchFields/gradientUnburntEnthalpy/gradientUnburntEnthalpyFvPatchScalarField.C
+++ b/src/thermophysicalModels/reactionThermo/derivedFvPatchFields/gradientUnburntEnthalpy/gradientUnburntEnthalpyFvPatchScalarField.C
@@ -107,10 +107,10 @@ void gradientUnburntEnthalpyFvPatchScalarField::updateCoeffs()
     (
         "thermophysicalProperties"
     );
-    
+
     const label patchi = patch().index();
 
-    fvPatchScalarField& Tw = 
+    fvPatchScalarField& Tw =
         const_cast<fvPatchScalarField&>(thermo.Tu().boundaryField()[patchi]);
 
     Tw.evaluate();
diff --git a/src/thermophysicalModels/reactionThermo/derivedFvPatchFields/mixedUnburntEnthalpy/mixedUnburntEnthalpyFvPatchScalarField.C b/src/thermophysicalModels/reactionThermo/derivedFvPatchFields/mixedUnburntEnthalpy/mixedUnburntEnthalpyFvPatchScalarField.C
index fd959aa2c9e..51252383470 100644
--- a/src/thermophysicalModels/reactionThermo/derivedFvPatchFields/mixedUnburntEnthalpy/mixedUnburntEnthalpyFvPatchScalarField.C
+++ b/src/thermophysicalModels/reactionThermo/derivedFvPatchFields/mixedUnburntEnthalpy/mixedUnburntEnthalpyFvPatchScalarField.C
@@ -106,7 +106,7 @@ void mixedUnburntEnthalpyFvPatchScalarField::updateCoeffs()
     (
         "thermophysicalProperties"
     );
-    
+
     const label patchi = patch().index();
 
     mixedFvPatchScalarField& Tw = refCast<mixedFvPatchScalarField>
diff --git a/src/thermophysicalModels/specie/atomicWeights/atomicWeights.C b/src/thermophysicalModels/specie/atomicWeights/atomicWeights.C
index f42845db4f2..91962827dd3 100644
--- a/src/thermophysicalModels/specie/atomicWeights/atomicWeights.C
+++ b/src/thermophysicalModels/specie/atomicWeights/atomicWeights.C
@@ -29,7 +29,7 @@ License
 // * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
 
 const Foam::atomicWeightTable::atomicWeight
-Foam::atomicWeightTable::atomicWeights[atomicWeightTable::nElements] = 
+Foam::atomicWeightTable::atomicWeights[atomicWeightTable::nElements] =
 {
     {"E",    0},
     {"H",    1.00797},
diff --git a/src/thermophysicalModels/specie/reaction/reactionRate/thirdBodyArrheniusReactionRate/thirdBodyArrheniusReactionRateI.H b/src/thermophysicalModels/specie/reaction/reactionRate/thirdBodyArrheniusReactionRate/thirdBodyArrheniusReactionRateI.H
index 5674ea2e446..48232fcb985 100644
--- a/src/thermophysicalModels/specie/reaction/reactionRate/thirdBodyArrheniusReactionRate/thirdBodyArrheniusReactionRateI.H
+++ b/src/thermophysicalModels/specie/reaction/reactionRate/thirdBodyArrheniusReactionRate/thirdBodyArrheniusReactionRateI.H
@@ -54,7 +54,7 @@ inline thirdBodyArrheniusReactionRate::thirdBodyArrheniusReactionRate
 :
     ArrheniusReactionRate
     (
-        species, 
+        species,
         is.readBegin("thirdBodyArrheniusReactionRate(Istream&)")
     ),
     thirdBodyEfficiencies_(species, is)
@@ -72,7 +72,7 @@ inline scalar thirdBodyArrheniusReactionRate::operator()
     const scalarField& c
 ) const
 {
-    return 
+    return
         thirdBodyEfficiencies_.M(c)
        *ArrheniusReactionRate::operator()(T, p, c);
 }
diff --git a/src/transportModels/interfaceProperties/interfaceCompression/interfaceCompression.H b/src/transportModels/interfaceProperties/interfaceCompression/interfaceCompression.H
index 1f6f45dfc01..b8dfb9e55fa 100644
--- a/src/transportModels/interfaceProperties/interfaceCompression/interfaceCompression.H
+++ b/src/transportModels/interfaceProperties/interfaceCompression/interfaceCompression.H
@@ -70,7 +70,7 @@ public:
         //return min(max(4*min(phiP*(1 - phiP), phiN*(1 - phiN)), 0), 1);
 
         // Quartic compression scheme
-        return 
+        return
             min(max(
             1 - max(sqr(1 - 4*phiP*(1 - phiP)), sqr(1 - 4*phiN*(1 - phiN))),
             0), 1);
diff --git a/src/triSurface/meshTriangulation/meshTriangulation.C b/src/triSurface/meshTriangulation/meshTriangulation.C
index 49066b804d6..e4b9aa31675 100644
--- a/src/triSurface/meshTriangulation/meshTriangulation.C
+++ b/src/triSurface/meshTriangulation/meshTriangulation.C
@@ -68,14 +68,14 @@ void Foam::meshTriangulation::getFaces
     label& nFaces,
     label& nInternalFaces
 )
-{    
-    // All faces to be triangulated.     
+{
+    // All faces to be triangulated.
     faceIsCut.setSize(mesh.nFaces());
     faceIsCut = false;
 
     nFaces = 0;
     nInternalFaces = 0;
-    
+
     forAll(includedCell, cellI)
     {
         // Include faces of cut cells only.
@@ -176,7 +176,7 @@ Foam::meshTriangulation::meshTriangulation
     const pointField& points = mesh.points();
     const polyBoundaryMesh& patches = mesh.boundaryMesh();
 
-    // All faces to be triangulated.     
+    // All faces to be triangulated.
     boolList faceIsCut;
     label nFaces, nInternalFaces;
 
diff --git a/src/triSurface/meshTriangulation/meshTriangulation.H b/src/triSurface/meshTriangulation/meshTriangulation.H
index 4f4257eed90..ebc63767027 100644
--- a/src/triSurface/meshTriangulation/meshTriangulation.H
+++ b/src/triSurface/meshTriangulation/meshTriangulation.H
@@ -113,7 +113,7 @@ public:
 
         //- Construct from selected mesh cell and region number to be used
         //  for triangles resulting from internal faces. (all boundary triangles
-        //  get polyMesh patch id). 
+        //  get polyMesh patch id).
         //  faceCentreDecomposition = true  : decomposition around face centre
         //                            false : decomposition using
         //                                    existing vertices
diff --git a/src/triSurface/triSurface/interfaces/AC3D/readAC.C b/src/triSurface/triSurface/interfaces/AC3D/readAC.C
index 609c058351e..b54d05767b8 100644
--- a/src/triSurface/triSurface/interfaces/AC3D/readAC.C
+++ b/src/triSurface/triSurface/interfaces/AC3D/readAC.C
@@ -94,7 +94,7 @@ static bool readUpto
 
         if (space != string::npos && line.substr(0, space) == cmd)
         {
-            args = line.substr(space+1);            
+            args = line.substr(space+1);
             return true;
         }
     }
@@ -283,7 +283,7 @@ bool triSurface::readAC(const fileName& ACfileName)
 
                     faces.append
                     (
-                        labelledTri 
+                        labelledTri
                         (
                             v0 + patchStartVert,
                             v1 + patchStartVert,
diff --git a/src/triSurface/triSurface/interfaces/TRI/readTRI.C b/src/triSurface/triSurface/interfaces/TRI/readTRI.C
index d0dc0b3c314..1a87481b0aa 100644
--- a/src/triSurface/triSurface/interfaces/TRI/readTRI.C
+++ b/src/triSurface/triSurface/interfaces/TRI/readTRI.C
@@ -28,7 +28,7 @@ Description
     Is converted into regions: regions numbered from 0 up, each colour is
     region.
     Most of reading/stitching taken from STL reader.
-    
+
 \*---------------------------------------------------------------------------*/
 
 #include "triSurface.H"
diff --git a/src/triSurface/triSurface/surfacePatch/surfacePatchIOList.C b/src/triSurface/triSurface/surfacePatch/surfacePatchIOList.C
index d7389299387..76e7d856544 100644
--- a/src/triSurface/triSurface/surfacePatch/surfacePatchIOList.C
+++ b/src/triSurface/triSurface/surfacePatch/surfacePatchIOList.C
@@ -66,7 +66,7 @@ Foam::surfacePatchIOList::surfacePatchIOList
             label patchSize = readLabel(dict.lookup("nFaces"));
             label startFaceI = readLabel(dict.lookup("startFace"));
 
-            patches[patchI] = 
+            patches[patchI] =
                 surfacePatch
                 (
                     word(dict.lookup("geometricType")),
@@ -101,7 +101,7 @@ Foam::surfacePatchIOList::surfacePatchIOList
 Foam::surfacePatchIOList::surfacePatchIOList
 (
     const IOobject& io,
-    const surfacePatchList& patches    
+    const surfacePatchList& patches
 )
 :
     surfacePatchList(patches),
diff --git a/src/turbulenceModels/LES/LESdeltas/smoothDelta/smoothDelta.C b/src/turbulenceModels/LES/LESdeltas/smoothDelta/smoothDelta.C
index bea05e99733..b95aa0f3ef9 100644
--- a/src/turbulenceModels/LES/LESdeltas/smoothDelta/smoothDelta.C
+++ b/src/turbulenceModels/LES/LESdeltas/smoothDelta/smoothDelta.C
@@ -84,7 +84,7 @@ void smoothDelta::setChangedFaces
 
     // Insert all faces of coupled patches no matter what. Let FaceCellWave
     // sort it out.
-    forAll(mesh.boundaryMesh(), patchI) 
+    forAll(mesh.boundaryMesh(), patchI)
     {
         const polyPatch& patch = mesh.boundaryMesh()[patchI];
 
diff --git a/src/turbulenceModels/LES/LESdeltas/smoothDelta/smoothDeltaDeltaDataI.H b/src/turbulenceModels/LES/LESdeltas/smoothDelta/smoothDeltaDeltaDataI.H
index b501d03f215..f547f755341 100644
--- a/src/turbulenceModels/LES/LESdeltas/smoothDelta/smoothDeltaDeltaDataI.H
+++ b/src/turbulenceModels/LES/LESdeltas/smoothDelta/smoothDeltaDeltaDataI.H
@@ -39,7 +39,7 @@ inline bool smoothDelta::deltaData::update
     const scalar scale,
     const scalar tol
 )
-{   
+{
     if (!valid() || (delta_ < VSMALL))
     {
         // My delta not set. Take over neighbour.
@@ -63,7 +63,7 @@ inline bool smoothDelta::deltaData::update
         return false;
     }
 }
-    
+
 
 // * * * * * * * * * * * * * * * * Constructors  * * * * * * * * * * * * * * //
 
@@ -142,7 +142,7 @@ inline bool smoothDelta::deltaData::updateCell
 {
     // Take over info from face if more than deltaRatio larger.
     return update(neighbourWallInfo, maxDeltaRatio, tol);
-}    
+}
 
 
 // Update this (face) with cell information.
@@ -157,7 +157,7 @@ inline bool smoothDelta::deltaData::updateFace
 {
     // Take over information from cell without any scaling (scale = 1.0)
     return update(neighbourWallInfo, 1.0, tol);
-}    
+}
 
 
 // Update this (face) with coupled face information.
@@ -171,7 +171,7 @@ inline bool smoothDelta::deltaData::updateFace
 {
     // Take over information from coupled face without any scaling (scale = 1.0)
     return update(neighbourWallInfo, 1.0, tol);
-}    
+}
 
 
 // * * * * * * * * * * * * * * * Member Operators  * * * * * * * * * * * * * //
diff --git a/src/turbulenceModels/compressible/RAS/derivedFvPatchFields/turbulentTemperatureCoupledBaffle/turbulentTemperatureCoupledBaffleFvPatchScalarField.H b/src/turbulenceModels/compressible/RAS/derivedFvPatchFields/turbulentTemperatureCoupledBaffle/turbulentTemperatureCoupledBaffleFvPatchScalarField.H
index c5e57745d79..3438b602561 100644
--- a/src/turbulenceModels/compressible/RAS/derivedFvPatchFields/turbulentTemperatureCoupledBaffle/turbulentTemperatureCoupledBaffleFvPatchScalarField.H
+++ b/src/turbulenceModels/compressible/RAS/derivedFvPatchFields/turbulentTemperatureCoupledBaffle/turbulentTemperatureCoupledBaffleFvPatchScalarField.H
@@ -38,7 +38,7 @@ Description
         {
             type                turbulentTemperatureCoupledBaffle;
             neighbourFieldName  T;
-            K                   K; // or none 
+            K                   K; // or none
             value               uniform 300;
         }
 
@@ -83,7 +83,7 @@ class turbulentTemperatureCoupledBaffleFvPatchScalarField
 
         //- Name of field on the neighbour region
         const word neighbourFieldName_;
-        
+
         //- Name of thermal conductivity field
         const word KName_;
 
diff --git a/src/turbulenceModels/compressible/RAS/derivedFvPatchFields/turbulentTemperatureCoupledBaffleMixed/turbulentTemperatureCoupledBaffleMixedFvPatchScalarField.H b/src/turbulenceModels/compressible/RAS/derivedFvPatchFields/turbulentTemperatureCoupledBaffleMixed/turbulentTemperatureCoupledBaffleMixedFvPatchScalarField.H
index d4fe1d06fd1..22df0cad0ae 100644
--- a/src/turbulenceModels/compressible/RAS/derivedFvPatchFields/turbulentTemperatureCoupledBaffleMixed/turbulentTemperatureCoupledBaffleMixedFvPatchScalarField.H
+++ b/src/turbulenceModels/compressible/RAS/derivedFvPatchFields/turbulentTemperatureCoupledBaffleMixed/turbulentTemperatureCoupledBaffleMixedFvPatchScalarField.H
@@ -32,14 +32,14 @@ Description
     If my temperature is T1, neighbour is T2:
 
     T1 > T2: my side becomes fixedValue T2 bc, other side becomes fixedGradient.
-    
+
 
     Example usage:
         myInterfacePatchName
         {
             type                turbulentTemperatureCoupledBaffleMixed;
             neighbourFieldName  T;
-            K                   K; // or none 
+            K                   K; // or none
             value               uniform 300;
         }
 
@@ -88,7 +88,7 @@ class turbulentTemperatureCoupledBaffleMixedFvPatchScalarField
 
         //- Name of field on the neighbour region
         const word neighbourFieldName_;
-        
+
         //- Name of thermal conductivity field
         const word KName_;
 
-- 
GitLab