From 4435d6404737fdc0b60dd98144cc0fcdf5a8d1af Mon Sep 17 00:00:00 2001 From: andy Date: Tue, 16 Apr 2013 17:01:23 +0100 Subject: [PATCH] STYLE: Corrected spelling mistakes --- .../utilities/mesh/manipulation/checkMesh/checkGeometry.C | 2 +- .../utilities/mesh/manipulation/flattenMesh/flattenMesh.C | 2 +- applications/utilities/surface/surfaceCheck/surfaceCheck.C | 2 +- .../utilities/surface/surfacePointMerge/surfacePointMerge.C | 2 +- src/dynamicMesh/polyMeshAdder/faceCoupleInfo.C | 2 +- src/dynamicMesh/polyMeshFilter/polyMeshFilter.C | 2 +- .../autoMesh/autoHexMesh/autoHexMeshDriver/autoSnapDriver.C | 2 +- .../autoHexMesh/refinementFeatures/refinementFeatures.C | 2 +- src/mesh/autoMesh/autoHexMesh/shellSurfaces/shellSurfaces.C | 2 +- src/mesh/blockMesh/blockMesh/blockMesh.H | 4 ++-- src/meshTools/searchableSurface/searchableSurfaceWithGaps.H | 2 +- src/meshTools/sets/topoSets/topoSet.C | 2 +- 12 files changed, 13 insertions(+), 13 deletions(-) diff --git a/applications/utilities/mesh/manipulation/checkMesh/checkGeometry.C b/applications/utilities/mesh/manipulation/checkMesh/checkGeometry.C index ef521a257d..f9fbac3b47 100644 --- a/applications/utilities/mesh/manipulation/checkMesh/checkGeometry.C +++ b/applications/utilities/mesh/manipulation/checkMesh/checkGeometry.C @@ -148,7 +148,7 @@ bool Foam::checkWedges { Info<< " ***Wedge patch " << pp.name() << " not planar." << " Point " << pt << " is not in patch plane by " - << d << " meter." + << d << " metre." << endl; } return true; diff --git a/applications/utilities/mesh/manipulation/flattenMesh/flattenMesh.C b/applications/utilities/mesh/manipulation/flattenMesh/flattenMesh.C index 00df77dfc5..9be145648f 100644 --- a/applications/utilities/mesh/manipulation/flattenMesh/flattenMesh.C +++ b/applications/utilities/mesh/manipulation/flattenMesh/flattenMesh.C @@ -62,7 +62,7 @@ int main(int argc, char *argv[]) boundBox bb(points); Info<< "bounding box: min = " << bb.min() - << " max = " << bb.max() << " meters." + << " max = " << bb.max() << " metres." << endl; diff --git a/applications/utilities/surface/surfaceCheck/surfaceCheck.C b/applications/utilities/surface/surfaceCheck/surfaceCheck.C index fb36589061..a017055958 100644 --- a/applications/utilities/surface/surfaceCheck/surfaceCheck.C +++ b/applications/utilities/surface/surfaceCheck/surfaceCheck.C @@ -435,7 +435,7 @@ int main(int argc, char *argv[]) scalar smallDim = 1e-6 * bb.mag(); Info<< "Checking for points less than 1e-6 of bounding box (" - << bb.span() << " meter) apart." + << bb.span() << " metre) apart." << endl; // Sort points diff --git a/applications/utilities/surface/surfacePointMerge/surfacePointMerge.C b/applications/utilities/surface/surfacePointMerge/surfacePointMerge.C index b63686881a..585072d7c0 100644 --- a/applications/utilities/surface/surfacePointMerge/surfacePointMerge.C +++ b/applications/utilities/surface/surfacePointMerge/surfacePointMerge.C @@ -54,7 +54,7 @@ int main(int argc, char *argv[]) const fileName outFileName = args[3]; Info<< "Reading surface from " << surfFileName << " ..." << endl; - Info<< "Merging points within " << mergeTol << " meter." << endl; + Info<< "Merging points within " << mergeTol << " metre." << endl; triSurface surf1(surfFileName); diff --git a/src/dynamicMesh/polyMeshAdder/faceCoupleInfo.C b/src/dynamicMesh/polyMeshAdder/faceCoupleInfo.C index 986922f61d..00aabb3bd6 100644 --- a/src/dynamicMesh/polyMeshAdder/faceCoupleInfo.C +++ b/src/dynamicMesh/polyMeshAdder/faceCoupleInfo.C @@ -1542,7 +1542,7 @@ void Foam::faceCoupleInfo::perfectPointMatch ) << "Did not match all of the master faces to the slave faces" << endl << "This usually means that the slave patch and master patch" - << " do not align to within " << absTol << " meter." + << " do not align to within " << absTol << " metre." << abort(FatalError); } diff --git a/src/dynamicMesh/polyMeshFilter/polyMeshFilter.C b/src/dynamicMesh/polyMeshFilter/polyMeshFilter.C index a1cfc83aeb..3241a79c2d 100644 --- a/src/dynamicMesh/polyMeshFilter/polyMeshFilter.C +++ b/src/dynamicMesh/polyMeshFilter/polyMeshFilter.C @@ -485,7 +485,7 @@ Foam::polyMeshFilter::polyMeshFilter(const fvMesh& mesh) faceFilterFactor_() { Info<< "Merging:" << nl - << " edges with length less than " << minLen_ << " meters" << nl + << " edges with length less than " << minLen_ << " metres" << nl << " edges split by a point with edges in line to within " << radToDeg(::acos(maxCos_)) << " degrees" << nl << " Minimum edge length reduction factor = " diff --git a/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoSnapDriver.C b/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoSnapDriver.C index 0178c13875..4c262bd132 100644 --- a/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoSnapDriver.C +++ b/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoSnapDriver.C @@ -918,7 +918,7 @@ Foam::vectorField Foam::autoSnapDriver::calcNearestSurface << " coordinate:" << localPoints[pointI] << " did not find any surface within:" << minSnapDist[pointI] - << " meter." << endl; + << " metre." << endl; } } diff --git a/src/mesh/autoMesh/autoHexMesh/refinementFeatures/refinementFeatures.C b/src/mesh/autoMesh/autoHexMesh/refinementFeatures/refinementFeatures.C index 9c8f08630f..f3d969e691 100644 --- a/src/mesh/autoMesh/autoHexMesh/refinementFeatures/refinementFeatures.C +++ b/src/mesh/autoMesh/autoHexMesh/refinementFeatures/refinementFeatures.C @@ -133,7 +133,7 @@ void Foam::refinementFeatures::read { Info<< " level " << levels_[featI][j] << " for all cells within " << distances_[featI][j] - << " meter." << endl; + << " metre." << endl; } } } diff --git a/src/mesh/autoMesh/autoHexMesh/shellSurfaces/shellSurfaces.C b/src/mesh/autoMesh/autoHexMesh/shellSurfaces/shellSurfaces.C index bc3289f18e..a6f6790985 100644 --- a/src/mesh/autoMesh/autoHexMesh/shellSurfaces/shellSurfaces.C +++ b/src/mesh/autoMesh/autoHexMesh/shellSurfaces/shellSurfaces.C @@ -118,7 +118,7 @@ void Foam::shellSurfaces::setAndCheckLevels { Info<< " level " << levels_[shellI][j] << " for all cells within " << distances_[shellI][j] - << " meter." << endl; + << " metre." << endl; } } else diff --git a/src/mesh/blockMesh/blockMesh/blockMesh.H b/src/mesh/blockMesh/blockMesh/blockMesh.H index 0188d28dca..9e18adf773 100644 --- a/src/mesh/blockMesh/blockMesh/blockMesh.H +++ b/src/mesh/blockMesh/blockMesh/blockMesh.H @@ -69,7 +69,7 @@ class blockMesh //- The list of curved edges curvedEdgeList edges_; - //- The scaling factor to convert to meters + //- The scaling factor to convert to metres scalar scaleFactor_; //- The blocks themselves (the topology) as a polyMesh @@ -171,7 +171,7 @@ public: return edges_; } - //- The scaling factor used to convert to meters + //- The scaling factor used to convert to metres scalar scaleFactor() const; //- The points for the entire mesh diff --git a/src/meshTools/searchableSurface/searchableSurfaceWithGaps.H b/src/meshTools/searchableSurface/searchableSurfaceWithGaps.H index c169a98ca1..1098f2631f 100644 --- a/src/meshTools/searchableSurface/searchableSurfaceWithGaps.H +++ b/src/meshTools/searchableSurface/searchableSurfaceWithGaps.H @@ -65,7 +65,7 @@ private: // Private Member Data - //- gap size in meter + //- gap size in metre const scalar gap_; //- Underlying geometry (size 1) diff --git a/src/meshTools/sets/topoSets/topoSet.C b/src/meshTools/sets/topoSets/topoSet.C index 561d9fbe46..299d452629 100644 --- a/src/meshTools/sets/topoSets/topoSet.C +++ b/src/meshTools/sets/topoSets/topoSet.C @@ -269,7 +269,7 @@ void Foam::topoSet::writeDebug boundBox bb(pointField(coords, toc()), true); os << "Set bounding box: min = " - << bb.min() << " max = " << bb.max() << " meters. " << endl << endl; + << bb.min() << " max = " << bb.max() << " metres. " << endl << endl; label n = 0;