From 31478174132fb603549210211e9ddff9a3007159 Mon Sep 17 00:00:00 2001
From: "luz.paz" <luzpaz@users.noreply.github.com>
Date: Sat, 17 Feb 2018 06:06:13 -0500
Subject: [PATCH] Misc. src/OpenFOAM typos

---
 src/OpenFOAM/containers/Lists/PackedList/PackedList.H                 | 2 +-
 src/OpenFOAM/containers/Lists/PackedList/PackedListI.H                | 4 ++--
 src/OpenFOAM/db/functionObjects/functionObject/functionObject.H       | 2 +-
 .../fields/GeometricFields/GeometricField/GeometricBoundaryField.C    | 2 +-
 .../fields/pointPatchFields/basic/value/valuePointPatchField.H        | 4 ++--
 .../fields/pointPatchFields/constraint/cyclic/cyclicPointPatchField.H | 2 +-
 .../constraint/processorCyclic/processorCyclicPointPatchField.H       | 2 +-
 .../fields/pointPatchFields/pointPatchField/pointPatchField.H         | 2 +-
 .../fileOperations/collatedFileOperation/collatedFileOperation.H      | 2 +-
 src/OpenFOAM/global/fileOperations/fileOperation/fileOperation.H      | 2 +-
 .../masterUncollatedFileOperation/masterUncollatedFileOperation.H     | 4 ++--
 .../fileOperations/uncollatedFileOperation/uncollatedFileOperation.H  | 2 +-
 src/OpenFOAM/include/OSspecific.H                                     | 2 +-
 .../matrices/LduMatrix/LduMatrix/LduMatrixUpdateMatrixInterfaces.C    | 4 ++--
 .../matrices/lduMatrix/lduMatrix/lduMatrixUpdateMatrixInterfaces.C    | 4 ++--
 src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGSolverSolve.C        | 2 +-
 .../cyclicGAMGInterfaceField/cyclicGAMGInterfaceField.H               | 2 +-
 .../processorGAMGInterfaceField/processorGAMGInterfaceField.H         | 2 +-
 src/OpenFOAM/meshes/meshShapes/cellModel/cellModel.C                  | 4 ++--
 src/OpenFOAM/meshes/polyMesh/polyMesh.H                               | 2 +-
 .../primitives/globalIndexAndTransform/globalIndexAndTransform.C      | 2 +-
 21 files changed, 27 insertions(+), 27 deletions(-)

diff --git a/src/OpenFOAM/containers/Lists/PackedList/PackedList.H b/src/OpenFOAM/containers/Lists/PackedList/PackedList.H
index 43bc8a5cd..af9ebd1b9 100644
--- a/src/OpenFOAM/containers/Lists/PackedList/PackedList.H
+++ b/src/OpenFOAM/containers/Lists/PackedList/PackedList.H
@@ -64,7 +64,7 @@ Note
 
     The lazy evaluation used means that reading an out-of-range element
     returns zero, but does not affect the list size.  Even in a non-const
-    context, only the assigment itself causes the element to be created.
+    context, only the assignment itself causes the element to be created.
     For example,
     \code
         list.resize(4);
diff --git a/src/OpenFOAM/containers/Lists/PackedList/PackedListI.H b/src/OpenFOAM/containers/Lists/PackedList/PackedListI.H
index c945ca0ba..ed592f0e1 100644
--- a/src/OpenFOAM/containers/Lists/PackedList/PackedListI.H
+++ b/src/OpenFOAM/containers/Lists/PackedList/PackedListI.H
@@ -369,7 +369,7 @@ inline void Foam::PackedList<nBits>::iteratorBase::operator=
     const unsigned int val
 )
 {
-    // Lazy evaluation - increase size on assigment
+    // Lazy evaluation - increase size on assignment
     if (index_ >= list_->size_)
     {
         list_->resize(index_ + 1);
@@ -1003,7 +1003,7 @@ inline bool Foam::PackedList<nBits>::set
     }
     else if (i >= size_)
     {
-        // Lazy evaluation - increase size on assigment
+        // Lazy evaluation - increase size on assignment
         resize(i + 1);
     }
 
diff --git a/src/OpenFOAM/db/functionObjects/functionObject/functionObject.H b/src/OpenFOAM/db/functionObjects/functionObject/functionObject.H
index ff3867192..8dd2ce146 100644
--- a/src/OpenFOAM/db/functionObjects/functionObject/functionObject.H
+++ b/src/OpenFOAM/db/functionObjects/functionObject/functionObject.H
@@ -231,7 +231,7 @@ public:
         virtual bool end();
 
         //- Called by Time::setDeltaT(). Allows the function object to override
-        //  the time-step value. Returns whether or not the value was overriden.
+        //  the time-step value. Returns whether or not the value was overridden.
         virtual bool setTimeStep();
 
         //- Called by Time::adjustTimeStep(). Allows the function object to
diff --git a/src/OpenFOAM/fields/GeometricFields/GeometricField/GeometricBoundaryField.C b/src/OpenFOAM/fields/GeometricFields/GeometricField/GeometricBoundaryField.C
index 25244a76c..3b9978721 100644
--- a/src/OpenFOAM/fields/GeometricFields/GeometricField/GeometricBoundaryField.C
+++ b/src/OpenFOAM/fields/GeometricFields/GeometricField/GeometricBoundaryField.C
@@ -470,7 +470,7 @@ evaluate()
     else
     {
         FatalErrorInFunction
-            << "Unsuported communications type "
+            << "Unsupported communications type "
             << Pstream::commsTypeNames[Pstream::defaultCommsType]
             << exit(FatalError);
     }
diff --git a/src/OpenFOAM/fields/pointPatchFields/basic/value/valuePointPatchField.H b/src/OpenFOAM/fields/pointPatchFields/basic/value/valuePointPatchField.H
index aac92d01e..c1a57aad8 100644
--- a/src/OpenFOAM/fields/pointPatchFields/basic/value/valuePointPatchField.H
+++ b/src/OpenFOAM/fields/pointPatchFields/basic/value/valuePointPatchField.H
@@ -206,8 +206,8 @@ public:
 };
 
 
-// This function is added to overide the hack in pointPatchField.H
-// which enables simple backward compatibility with verions using
+// This function is added to override the hack in pointPatchField.H
+// which enables simple backward compatibility with versions using
 // referenceLevel in GeometicField
 template<class Type>
 tmp<Field<Type>> operator+
diff --git a/src/OpenFOAM/fields/pointPatchFields/constraint/cyclic/cyclicPointPatchField.H b/src/OpenFOAM/fields/pointPatchFields/constraint/cyclic/cyclicPointPatchField.H
index af0e4c24c..d0672669e 100644
--- a/src/OpenFOAM/fields/pointPatchFields/constraint/cyclic/cyclicPointPatchField.H
+++ b/src/OpenFOAM/fields/pointPatchFields/constraint/cyclic/cyclicPointPatchField.H
@@ -137,7 +137,7 @@ public:
 
         //- Cyclic coupled interface functions
 
-            //- Does the patch field perform the transfromation
+            //- Does the patch field perform the transformation
             virtual bool doTransform() const
             {
                 return !(cyclicPatch_.parallel() || pTraits<Type>::rank == 0);
diff --git a/src/OpenFOAM/fields/pointPatchFields/constraint/processorCyclic/processorCyclicPointPatchField.H b/src/OpenFOAM/fields/pointPatchFields/constraint/processorCyclic/processorCyclicPointPatchField.H
index 656f69914..d065499b4 100644
--- a/src/OpenFOAM/fields/pointPatchFields/constraint/processorCyclic/processorCyclicPointPatchField.H
+++ b/src/OpenFOAM/fields/pointPatchFields/constraint/processorCyclic/processorCyclicPointPatchField.H
@@ -150,7 +150,7 @@ public:
                 }
             }
 
-            //- Does the patch field perform the transfromation
+            //- Does the patch field perform the transformation
             virtual bool doTransform() const
             {
                 return
diff --git a/src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointPatchField.H b/src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointPatchField.H
index 29488a2c8..551be7819 100644
--- a/src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointPatchField.H
+++ b/src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointPatchField.H
@@ -490,7 +490,7 @@ public:
 
 
 // This function is added as a hack to enable simple backward compatibility
-// with verions using referenceLevel in GeometicField
+// with versions using referenceLevel in GeometicField
 template<class Type>
 const pointPatchField<Type>& operator+
 (
diff --git a/src/OpenFOAM/global/fileOperations/collatedFileOperation/collatedFileOperation.H b/src/OpenFOAM/global/fileOperations/collatedFileOperation/collatedFileOperation.H
index 49a19e673..2d8eb45cf 100644
--- a/src/OpenFOAM/global/fileOperations/collatedFileOperation/collatedFileOperation.H
+++ b/src/OpenFOAM/global/fileOperations/collatedFileOperation/collatedFileOperation.H
@@ -88,7 +88,7 @@ public:
 
         //- Max size of thread buffer size. This is the overall size of
         //  all files to be written. Starts blocking if not enough size.
-        //  Read as float to enable easy specificiation of large sizes.
+        //  Read as float to enable easy specification of large sizes.
         static float maxThreadFileBufferSize;
 
 
diff --git a/src/OpenFOAM/global/fileOperations/fileOperation/fileOperation.H b/src/OpenFOAM/global/fileOperations/fileOperation/fileOperation.H
index ccd55b2fd..60a2b3b8b 100644
--- a/src/OpenFOAM/global/fileOperations/fileOperation/fileOperation.H
+++ b/src/OpenFOAM/global/fileOperations/fileOperation/fileOperation.H
@@ -246,7 +246,7 @@ public:
             //- Remove a file, returning true if successful otherwise false
             virtual bool rm(const fileName&) const = 0;
 
-            //- Remove a dirctory and its contents
+            //- Remove a directory and its contents
             virtual bool rmDir(const fileName&) const = 0;
 
 //            //- Open a shared library. Return handle to library. Print error
diff --git a/src/OpenFOAM/global/fileOperations/masterUncollatedFileOperation/masterUncollatedFileOperation.H b/src/OpenFOAM/global/fileOperations/masterUncollatedFileOperation/masterUncollatedFileOperation.H
index f89f7e35f..bef8aed2d 100644
--- a/src/OpenFOAM/global/fileOperations/masterUncollatedFileOperation/masterUncollatedFileOperation.H
+++ b/src/OpenFOAM/global/fileOperations/masterUncollatedFileOperation/masterUncollatedFileOperation.H
@@ -406,7 +406,7 @@ public:
 
         //- Max size of parallel communications. Switches from non-blocking
         //  to scheduled when reading/writing files. Read as float to enable
-        //  easy specificiation of large sizes.
+        //  easy specification of large sizes.
         static float maxMasterFileBufferSize;
 
 
@@ -531,7 +531,7 @@ public:
             //- Remove a file, returning true if successful otherwise false
             virtual bool rm(const fileName&) const;
 
-            //- Remove a dirctory and its contents
+            //- Remove a directory and its contents
             virtual bool rmDir(const fileName&) const;
 
 //            //- Open a shared library. Return handle to library. Print error
diff --git a/src/OpenFOAM/global/fileOperations/uncollatedFileOperation/uncollatedFileOperation.H b/src/OpenFOAM/global/fileOperations/uncollatedFileOperation/uncollatedFileOperation.H
index 9ff5e55b3..a2b944836 100644
--- a/src/OpenFOAM/global/fileOperations/uncollatedFileOperation/uncollatedFileOperation.H
+++ b/src/OpenFOAM/global/fileOperations/uncollatedFileOperation/uncollatedFileOperation.H
@@ -190,7 +190,7 @@ public:
             //- Remove a file, returning true if successful otherwise false
             virtual bool rm(const fileName&) const;
 
-            //- Remove a dirctory and its contents
+            //- Remove a directory and its contents
             virtual bool rmDir(const fileName&) const;
 
 //            //- Open a shared library. Return handle to library. Print error
diff --git a/src/OpenFOAM/include/OSspecific.H b/src/OpenFOAM/include/OSspecific.H
index 319a8541e..156c68f1b 100644
--- a/src/OpenFOAM/include/OSspecific.H
+++ b/src/OpenFOAM/include/OSspecific.H
@@ -165,7 +165,7 @@ bool mvBak(const fileName&, const std::string& ext = "bak");
 //- Remove a file, returning true if successful otherwise false
 bool rm(const fileName&);
 
-//- Remove a dirctory and its contents
+//- Remove a directory and its contents
 bool rmDir(const fileName&);
 
 //- Sleep for the specified number of seconds
diff --git a/src/OpenFOAM/matrices/LduMatrix/LduMatrix/LduMatrixUpdateMatrixInterfaces.C b/src/OpenFOAM/matrices/LduMatrix/LduMatrix/LduMatrixUpdateMatrixInterfaces.C
index 465c097bf..71b930d39 100644
--- a/src/OpenFOAM/matrices/LduMatrix/LduMatrix/LduMatrixUpdateMatrixInterfaces.C
+++ b/src/OpenFOAM/matrices/LduMatrix/LduMatrix/LduMatrixUpdateMatrixInterfaces.C
@@ -86,7 +86,7 @@ void Foam::LduMatrix<Type, DType, LUType>::initMatrixInterfaces
     else
     {
         FatalErrorInFunction
-            << "Unsuported communications type "
+            << "Unsupported communications type "
             << Pstream::commsTypeNames[Pstream::defaultCommsType]
             << exit(FatalError);
     }
@@ -190,7 +190,7 @@ void Foam::LduMatrix<Type, DType, LUType>::updateMatrixInterfaces
     else
     {
         FatalErrorInFunction
-            << "Unsuported communications type "
+            << "Unsupported communications type "
             << Pstream::commsTypeNames[Pstream::defaultCommsType]
             << exit(FatalError);
     }
diff --git a/src/OpenFOAM/matrices/lduMatrix/lduMatrix/lduMatrixUpdateMatrixInterfaces.C b/src/OpenFOAM/matrices/lduMatrix/lduMatrix/lduMatrixUpdateMatrixInterfaces.C
index af65e1bc6..56995bf53 100644
--- a/src/OpenFOAM/matrices/lduMatrix/lduMatrix/lduMatrixUpdateMatrixInterfaces.C
+++ b/src/OpenFOAM/matrices/lduMatrix/lduMatrix/lduMatrixUpdateMatrixInterfaces.C
@@ -86,7 +86,7 @@ void Foam::lduMatrix::initMatrixInterfaces
     else
     {
         FatalErrorInFunction
-            << "Unsuported communications type "
+            << "Unsupported communications type "
             << Pstream::commsTypeNames[Pstream::defaultCommsType]
             << exit(FatalError);
     }
@@ -259,7 +259,7 @@ void Foam::lduMatrix::updateMatrixInterfaces
     else
     {
         FatalErrorInFunction
-            << "Unsuported communications type "
+            << "Unsupported communications type "
             << Pstream::commsTypeNames[Pstream::defaultCommsType]
             << exit(FatalError);
     }
diff --git a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGSolverSolve.C b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGSolverSolve.C
index 8f14752f1..9dd9df732 100644
--- a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGSolverSolve.C
+++ b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGSolverSolve.C
@@ -183,7 +183,7 @@ void Foam::GAMGSolver::Vcycle
         if (coarseSources.set(leveli + 1))
         {
             // If the optional pre-smoothing sweeps are selected
-            // smooth the coarse-grid field for the restriced source
+            // smooth the coarse-grid field for the restricted source
             if (nPreSweeps_)
             {
                 coarseCorrFields[leveli] = 0.0;
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 f9068707c..8019e70a3 100644
--- a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/cyclicGAMGInterfaceField/cyclicGAMGInterfaceField.H
+++ b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/cyclicGAMGInterfaceField/cyclicGAMGInterfaceField.H
@@ -115,7 +115,7 @@ public:
 
         //- Cyclic interface functions
 
-            //- Does the interface field perform the transfromation
+            //- Does the interface field perform the transformation
             virtual bool doTransform() const
             {
                 return doTransform_;
diff --git a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/processorGAMGInterfaceField/processorGAMGInterfaceField.H b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/processorGAMGInterfaceField/processorGAMGInterfaceField.H
index 4eb0a1850..8d25c1f1d 100644
--- a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/processorGAMGInterfaceField/processorGAMGInterfaceField.H
+++ b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/processorGAMGInterfaceField/processorGAMGInterfaceField.H
@@ -172,7 +172,7 @@ public:
                 return procInterface_.neighbProcNo();
             }
 
-            //- Does the interface field perform the transfromation
+            //- Does the interface field perform the transformation
             virtual bool doTransform() const
             {
                 return doTransform_;
diff --git a/src/OpenFOAM/meshes/meshShapes/cellModel/cellModel.C b/src/OpenFOAM/meshes/meshShapes/cellModel/cellModel.C
index 1c487f230..9e1b8df6b 100644
--- a/src/OpenFOAM/meshes/meshShapes/cellModel/cellModel.C
+++ b/src/OpenFOAM/meshes/meshShapes/cellModel/cellModel.C
@@ -37,7 +37,7 @@ Foam::vector Foam::cellModel::centre
     // Estimate centre of cell
     vector cEst = Zero;
 
-    // Sum the points idicated by the label list
+    // Sum the points indicated by the label list
     forAll(pointLabels, i)
     {
         cEst += points[pointLabels[i]];
@@ -94,7 +94,7 @@ Foam::scalar Foam::cellModel::mag
     // Estimate centre of cell
     vector cEst = Zero;
 
-    // Sum the points idicated by the label list
+    // Sum the points indicated by the label list
     forAll(pointLabels, i)
     {
         cEst += points[pointLabels[i]];
diff --git a/src/OpenFOAM/meshes/polyMesh/polyMesh.H b/src/OpenFOAM/meshes/polyMesh/polyMesh.H
index 64cc48631..f0881e5eb 100644
--- a/src/OpenFOAM/meshes/polyMesh/polyMesh.H
+++ b/src/OpenFOAM/meshes/polyMesh/polyMesh.H
@@ -85,7 +85,7 @@ public:
         //- Enumeration defining the state of the mesh after a read update.
         //  Used for post-processing applications, where the mesh
         //  needs to update based on the files written in time
-        //  directores
+        //  directories
         enum readUpdateState
         {
             UNCHANGED,
diff --git a/src/OpenFOAM/primitives/globalIndexAndTransform/globalIndexAndTransform.C b/src/OpenFOAM/primitives/globalIndexAndTransform/globalIndexAndTransform.C
index dcf40ff06..557cb9a3e 100644
--- a/src/OpenFOAM/primitives/globalIndexAndTransform/globalIndexAndTransform.C
+++ b/src/OpenFOAM/primitives/globalIndexAndTransform/globalIndexAndTransform.C
@@ -68,7 +68,7 @@ Foam::label Foam::globalIndexAndTransform::matchTransform
 
         // Test the difference between tensor parts to see if it is
         // less than the tolerance.  sqrt(3.0) factor used to scale
-        // differnces as this is magnitude of a rotation tensor.  If
+        // differences as this is magnitude of a rotation tensor.  If
         // neither transform has a rotation, then the test is not
         // necessary.
 
-- 
2.16.1

