From 96372772ff56f02eb399d23e709d620a21e7ceb3 Mon Sep 17 00:00:00 2001 From: "luz.paz" Date: Mon, 12 Feb 2018 21:13:42 -0500 Subject: [PATCH] Misc. typo fixes Found via downstream BlueCFD using `codespell -q 3 -I ../openfoam-dev-whitelist.txt` --- src/OSspecific/POSIX/POSIX.C | 2 +- src/OSspecific/POSIX/signals/sigInt.H | 4 ++-- src/OSspecific/POSIX/signals/sigQuit.H | 4 ++-- src/OSspecific/POSIX/signals/sigSegv.H | 4 ++-- src/OSspecific/POSIX/signals/sigStopAtWriteNow.H | 2 +- src/OSspecific/POSIX/signals/sigWriteNow.H | 2 +- src/OSspecific/POSIX/timer.H | 2 +- src/OpenFOAM/containers/Lists/ListOps/ListOps.H | 6 +++--- .../containers/Lists/PackedList/PackedList.H | 2 +- .../containers/Lists/PackedList/PackedListI.H | 4 ++-- src/OpenFOAM/db/IOstreams/IOstreams/IOstream.H | 4 ++-- src/OpenFOAM/db/IOstreams/token/token.C | 2 +- .../functionObject/functionObject.H | 2 +- src/OpenFOAM/db/regIOobject/regIOobject.H | 2 +- src/OpenFOAM/dimensionSet/dimensionSetIO.C | 4 ++-- .../GeometricField/GeometricBoundaryField.C | 2 +- .../basic/value/valuePointPatchField.H | 4 ++-- .../constraint/cyclic/cyclicPointPatchField.H | 2 +- .../processorCyclicPointPatchField.H | 2 +- .../pointPatchField/pointPatchField.H | 4 ++-- .../pointPatchField/pointPatchFieldNew.C | 2 +- .../collatedFileOperation/collatedFileOperation.H | 2 +- .../fileOperations/fileOperation/fileOperation.H | 2 +- .../masterUncollatedFileOperation.H | 4 ++-- .../uncollatedFileOperation.C | 2 +- .../uncollatedFileOperation.H | 2 +- src/OpenFOAM/include/OSspecific.H | 2 +- .../PrimitivePatchInterpolation.H | 2 +- .../uniformInterpolationTable.H | 2 +- .../matrices/LduMatrix/LduMatrix/LduMatrix.H | 2 +- .../LduMatrix/LduMatrix/LduMatrixOperations.C | 2 +- .../LduMatrix/LduMatrixUpdateMatrixInterfaces.C | 4 ++-- .../LduMatrix/Solvers/SmoothSolver/SmoothSolver.H | 2 +- .../lduInterface/processorLduInterface.H | 2 +- .../processorLduInterfaceField.H | 2 +- .../matrices/lduMatrix/lduMatrix/lduMatrix.H | 2 +- .../lduMatrix/lduMatrixUpdateMatrixInterfaces.C | 4 ++-- .../lduMatrix/solvers/GAMG/GAMGSolverSolve.C | 2 +- .../cyclicGAMGInterfaceField.H | 2 +- .../processorGAMGInterfaceField.H | 4 ++-- .../cyclicGAMGInterface/cyclicGAMGInterface.H | 4 ++-- .../processorGAMGInterface.H | 2 +- src/OpenFOAM/memory/tmp/tmp.H | 2 +- src/OpenFOAM/memory/tmpNrc/tmpNrc.H | 2 +- .../meshes/ProcessorTopology/commSchedule.H | 2 +- src/OpenFOAM/meshes/meshShapes/cell/cell.C | 4 ++-- .../meshes/meshShapes/cell/oppositeCellFace.C | 2 +- .../meshes/meshShapes/cellModel/cellModel.C | 4 ++-- .../constraint/processor/processorPointPatch.H | 2 +- .../polyMesh/globalMeshData/globalMeshData.C | 2 +- .../polyMesh/polyBoundaryMesh/polyBoundaryMesh.C | 4 ++-- src/OpenFOAM/meshes/polyMesh/polyMesh.H | 2 +- .../constraint/cyclic/cyclicPolyPatch.C | 2 +- .../constraint/oldCyclic/oldCyclicPolyPatch.C | 2 +- .../constraint/oldCyclic/oldCyclicPolyPatch.H | 2 +- .../constraint/processor/processorPolyPatch.H | 2 +- src/OpenFOAM/meshes/primitiveMesh/primitiveMesh.H | 4 ++-- .../meshes/primitiveMesh/primitiveMeshEdges.C | 2 +- .../primitiveMeshFaceCentresAndAreas.C | 2 +- .../primitives/Scalar/doubleScalar/doubleScalar.H | 2 +- .../primitives/Scalar/floatScalar/floatScalar.H | 2 +- .../Scalar/longDoubleScalar/longDoubleScalar.H | 2 +- src/OpenFOAM/primitives/Vector/Vector.H | 2 +- .../globalIndexAndTransform.C | 2 +- src/OpenFOAM/primitives/strings/string/string.H | 6 +++--- .../primitives/strings/stringOps/stringOps.H | 14 +++++++------- .../primitives/subModelBase/subModelBase.H | 2 +- src/Pstream/mpi/UIPread.C | 8 ++++---- .../thermalBaffle1DFvPatchScalarField.H | 2 +- ...lFlowRateAdvectiveDiffusiveFvPatchScalarField.H | 2 +- ...tTemperatureRadCoupledMixedFvPatchScalarField.H | 2 +- .../epsilonWallFunctionFvPatchScalarField.C | 2 +- .../nutkAtmRoughWallFunctionFvPatchScalarField.H | 2 +- .../nutkRoughWallFunctionFvPatchScalarField.H | 2 +- .../dynamicRefineFvMesh/dynamicRefineFvMesh.C | 8 ++++---- .../renumberMethod/renumberMethod.H | 2 +- .../structuredRenumber/structuredRenumber.C | 2 +- src/sampling/meshToMesh/meshToMeshParallelOps.C | 2 +- src/sampling/probes/probesTemplates.C | 2 +- src/sampling/sampledSet/array/arraySet.H | 2 +- src/sampling/sampledSet/sampledSet/sampledSet.H | 2 +- .../sampledSurface/isoSurface/isoSurface.C | 2 +- .../sampledSurface/isoSurface/isoSurface.H | 2 +- .../sampledSurface/isoSurface/isoSurfaceCell.H | 2 +- .../TDACChemistryModel/TDACChemistryModel.C | 2 +- .../TDACChemistryModel/reduction/DAC/DAC.C | 2 +- .../TDACChemistryModel/reduction/DAC/DAC.H | 2 +- .../TDACChemistryModel/reduction/DRG/DRG.C | 2 +- .../TDACChemistryModel/reduction/DRGEP/DRGEP.C | 2 +- .../TDACChemistryModel/reduction/DRGEP/DRGEP.H | 4 ++-- .../TDACChemistryModel/reduction/PFA/PFA.C | 2 +- .../TDACChemistryModel/tabulation/ISAT/ISAT.C | 4 ++-- .../TDACChemistryModel/tabulation/ISAT/ISAT.H | 4 ++-- .../tabulation/ISAT/binaryNode/binaryNode.H | 4 ++-- .../tabulation/ISAT/binaryTree/binaryTree.C | 4 ++-- .../tabulation/ISAT/chemPointISAT/chemPointISAT.C | 2 +- .../basicChemistryModelTemplates.C | 2 +- ...greyDiffusiveRadiationMixedFvPatchScalarField.C | 2 +- ...BandDiffusiveRadiationMixedFvPatchScalarField.C | 2 +- .../radiation/radiationModels/fvDOM/fvDOM/fvDOM.H | 2 +- .../radiativeIntensityRay/radiativeIntensityRay.H | 6 +++--- .../mixtureFractionSoot/mixtureFractionSoot.H | 2 +- .../chemistryReaders/chemkinReader/chemkinLexer.L | 2 +- .../singleComponentMixture.H | 2 +- .../pyrolysisChemistryModel.C | 2 +- .../Reactions/solidReaction/solidReaction.H | 2 +- .../thirdBodyArrheniusReactionRate.H | 2 +- .../alphaContactAngleFvPatchScalarField.H | 2 +- .../dynamicAlphaContactAngleFvPatchScalarField.H | 2 +- src/triSurface/triSurface/triSurface.C | 2 +- 110 files changed, 150 insertions(+), 150 deletions(-) diff --git a/src/OSspecific/POSIX/POSIX.C b/src/OSspecific/POSIX/POSIX.C index 33ecaad017..93afb3ee6d 100644 --- a/src/OSspecific/POSIX/POSIX.C +++ b/src/OSspecific/POSIX/POSIX.C @@ -687,7 +687,7 @@ Foam::fileNameList Foam::readDir { fileName fName(list->d_name); - // ignore files begining with ., i.e. '.', '..' and '.*' + // ignore files beginning with ., i.e. '.', '..' and '.*' if (fName.size() && fName[0] != '.') { word fExt = fName.ext(); diff --git a/src/OSspecific/POSIX/signals/sigInt.H b/src/OSspecific/POSIX/signals/sigInt.H index 8a021c2866..6f1c928867 100644 --- a/src/OSspecific/POSIX/signals/sigInt.H +++ b/src/OSspecific/POSIX/signals/sigInt.H @@ -25,9 +25,9 @@ Class Foam::sigInt Description - Signal handler for INT interupt. + Signal handler for INT interrupt. - The standard interupt handler is overridden to ensure that the + The standard interrupt handler is overridden to ensure that the runningJob file is removed. See also diff --git a/src/OSspecific/POSIX/signals/sigQuit.H b/src/OSspecific/POSIX/signals/sigQuit.H index 4bbbc1f8ee..2d5fc5167a 100644 --- a/src/OSspecific/POSIX/signals/sigQuit.H +++ b/src/OSspecific/POSIX/signals/sigQuit.H @@ -25,9 +25,9 @@ Class Foam::sigQuit Description - Signal handler for QUIT interupt. + Signal handler for QUIT interrupt. - The standard interupt handler is overridden to ensure that the + The standard interrupt handler is overridden to ensure that the runningJob file is removed. See also diff --git a/src/OSspecific/POSIX/signals/sigSegv.H b/src/OSspecific/POSIX/signals/sigSegv.H index 0a7d9809d7..61a865b97a 100644 --- a/src/OSspecific/POSIX/signals/sigSegv.H +++ b/src/OSspecific/POSIX/signals/sigSegv.H @@ -25,9 +25,9 @@ Class Foam::sigSegv Description - Signal handler for SEGV interupt. + Signal handler for SEGV interrupt. - The standard interupt handler is overridden to ensure that the + The standard interrupt handler is overridden to ensure that the runningJob file is removed. See also diff --git a/src/OSspecific/POSIX/signals/sigStopAtWriteNow.H b/src/OSspecific/POSIX/signals/sigStopAtWriteNow.H index bf83a350d7..c9b453be18 100644 --- a/src/OSspecific/POSIX/signals/sigStopAtWriteNow.H +++ b/src/OSspecific/POSIX/signals/sigStopAtWriteNow.H @@ -25,7 +25,7 @@ Class Foam::sigStopAtWriteNow Description - Signal handler for interupt defined by + Signal handler for interrupt defined by OptimisationSwitches::stopAtWriteNowSignal Write and stop the job. diff --git a/src/OSspecific/POSIX/signals/sigWriteNow.H b/src/OSspecific/POSIX/signals/sigWriteNow.H index 67506f7fa2..807251254f 100644 --- a/src/OSspecific/POSIX/signals/sigWriteNow.H +++ b/src/OSspecific/POSIX/signals/sigWriteNow.H @@ -25,7 +25,7 @@ Class Foam::sigWriteNow Description - Signal handler for interupt defined by OptimisationSwitches::writeNowSignal + Signal handler for interrupt defined by OptimisationSwitches::writeNowSignal Write once and continue. diff --git a/src/OSspecific/POSIX/timer.H b/src/OSspecific/POSIX/timer.H index b20d07dddb..47e4ddc099 100644 --- a/src/OSspecific/POSIX/timer.H +++ b/src/OSspecific/POSIX/timer.H @@ -67,7 +67,7 @@ SourceFiles // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -//- Check it a timeout has occured +//- Check if a timeout has occurred // keep setjmp in same stack frame so no function calls #define timedOut(x) \ (((x).newTimeOut_ > 0) ? setjmp(Foam::timer::envAlarm) : false) diff --git a/src/OpenFOAM/containers/Lists/ListOps/ListOps.H b/src/OpenFOAM/containers/Lists/ListOps/ListOps.H index a5debd3ec9..8d53b15cc7 100644 --- a/src/OpenFOAM/containers/Lists/ListOps/ListOps.H +++ b/src/OpenFOAM/containers/Lists/ListOps/ListOps.H @@ -158,7 +158,7 @@ List invertManyToMany(const label len, const UList& in) //- Create identity map (map[i] == i) of given length labelList identity(const label len); -//- Find first occurence of given element and return index, +//- Find first occurrence of given element and return index, // return -1 if not found. Linear search. template label findIndex @@ -168,7 +168,7 @@ label findIndex const label start=0 ); -//- Find all occurences of given element. Linear search. +//- Find all occurrences of given element. Linear search. template labelList findIndices ( @@ -208,7 +208,7 @@ template label findMin(const ListType&, const label start=0); -//- Find first occurence of given element in sorted list and return index, +//- Find first occurrence of given element in sorted list and return index, // return -1 if not found. Binary search. template label findSortedIndex diff --git a/src/OpenFOAM/containers/Lists/PackedList/PackedList.H b/src/OpenFOAM/containers/Lists/PackedList/PackedList.H index 43bc8a5cda..af9ebd1b91 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 c945ca0ba3..ed592f0e10 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::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::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/IOstreams/IOstreams/IOstream.H b/src/OpenFOAM/db/IOstreams/IOstreams/IOstream.H index c32ca97dd5..48753280f3 100644 --- a/src/OpenFOAM/db/IOstreams/IOstreams/IOstream.H +++ b/src/OpenFOAM/db/IOstreams/IOstreams/IOstream.H @@ -311,11 +311,11 @@ public: // Check //- Check IOstream status for given operation - // print IOstream state if error has occured + // print IOstream state if error has occurred virtual bool check(const char* operation) const; //- Check IOstream status for given operation - // print IOstream state if error has occured and exit + // print IOstream state if error has occurred and exit void fatalCheck(const char* operation) const; //- Return true if stream has been opened diff --git a/src/OpenFOAM/db/IOstreams/token/token.C b/src/OpenFOAM/db/IOstreams/token/token.C index 59c551b6f8..deae4fd643 100644 --- a/src/OpenFOAM/db/IOstreams/token/token.C +++ b/src/OpenFOAM/db/IOstreams/token/token.C @@ -97,7 +97,7 @@ Foam::token::compound& Foam::token::transferCompoundToken(const Istream& is) if (compoundTokenPtr_->empty()) { FatalIOErrorInFunction(is) - << "compound has already been transfered from token\n " + << "compound has already been transferred from token\n " << info() << abort(FatalIOError); } else diff --git a/src/OpenFOAM/db/functionObjects/functionObject/functionObject.H b/src/OpenFOAM/db/functionObjects/functionObject/functionObject.H index ff38671927..8dd2ce1464 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/db/regIOobject/regIOobject.H b/src/OpenFOAM/db/regIOobject/regIOobject.H index a6f0ef9a13..2b19031cc4 100644 --- a/src/OpenFOAM/db/regIOobject/regIOobject.H +++ b/src/OpenFOAM/db/regIOobject/regIOobject.H @@ -138,7 +138,7 @@ public: // if registerCopy is true regIOobject(const regIOobject&, bool registerCopy); - //- Construct as copy with new name, transfering registry registration + //- Construct as copy with new name, transferring registry registration // to copy as specified regIOobject(const word& newName, const regIOobject&, bool registerCopy); diff --git a/src/OpenFOAM/dimensionSet/dimensionSetIO.C b/src/OpenFOAM/dimensionSet/dimensionSetIO.C index 7f7648e10d..5c8752ddf9 100644 --- a/src/OpenFOAM/dimensionSet/dimensionSetIO.C +++ b/src/OpenFOAM/dimensionSet/dimensionSetIO.C @@ -408,7 +408,7 @@ Foam::Istream& Foam::dimensionSet::read { multiplier = 1.0; - // Read begining of dimensionSet + // Read beginning of dimensionSet token startToken(is); if (startToken != token::BEGIN_SQR) @@ -503,7 +503,7 @@ Foam::Istream& Foam::dimensionSet::read { multiplier = 1.0; - // Read begining of dimensionSet + // Read beginning of dimensionSet token startToken(is); if (startToken != token::BEGIN_SQR) diff --git a/src/OpenFOAM/fields/GeometricFields/GeometricField/GeometricBoundaryField.C b/src/OpenFOAM/fields/GeometricFields/GeometricField/GeometricBoundaryField.C index 25244a76ce..3b9978721c 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 3058b8e5b0..7fac125c07 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 compatability 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 tmp> operator+ diff --git a/src/OpenFOAM/fields/pointPatchFields/constraint/cyclic/cyclicPointPatchField.H b/src/OpenFOAM/fields/pointPatchFields/constraint/cyclic/cyclicPointPatchField.H index af0e4c24c6..d0672669e2 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::rank == 0); diff --git a/src/OpenFOAM/fields/pointPatchFields/constraint/processorCyclic/processorCyclicPointPatchField.H b/src/OpenFOAM/fields/pointPatchFields/constraint/processorCyclic/processorCyclicPointPatchField.H index 656f699147..d065499b4a 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 b4ac7f2dc8..e920ea0f6a 100644 --- a/src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointPatchField.H +++ b/src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointPatchField.H @@ -489,8 +489,8 @@ public: }; -// This function is added as a hack to enable simple backward compatability -// with verions using referenceLevel in GeometicField +// This function is added as a hack to enable simple backward compatibility +// with versions using referenceLevel in GeometicField template const pointPatchField& operator+ ( diff --git a/src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointPatchFieldNew.C b/src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointPatchFieldNew.C index 277f4c5407..76848bad85 100644 --- a/src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointPatchFieldNew.C +++ b/src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointPatchFieldNew.C @@ -140,7 +140,7 @@ Foam::autoPtr> Foam::pointPatchField::New } } - // Construct (but not necesarily returned) + // Construct (but not necessarily returned) autoPtr> pfPtr(cstrIter()(p, iF, dict)); if diff --git a/src/OpenFOAM/global/fileOperations/collatedFileOperation/collatedFileOperation.H b/src/OpenFOAM/global/fileOperations/collatedFileOperation/collatedFileOperation.H index 49a19e6735..2d8eb45cf5 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 ccd55b2fdd..60a2b3b8b0 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 f89f7e35fb..bef8aed2db 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.C b/src/OpenFOAM/global/fileOperations/uncollatedFileOperation/uncollatedFileOperation.C index ca111c2260..2c1bf5180b 100644 --- a/src/OpenFOAM/global/fileOperations/uncollatedFileOperation/uncollatedFileOperation.C +++ b/src/OpenFOAM/global/fileOperations/uncollatedFileOperation/uncollatedFileOperation.C @@ -598,7 +598,7 @@ bool Foam::fileOperations::uncollatedFileOperation::read if (masterOnly && Pstream::parRun()) { // Master reads headerclassname from file. Make sure this gets - // transfered as well as contents. + // transferred as well as contents. Pstream::scatter(io.headerClassName()); Pstream::scatter(io.note()); diff --git a/src/OpenFOAM/global/fileOperations/uncollatedFileOperation/uncollatedFileOperation.H b/src/OpenFOAM/global/fileOperations/uncollatedFileOperation/uncollatedFileOperation.H index 9ff5e55b32..a2b9448363 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 319a8541e1..156c68f1b0 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/interpolations/primitivePatchInterpolation/PrimitivePatchInterpolation.H b/src/OpenFOAM/interpolations/primitivePatchInterpolation/PrimitivePatchInterpolation.H index f0663606c5..5b08d82f2c 100644 --- a/src/OpenFOAM/interpolations/primitivePatchInterpolation/PrimitivePatchInterpolation.H +++ b/src/OpenFOAM/interpolations/primitivePatchInterpolation/PrimitivePatchInterpolation.H @@ -144,7 +144,7 @@ public: const tmp>& tff ) const; - //- Do what is neccessary if the mesh has moved + //- Do what is necessary if the mesh has moved bool movePoints(); }; diff --git a/src/OpenFOAM/interpolations/uniformInterpolationTable/uniformInterpolationTable.H b/src/OpenFOAM/interpolations/uniformInterpolationTable/uniformInterpolationTable.H index 680999cbc6..7f8c0869f9 100644 --- a/src/OpenFOAM/interpolations/uniformInterpolationTable/uniformInterpolationTable.H +++ b/src/OpenFOAM/interpolations/uniformInterpolationTable/uniformInterpolationTable.H @@ -25,7 +25,7 @@ Class Foam::uniformInterpolationTable Description - Table with uniform interval in independant variable, with linear + Table with uniform interval in independent variable, with linear interpolation Example usage (scalar): values specified within a dictionary: diff --git a/src/OpenFOAM/matrices/LduMatrix/LduMatrix/LduMatrix.H b/src/OpenFOAM/matrices/LduMatrix/LduMatrix/LduMatrix.H index f96d583b1f..ba65f77d06 100644 --- a/src/OpenFOAM/matrices/LduMatrix/LduMatrix/LduMatrix.H +++ b/src/OpenFOAM/matrices/LduMatrix/LduMatrix/LduMatrix.H @@ -32,7 +32,7 @@ Description Addressing arrays must be supplied for the upper and lower triangles. Note - It might be better if this class were organised as a hierachy starting + It might be better if this class were organised as a hierarchy starting from an empty matrix, then deriving diagonal, symmetric and asymmetric matrices. diff --git a/src/OpenFOAM/matrices/LduMatrix/LduMatrix/LduMatrixOperations.C b/src/OpenFOAM/matrices/LduMatrix/LduMatrix/LduMatrixOperations.C index 6d5f5be9c0..c82ccdf086 100644 --- a/src/OpenFOAM/matrices/LduMatrix/LduMatrix/LduMatrixOperations.C +++ b/src/OpenFOAM/matrices/LduMatrix/LduMatrix/LduMatrixOperations.C @@ -135,7 +135,7 @@ Foam::LduMatrix::faceH(const Field& psi) const const Field& Lower = const_cast(*this).lower(); const Field& Upper = const_cast(*this).upper(); - // Take refereces to addressing + // Take references to addressing const unallocLabelList& l = lduAddr().lowerAddr(); const unallocLabelList& u = lduAddr().upperAddr(); diff --git a/src/OpenFOAM/matrices/LduMatrix/LduMatrix/LduMatrixUpdateMatrixInterfaces.C b/src/OpenFOAM/matrices/LduMatrix/LduMatrix/LduMatrixUpdateMatrixInterfaces.C index 465c097bf0..71b930d392 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); } @@ -190,7 +190,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/SmoothSolver/SmoothSolver.H b/src/OpenFOAM/matrices/LduMatrix/Solvers/SmoothSolver/SmoothSolver.H index cc073477c7..3f69bceff3 100644 --- a/src/OpenFOAM/matrices/LduMatrix/Solvers/SmoothSolver/SmoothSolver.H +++ b/src/OpenFOAM/matrices/LduMatrix/Solvers/SmoothSolver/SmoothSolver.H @@ -25,7 +25,7 @@ Class Foam::SmoothSolver Description - Iterative solver for symmetric and assymetric matrices which uses a + Iterative solver for symmetric and asymmetric matrices which uses a run-time selected smoother e.g. GaussSeidel to converge the solution to the required tolerance. To improve efficiency, the residual is evaluated after every nSweeps smoothing iterations. diff --git a/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduInterface/processorLduInterface.H b/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduInterface/processorLduInterface.H index 9a9f9ddd88..8f68688bdd 100644 --- a/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduInterface/processorLduInterface.H +++ b/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduInterface/processorLduInterface.H @@ -90,7 +90,7 @@ public: //- Return processor number (rank in communicator) virtual int myProcNo() const = 0; - //- Return neigbour processor number (rank in communicator) + //- Return neighbour processor number (rank in communicator) virtual int neighbProcNo() const = 0; //- Return face transformation tensor diff --git a/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduInterfaceFields/processorLduInterfaceField/processorLduInterfaceField.H b/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduInterfaceFields/processorLduInterfaceField/processorLduInterfaceField.H index ac035fc82d..cf71434106 100644 --- a/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduInterfaceFields/processorLduInterfaceField/processorLduInterfaceField.H +++ b/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduInterfaceFields/processorLduInterfaceField/processorLduInterfaceField.H @@ -77,7 +77,7 @@ public: //- Return processor number virtual int myProcNo() const = 0; - //- Return neigbour processor number + //- Return neighbour processor number virtual int neighbProcNo() const = 0; //- Is the transform required diff --git a/src/OpenFOAM/matrices/lduMatrix/lduMatrix/lduMatrix.H b/src/OpenFOAM/matrices/lduMatrix/lduMatrix/lduMatrix.H index 30ba325a5a..074b26e62e 100644 --- a/src/OpenFOAM/matrices/lduMatrix/lduMatrix/lduMatrix.H +++ b/src/OpenFOAM/matrices/lduMatrix/lduMatrix/lduMatrix.H @@ -31,7 +31,7 @@ Description Addressing arrays must be supplied for the upper and lower triangles. - It might be better if this class were organised as a hierachy starting + It might be better if this class were organised as a hierarchy starting from an empty matrix, then deriving diagonal, symmetric and asymmetric matrices. diff --git a/src/OpenFOAM/matrices/lduMatrix/lduMatrix/lduMatrixUpdateMatrixInterfaces.C b/src/OpenFOAM/matrices/lduMatrix/lduMatrix/lduMatrixUpdateMatrixInterfaces.C index af65e1bc68..56995bf536 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 8f14752f1f..9dd9df7321 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 f9068707ca..8019e70a34 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 be57260c44..a6c0d8ecc6 100644 --- a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/processorGAMGInterfaceField/processorGAMGInterfaceField.H +++ b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/processorGAMGInterfaceField/processorGAMGInterfaceField.H @@ -166,13 +166,13 @@ public: return procInterface_.myProcNo(); } - //- Return neigbour processor number + //- Return neighbour processor number virtual int neighbProcNo() const { 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/matrices/lduMatrix/solvers/GAMG/interfaces/cyclicGAMGInterface/cyclicGAMGInterface.H b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaces/cyclicGAMGInterface/cyclicGAMGInterface.H index 6ee0b5d3aa..b5bb64b452 100644 --- a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaces/cyclicGAMGInterface/cyclicGAMGInterface.H +++ b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaces/cyclicGAMGInterface/cyclicGAMGInterface.H @@ -54,7 +54,7 @@ class cyclicGAMGInterface { // Private data - //- Neigbour patch number + //- Neighbour patch number label neighbPatchID_; //- Am I owner? @@ -124,7 +124,7 @@ public: //- Cyclic interface functions - //- Return neigbour processor number + //- Return neighbour processor number virtual label neighbPatchID() const { return neighbPatchID_; diff --git a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaces/processorGAMGInterface/processorGAMGInterface.H b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaces/processorGAMGInterface/processorGAMGInterface.H index 1c016aabf8..4a1aa9454c 100644 --- a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaces/processorGAMGInterface/processorGAMGInterface.H +++ b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaces/processorGAMGInterface/processorGAMGInterface.H @@ -159,7 +159,7 @@ public: return myProcNo_; } - //- Return neigbour processor number (rank in communicator) + //- Return neighbour processor number (rank in communicator) virtual int neighbProcNo() const { return neighbProcNo_; diff --git a/src/OpenFOAM/memory/tmp/tmp.H b/src/OpenFOAM/memory/tmp/tmp.H index a337271c40..d8cb1b7496 100644 --- a/src/OpenFOAM/memory/tmp/tmp.H +++ b/src/OpenFOAM/memory/tmp/tmp.H @@ -161,7 +161,7 @@ public: //- Assignment to pointer changing this tmp to a temporary T inline void operator=(T*); - //- Assignment transfering the temporary T to this tmp + //- Assignment transferring the temporary T to this tmp inline void operator=(const tmp&); }; diff --git a/src/OpenFOAM/memory/tmpNrc/tmpNrc.H b/src/OpenFOAM/memory/tmpNrc/tmpNrc.H index d6b6df0c31..96224af646 100644 --- a/src/OpenFOAM/memory/tmpNrc/tmpNrc.H +++ b/src/OpenFOAM/memory/tmpNrc/tmpNrc.H @@ -151,7 +151,7 @@ public: //- Assignment to pointer changing this tmpNrc to a temporary T inline void operator=(T*); - //- Assignment transfering the temporary T to this tmpNrc + //- Assignment transferring the temporary T to this tmpNrc inline void operator=(const tmpNrc&); }; diff --git a/src/OpenFOAM/meshes/ProcessorTopology/commSchedule.H b/src/OpenFOAM/meshes/ProcessorTopology/commSchedule.H index 8d626d59a1..3cc097285e 100644 --- a/src/OpenFOAM/meshes/ProcessorTopology/commSchedule.H +++ b/src/OpenFOAM/meshes/ProcessorTopology/commSchedule.H @@ -39,7 +39,7 @@ Description - procSchedule()[proci] gives per proci Does not care whether 'talking' is first send, second receive or maybe - full swap. This is all responsability of caller. See ProcessorTopology + full swap. This is all responsibility of caller. See ProcessorTopology class for use in scheduling processor boundary swaps. SourceFiles diff --git a/src/OpenFOAM/meshes/meshShapes/cell/cell.C b/src/OpenFOAM/meshes/meshShapes/cell/cell.C index e15205a451..daa8657f53 100644 --- a/src/OpenFOAM/meshes/meshShapes/cell/cell.C +++ b/src/OpenFOAM/meshes/meshShapes/cell/cell.C @@ -190,7 +190,7 @@ Foam::point Foam::cell::centre // relationship, which is not available on this level. Thus, all the // pyramids are believed to be positive with no checking. - // first calculate the aproximate cell centre as the average of all + // first calculate the approximate cell centre as the average of all // face centres vector cEst = Zero; scalar sumArea = 0; @@ -249,7 +249,7 @@ Foam::scalar Foam::cell::mag // WARNING! See cell::centre - // first calculate the aproximate cell centre as the average of all + // first calculate the approximate cell centre as the average of all // face centres vector cEst = Zero; scalar nCellFaces = 0; diff --git a/src/OpenFOAM/meshes/meshShapes/cell/oppositeCellFace.C b/src/OpenFOAM/meshes/meshShapes/cell/oppositeCellFace.C index 23686e1361..653a293b11 100644 --- a/src/OpenFOAM/meshes/meshShapes/cell/oppositeCellFace.C +++ b/src/OpenFOAM/meshes/meshShapes/cell/oppositeCellFace.C @@ -68,7 +68,7 @@ Foam::label Foam::cell::opposingFaceLabel { bool sharedPoint = false; - // Compare every vertex of the current face agains the + // Compare every vertex of the current face against the // vertices of the master face forAll(curFace, pointi) { diff --git a/src/OpenFOAM/meshes/meshShapes/cellModel/cellModel.C b/src/OpenFOAM/meshes/meshShapes/cellModel/cellModel.C index 1c487f2306..9e1b8df6bf 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/pointMesh/pointPatches/constraint/processor/processorPointPatch.H b/src/OpenFOAM/meshes/pointMesh/pointPatches/constraint/processor/processorPointPatch.H index 6699795bfc..494d995fbf 100644 --- a/src/OpenFOAM/meshes/pointMesh/pointPatches/constraint/processor/processorPointPatch.H +++ b/src/OpenFOAM/meshes/pointMesh/pointPatches/constraint/processor/processorPointPatch.H @@ -139,7 +139,7 @@ public: return procPolyPatch_.myProcNo(); } - //- Return neigbour processor number + //- Return neighbour processor number int neighbProcNo() const { return procPolyPatch_.neighbProcNo(); diff --git a/src/OpenFOAM/meshes/polyMesh/globalMeshData/globalMeshData.C b/src/OpenFOAM/meshes/polyMesh/globalMeshData/globalMeshData.C index 60db3a7c1b..e7a7948a9c 100644 --- a/src/OpenFOAM/meshes/polyMesh/globalMeshData/globalMeshData.C +++ b/src/OpenFOAM/meshes/polyMesh/globalMeshData/globalMeshData.C @@ -277,7 +277,7 @@ void Foam::globalMeshData::countSharedEdges { if (globalFnd() == -1) { - // Second time occurence of this edge. Assign proper + // Second time occurrence of this edge. Assign proper // edge label. globalFnd() = sharedEdgeI++; } diff --git a/src/OpenFOAM/meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C b/src/OpenFOAM/meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C index f8d4c8550d..e3c8103316 100644 --- a/src/OpenFOAM/meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C +++ b/src/OpenFOAM/meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C @@ -892,8 +892,8 @@ bool Foam::polyBoundaryMesh::checkParallelSync(const bool report) const Pout<< " ***Problem with boundary patch " << patchi << " named " << bm[patchi].name() << " of type " << bm[patchi].type() - << ". The patch seems to be preceeded by processor" - << " patches. This is can give problems." + << ". The patch seems to be preceded by processor" + << " patches. This is can lead to problems." << endl; } } diff --git a/src/OpenFOAM/meshes/polyMesh/polyMesh.H b/src/OpenFOAM/meshes/polyMesh/polyMesh.H index 64cc48631a..f0881e5eba 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/meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.C b/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.C index 8486c7299b..b4bc337512 100644 --- a/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.C +++ b/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.C @@ -1427,7 +1427,7 @@ bool Foam::cyclicPolyPatch::order ownerPatchPtr_.clear(); - // Return false if no change neccesary, true otherwise. + // Return false if no change necessary, true otherwise. forAll(faceMap, facei) { diff --git a/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/oldCyclic/oldCyclicPolyPatch.C b/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/oldCyclic/oldCyclicPolyPatch.C index 60df559308..89ea621e4b 100644 --- a/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/oldCyclic/oldCyclicPolyPatch.C +++ b/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/oldCyclic/oldCyclicPolyPatch.C @@ -1204,7 +1204,7 @@ bool Foam::oldCyclicPolyPatch::order rotation ); - // Return false if no change neccesary, true otherwise. + // Return false if no change necessary, true otherwise. forAll(faceMap, facei) { diff --git a/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/oldCyclic/oldCyclicPolyPatch.H b/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/oldCyclic/oldCyclicPolyPatch.H index 69130138fc..74f22862a1 100644 --- a/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/oldCyclic/oldCyclicPolyPatch.H +++ b/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/oldCyclic/oldCyclicPolyPatch.H @@ -99,7 +99,7 @@ class oldCyclicPolyPatch // Face ordering //- Find the two parts of the faces of pp using feature edges. - // Returns true if successfull. + // Returns true if successful. bool getGeometricHalves ( const primitivePatch&, diff --git a/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/processor/processorPolyPatch.H b/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/processor/processorPolyPatch.H index 99dc029602..0a0c1939f0 100644 --- a/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/processor/processorPolyPatch.H +++ b/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/processor/processorPolyPatch.H @@ -268,7 +268,7 @@ public: return myProcNo_; } - //- Return neigbour processor number + //- Return neighbour processor number int neighbProcNo() const { return neighbProcNo_; diff --git a/src/OpenFOAM/meshes/primitiveMesh/primitiveMesh.H b/src/OpenFOAM/meshes/primitiveMesh/primitiveMesh.H index 6382a274b7..bbaa6808f0 100644 --- a/src/OpenFOAM/meshes/primitiveMesh/primitiveMesh.H +++ b/src/OpenFOAM/meshes/primitiveMesh/primitiveMesh.H @@ -151,7 +151,7 @@ class primitiveMesh mutable labelListList* cpPtr_; - // On-the-fly edge addresing storage + // On-the-fly edge addressing storage //- Temporary storage for addressing. mutable DynamicList