From 55f751641e6ac10039bc8258d5d6daa2f56b2c73 Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Tue, 1 Jun 2021 14:51:48 +0100 Subject: [PATCH] Standardise on British spelling: initialize -> initialise OpenFOAM is predominantly written in Britain with British spelling conventions so -ise is preferred to -ize. --- applications/test/router/router.H | 4 ++-- .../conversion/Optional/ccm26ToFoam/ccm26ToFoam.C | 6 +++--- .../mesh/conversion/gmshToFoam/gmshToFoam.C | 4 ++-- .../reconstructParMesh/reconstructParMesh.C | 2 +- .../postProcessing/postProcess/postProcess.C | 4 ++-- .../surface/surfaceCoarsen/bunnylod/bunnygut.C | 2 +- .../surface/surfaceCoarsen/bunnylod/winmain.C | 2 +- bin/mpirunDebug | 4 ++-- doc/codingStyleGuide.org | 10 +--------- etc/bashrc | 6 +++--- etc/config.sh/functions | 4 ++-- .../RAS/kOmegaSSTLM/kOmegaSSTLM.C | 2 +- src/OSspecific/POSIX/signals/sigFpe.C | 6 +++--- src/OSspecific/POSIX/signals/sigFpe.H | 8 ++++---- .../dynamicIndexedOctree/dynamicIndexedOctree.C | 4 ++-- .../algorithms/indexedOctree/indexedOctree.C | 4 ++-- src/OpenFOAM/containers/HashTables/HashSet/HashSet.H | 4 ++-- .../containers/HashTables/HashTable/HashTable.H | 6 +++--- src/OpenFOAM/containers/HashTables/Map/Map.H | 4 ++-- .../containers/LinkedLists/accessTypes/LList/LList.H | 6 +++--- src/OpenFOAM/containers/Lists/FixedList/FixedList.H | 6 +++--- src/OpenFOAM/containers/Lists/List/List.H | 8 ++++---- .../containers/Lists/PackedList/PackedBoolList.H | 4 ++-- .../containers/Lists/PackedList/PackedList.H | 4 ++-- .../containers/Lists/SortableList/SortableList.H | 6 +++--- .../functionEntries/functionEntry/functionEntry.C | 6 +++--- src/OpenFOAM/db/dynamicLibrary/codedBase/codedBase.H | 2 +- .../functionObjectList/functionObjectList.C | 2 +- .../dimensionedType/dimensionedType.C | 8 ++++---- .../dimensionedType/dimensionedType.H | 6 +++--- .../SlicedGeometricField/SlicedGeometricField.C | 4 ++-- src/OpenFOAM/global/argList/argList.C | 4 ++-- src/OpenFOAM/global/argList/argList.H | 4 ++-- src/OpenFOAM/global/argList/parRun.H | 4 ++-- src/OpenFOAM/matrices/LLTMatrix/LLTMatrix.C | 6 +++--- .../LUscalarMatrix/LUscalarMatrixTemplates.C | 4 ++-- src/OpenFOAM/matrices/Matrix/Matrix.H | 6 +++--- src/OpenFOAM/matrices/QRMatrix/QRMatrix.C | 6 +++--- src/OpenFOAM/matrices/QRMatrix/QRMatrix.H | 4 ++-- .../matrices/RectangularMatrix/RectangularMatrix.H | 4 ++-- src/OpenFOAM/matrices/SquareMatrix/SquareMatrix.H | 10 +++++----- .../SymmetricSquareMatrix/SymmetricSquareMatrix.H | 6 +++--- src/OpenFOAM/memory/refCount/refCount.H | 4 ++-- .../meshes/meshShapes/face/faceIntersection.C | 8 ++++---- .../meshes/polyMesh/globalMeshData/globalPoints.C | 8 ++++---- .../meshes/polyMesh/globalMeshData/globalPoints.H | 6 +++--- .../polyMesh/polyBoundaryMesh/polyBoundaryMesh.C | 4 ++-- .../polyPatches/basic/coupled/coupledPolyPatch.H | 4 ++-- .../polyPatches/constraint/cyclic/cyclicPolyPatch.H | 4 ++-- .../constraint/processor/processorPolyPatch.H | 4 ++-- .../processorCyclic/processorCyclicPolyPatch.H | 4 ++-- .../polyMesh/polyPatches/polyPatch/polyPatch.H | 4 ++-- .../meshes/primitiveShapes/triangle/triangleI.H | 4 ++-- src/OpenFOAM/primitives/Barycentric/Barycentric.H | 4 ++-- .../primitives/Barycentric2D/Barycentric2D.H | 4 ++-- src/OpenFOAM/primitives/DiagTensor/DiagTensor.H | 4 ++-- src/OpenFOAM/primitives/MatrixSpace/MatrixSpace.H | 4 ++-- src/OpenFOAM/primitives/RowVector/RowVector.H | 4 ++-- src/OpenFOAM/primitives/SphericalTensor/Identity.H | 6 +++--- .../primitives/SphericalTensor/SphericalTensor.H | 4 ++-- .../primitives/SphericalTensor2D/SphericalTensor2D.H | 4 ++-- src/OpenFOAM/primitives/SymmTensor/SymmTensor.H | 4 ++-- src/OpenFOAM/primitives/SymmTensor2D/SymmTensor2D.H | 4 ++-- src/OpenFOAM/primitives/Tensor/Tensor.H | 4 ++-- src/OpenFOAM/primitives/Tensor2D/Tensor2D.H | 4 ++-- src/OpenFOAM/primitives/Vector/Vector.H | 4 ++-- src/OpenFOAM/primitives/Vector2D/Vector2D.H | 4 ++-- src/OpenFOAM/primitives/VectorSpace/VectorSpace.H | 4 ++-- src/OpenFOAM/primitives/hashes/Hasher/Hasher.C | 4 ++-- .../primitives/polynomialEqns/cubicEqn/cubicEqn.H | 4 ++-- .../primitives/polynomialEqns/linearEqn/linearEqn.H | 4 ++-- .../polynomialEqns/quadraticEqn/quadraticEqn.H | 4 ++-- .../SpatialTensor/SpatialTensor.H | 4 ++-- .../SpatialVector/SpatialVector.H | 4 ++-- src/conversion/meshReader/calcPointCells.C | 4 ++-- src/conversion/meshReader/createPolyBoundary.C | 4 ++-- src/conversion/meshReader/createPolyCells.C | 6 +++--- src/dynamicMesh/boundaryMesh/boundaryMesh.C | 4 ++-- src/dynamicMesh/fvMeshDistribute/fvMeshDistribute.C | 2 +- .../polyTopoChange/polyTopoChange/hexRef8/hexRef8.C | 4 ++-- .../polyTopoChange/polyTopoChange/removeFaces.C | 4 ++-- .../cfdTools/general/CorrectPhi/CorrectPhi.C | 4 ++-- .../uniformInletOutletFvPatchField.C | 4 ++-- .../cellLimitedGrad/cellLimitedGrad.C | 4 ++-- .../fvMesh/wallDist/wallPointYPlus/wallPointYPlus.H | 4 ++-- .../field/fieldAverage/fieldAverage.C | 12 ++++++------ .../field/fieldAverage/fieldAverage.H | 6 +++--- src/fvModels/general/codedFvModel/codedFvModel.H | 2 +- .../phaseProperties/phaseProperties.C | 2 +- .../ORourkeCollision/ORourkeCollision.C | 2 +- src/mesh/blockMesh/blockMesh/blockMeshMergeFast.C | 4 ++-- .../refinementSurfaces/refinementSurfaces.C | 10 +++++----- .../cyclicACMIPolyPatch/cyclicACMIPolyPatch.H | 4 ++-- .../cyclicAMIPolyPatch/cyclicAMIPolyPatch.H | 4 ++-- src/meshTools/cellDist/patchWave/patchDataWave.H | 4 ++-- src/meshTools/cellDist/patchWave/patchWave.H | 4 ++-- .../searchableSurfacesQueries.C | 6 +++--- .../intersectedSurface/intersectedSurface.C | 4 ++-- .../triSurface/triSurfaceTools/geompack/geompack.C | 2 +- .../perturbedTemperatureDependentContactAngleForce.C | 4 ++-- .../thermalBaffle/thermalBaffle.H | 4 ++-- .../thermalBaffleModel/thermalBaffleModel.H | 4 ++-- .../rigidBodyInertia/rigidBodyInertia.H | 4 ++-- .../rigidBodyModel/rigidBodyModel.C | 8 ++++---- .../rigidBodyModel/rigidBodyModel.H | 6 +++--- .../rigidBodyMotion/rigidBodyMotion.C | 10 +++++----- .../rigidBodyMotion/rigidBodyMotion.H | 6 +++--- .../sampledSurface/sampledSurface/sampledSurface.H | 4 ++-- .../UnsortedMeshedSurface/UnsortedMeshedSurface.C | 4 ++-- src/surfMesh/surfMesh/surfMesh.C | 4 ++-- .../TDACChemistryModel/TDACChemistryModel.C | 2 +- .../TDACChemistryModel/reduction/DAC/DAC.C | 10 +++++----- .../TDACChemistryModel/reduction/DAC/DAC.H | 4 ++-- .../TDACChemistryModel/reduction/DRG/DRG.C | 8 ++++---- .../TDACChemistryModel/reduction/DRGEP/DRGEP.C | 12 ++++++------ .../TDACChemistryModel/reduction/DRGEP/DRGEP.H | 4 ++-- .../TDACChemistryModel/reduction/EFA/EFA.C | 8 ++++---- .../TDACChemistryModel/reduction/PFA/PFA.C | 10 +++++----- .../tabulation/ISAT/binaryTree/binaryTree.C | 8 ++++---- .../tabulation/ISAT/binaryTree/binaryTree.H | 8 ++++---- src/twoPhaseModels/twoPhaseMixture/MPLIC/MPLICcell.C | 6 +++--- .../twoPhaseMixture/MPLIC/MPLICcellI.H | 6 +++--- .../twoPhaseMixture/MPLIC/MPLICcellStorage.C | 10 +++++----- .../multiphase/interFoam/RAS/mixerVesselAMI/Allrun | 2 +- 124 files changed, 302 insertions(+), 310 deletions(-) diff --git a/applications/test/router/router.H b/applications/test/router/router.H index 61cf9ed8d6..8fce2b8385 100644 --- a/applications/test/router/router.H +++ b/applications/test/router/router.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -68,7 +68,7 @@ Description + B - Lee algo: take array with same dimensions as grid of nodes. Initialize to + Lee algo: take array with same dimensions as grid of nodes. Initialise to large number. Put 0 at starting point. Now recursively assign neighbours as current value plus one. Stop if you hit node which has smaller number. Phase two is where you search path with lowest value. These are assigned diff --git a/applications/utilities/mesh/conversion/Optional/ccm26ToFoam/ccm26ToFoam.C b/applications/utilities/mesh/conversion/Optional/ccm26ToFoam/ccm26ToFoam.C index e2291a9e44..6dccdd3a38 100644 --- a/applications/utilities/mesh/conversion/Optional/ccm26ToFoam/ccm26ToFoam.C +++ b/applications/utilities/mesh/conversion/Optional/ccm26ToFoam/ccm26ToFoam.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -666,7 +666,7 @@ int main(int argc, char *argv[]) << exit(FatalError); } - // Open the file. Because we did not initialize 'err' we need to pass + // Open the file. Because we did not initialise 'err' we need to pass // in nullptr (which always means kCCMIONoErr) and then assign the // return value to 'err'.). CCMIOID root; @@ -694,7 +694,7 @@ int main(int argc, char *argv[]) << endl; delete [] desc; - // Find the first processor (i has previously been initialized to 0) and + // Find the first processor (i has previously been initialised to 0) and // read the mesh and solution information. int i = 0; CCMIOID processor; diff --git a/applications/utilities/mesh/conversion/gmshToFoam/gmshToFoam.C b/applications/utilities/mesh/conversion/gmshToFoam/gmshToFoam.C index 1b2416edb5..b41925b3cb 100644 --- a/applications/utilities/mesh/conversion/gmshToFoam/gmshToFoam.C +++ b/applications/utilities/mesh/conversion/gmshToFoam/gmshToFoam.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -40,7 +40,7 @@ Description to create cell zones and faces zones (similar to fluentMeshWithInternalFaces). - A use of the cell zone information, is for field initialization with the + A use of the cell zone information, is for field initialisation with the "setFields" utility. see the classes: topoSetSource, zoneToCell. \*---------------------------------------------------------------------------*/ diff --git a/applications/utilities/parallelProcessing/reconstructParMesh/reconstructParMesh.C b/applications/utilities/parallelProcessing/reconstructParMesh/reconstructParMesh.C index 080717687a..9c873c36fb 100644 --- a/applications/utilities/parallelProcessing/reconstructParMesh/reconstructParMesh.C +++ b/applications/utilities/parallelProcessing/reconstructParMesh/reconstructParMesh.C @@ -387,7 +387,7 @@ int main(int argc, char *argv[]) ) ); - // Initialize its addressing + // Initialise its addressing cellProcAddressing[proci] = identity(meshToAdd.nCells()); faceProcAddressing[proci] = identity(meshToAdd.nFaces()); pointProcAddressing[proci] = identity(meshToAdd.nPoints()); diff --git a/applications/utilities/postProcessing/postProcess/postProcess.C b/applications/utilities/postProcessing/postProcess/postProcess.C index 69ef11ef3b..31a34edebe 100644 --- a/applications/utilities/postProcessing/postProcess/postProcess.C +++ b/applications/utilities/postProcessing/postProcess/postProcess.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2016-2018 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2016-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -150,7 +150,7 @@ int main(int argc, char *argv[]) Foam::instantList timeDirs = Foam::timeSelector::select0(runTime, args); #include "createNamedMesh.H" - // Initialize the set of selected fields from the command-line options + // Initialise the set of selected fields from the command-line options HashSet selectedFields; if (args.optionFound("fields")) { diff --git a/applications/utilities/surface/surfaceCoarsen/bunnylod/bunnygut.C b/applications/utilities/surface/surfaceCoarsen/bunnylod/bunnygut.C index 0c52613157..31cc948347 100644 --- a/applications/utilities/surface/surfaceCoarsen/bunnylod/bunnygut.C +++ b/applications/utilities/surface/surfaceCoarsen/bunnylod/bunnygut.C @@ -3,7 +3,7 @@ * Permission to use any of this code wherever you want is granted.. * Although, please do acknowledge authorship if appropriate. * - * This module initializes the bunny model data and calls + * This module initialises the bunny model data and calls * the polygon reduction routine. At each frame the RenderModel() * routine is called to draw the model. This module also * animates the parameters (such as number of vertices to diff --git a/applications/utilities/surface/surfaceCoarsen/bunnylod/winmain.C b/applications/utilities/surface/surfaceCoarsen/bunnylod/winmain.C index 493383cc3c..6226c31e95 100644 --- a/applications/utilities/surface/surfaceCoarsen/bunnylod/winmain.C +++ b/applications/utilities/surface/surfaceCoarsen/bunnylod/winmain.C @@ -406,7 +406,7 @@ int APIENTRY WinMain(HINSTANCE hCurrentInst, HINSTANCE hPreviousInst, HWND hWnd; /* window */ MSG msg; /* message */ - // InitModel() initializes some data structures and + // InitModel() initialises some data structures and // does the progressive mesh polygon reduction algorithm // on the model. CalcFPSDeltaT(); // to time the algorithm diff --git a/bin/mpirunDebug b/bin/mpirunDebug index 78d2f43501..57fd1279fb 100755 --- a/bin/mpirunDebug +++ b/bin/mpirunDebug @@ -3,7 +3,7 @@ # ========= | # \\ / F ield | OpenFOAM: The Open Source CFD Toolbox # \\ / O peration | Website: https://openfoam.org -# \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation +# \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation # \\/ M anipulation | #------------------------------------------------------------------------------ # License @@ -107,7 +107,7 @@ fi echo "run $args" > $PWD/gdbCommands echo "where" >> $PWD/gdbCommands -echo "Constructed gdb initialization file $PWD/gdbCommands" +echo "Constructed gdb initialisation file $PWD/gdbCommands" $ECHO "Choose running method: 0)normal 1)gdb+xterm 2)gdb 3)log 4)log+xterm 5)xterm+valgrind 6)gperftools(callgrind): \c" read method diff --git a/doc/codingStyleGuide.org b/doc/codingStyleGuide.org index b96cd1a585..84fdc58f06 100644 --- a/doc/codingStyleGuide.org +++ b/doc/codingStyleGuide.org @@ -484,15 +484,7 @@ *** Orthography Given the origins of OpenFOAM, the British spellings (/e.g./, neighbour and - not neighbor) are generally favoured. - - Both '-ize' and the '-ise' variant are found in the code comments. If - used as a variable or class method name, it is probably better to use - '-ize', which is considered the main form by the Oxford University - Press. /e.g./, - #+begin_src C++ - myClass.initialize() - #+end_src + not neighbor and '-ise' rather than '-ize') are generally favoured. *** References References provided in the =Description= section of the class header files should be formatted in the [[http://www.apastyle.org][APA (American diff --git a/etc/bashrc b/etc/bashrc index 7e74235221..cd01cd5c7c 100644 --- a/etc/bashrc +++ b/etc/bashrc @@ -2,7 +2,7 @@ # ========= | # \\ / F ield | OpenFOAM: The Open Source CFD Toolbox # \\ / O peration | Website: https://openfoam.org -# \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation +# \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation # \\/ M anipulation | #------------------------------------------------------------------------------ # License @@ -151,7 +151,7 @@ fi # ~~~~~~~~~~~~~~~~~~~~~~ export WM_PROJECT_USER_DIR=$HOME/$WM_PROJECT/$USER-$WM_PROJECT_VERSION -# Source initialization functions +# Source initialisation functions # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . $WM_PROJECT_DIR/etc/config.sh/functions @@ -220,7 +220,7 @@ fi unset cleaned foamClean foamOldDirs -# Unload initialization functions: +# Unload initialisation functions: # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . $WM_PROJECT_DIR/etc/config.sh/functions diff --git a/etc/config.sh/functions b/etc/config.sh/functions index 3810a041c9..05ec338223 100644 --- a/etc/config.sh/functions +++ b/etc/config.sh/functions @@ -2,7 +2,7 @@ # ========= | # \\ / F ield | OpenFOAM: The Open Source CFD Toolbox # \\ / O peration | Website: https://openfoam.org -# \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation +# \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation # \\/ M anipulation | #------------------------------------------------------------------------------ # License @@ -25,7 +25,7 @@ # etc/config.sh/functions # # Description -# Initialization script functions for the bashrc environment +# Initialisation script functions for the bashrc environment # Sourced from OpenFOAM-/etc/config.sh/bashrc # #------------------------------------------------------------------------------ diff --git a/src/MomentumTransportModels/momentumTransportModels/RAS/kOmegaSSTLM/kOmegaSSTLM.C b/src/MomentumTransportModels/momentumTransportModels/RAS/kOmegaSSTLM/kOmegaSSTLM.C index 55a44c99ee..0f2f3f94d9 100644 --- a/src/MomentumTransportModels/momentumTransportModels/RAS/kOmegaSSTLM/kOmegaSSTLM.C +++ b/src/MomentumTransportModels/momentumTransportModels/RAS/kOmegaSSTLM/kOmegaSSTLM.C @@ -227,7 +227,7 @@ kOmegaSSTLM::ReThetat0 max(100*sqrt((2.0/3.0)*k[celli])/Us[celli], scalar(0.027)) ); - // Initialize lambda to zero. + // Initialise lambda to zero. // If lambda were cached between time-steps convergence would be faster // starting from the previous time-step value. scalar lambda = 0; diff --git a/src/OSspecific/POSIX/signals/sigFpe.C b/src/OSspecific/POSIX/signals/sigFpe.C index 9b2ccb2deb..f9c05bb04c 100644 --- a/src/OSspecific/POSIX/signals/sigFpe.C +++ b/src/OSspecific/POSIX/signals/sigFpe.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -75,7 +75,7 @@ void* Foam::sigFpe::mallocNan(size_t size) // Call the low-level GLIBC malloc function void * result = __libc_malloc(size); - // Initialize to signalling NaN + // Initialise to signalling NaN UList lst(reinterpret_cast(result), size/sizeof(scalar)); sigFpe::fillNan(lst); @@ -138,7 +138,7 @@ Foam::sigFpe::~sigFpe() if (env("FOAM_SETNAN")) { #ifdef LINUX - // Disable initialization to NaN + // Disable initialisation to NaN mallocNanActive_ = false; #endif } diff --git a/src/OSspecific/POSIX/signals/sigFpe.H b/src/OSspecific/POSIX/signals/sigFpe.H index 80d3b21662..b3fb45c9b0 100644 --- a/src/OSspecific/POSIX/signals/sigFpe.H +++ b/src/OSspecific/POSIX/signals/sigFpe.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -31,8 +31,8 @@ Description - \par FOAM_SIGFPE Exception trapping - \par FOAM_SETNAN - Initialization of all malloced memory to NaN. If FOAM_SIGFPE - also set, this will cause usage of uninitialized scalars to trigger + Initialisation of all malloced memory to NaN. If FOAM_SIGFPE + also set, this will cause usage of uninitialised scalars to trigger an abort. SourceFiles @@ -104,7 +104,7 @@ public: static bool mallocNanActive_; #ifdef LINUX - //- Malloc function which initializes to NaN + //- Malloc function which initialises to NaN static void* mallocNan(size_t size); #endif diff --git a/src/OpenFOAM/algorithms/dynamicIndexedOctree/dynamicIndexedOctree.C b/src/OpenFOAM/algorithms/dynamicIndexedOctree/dynamicIndexedOctree.C index 78846a53de..fcd7140133 100644 --- a/src/OpenFOAM/algorithms/dynamicIndexedOctree/dynamicIndexedOctree.C +++ b/src/OpenFOAM/algorithms/dynamicIndexedOctree/dynamicIndexedOctree.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -1493,7 +1493,7 @@ Foam::pointIndexHit Foam::dynamicIndexedOctree::findLine << " bb:" << subBbox(nodeI, octant) << endl; } - // Current position. Initialize to miss + // Current position. Initialise to miss pointIndexHit hitInfo(false, treeStart, -1); // while (true) diff --git a/src/OpenFOAM/algorithms/indexedOctree/indexedOctree.C b/src/OpenFOAM/algorithms/indexedOctree/indexedOctree.C index 2886465717..87edf380ce 100644 --- a/src/OpenFOAM/algorithms/indexedOctree/indexedOctree.C +++ b/src/OpenFOAM/algorithms/indexedOctree/indexedOctree.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -1521,7 +1521,7 @@ Foam::pointIndexHit Foam::indexedOctree::findLine << " bb:" << subBbox(nodeI, octant) << endl; } - // Current position. Initialize to miss + // Current position. Initialise to miss pointIndexHit hitInfo(false, treeStart, -1); // while (true) diff --git a/src/OpenFOAM/containers/HashTables/HashSet/HashSet.H b/src/OpenFOAM/containers/HashTables/HashSet/HashSet.H index e58aeff4da..a51f40e7c2 100644 --- a/src/OpenFOAM/containers/HashTables/HashSet/HashSet.H +++ b/src/OpenFOAM/containers/HashTables/HashSet/HashSet.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -100,7 +100,7 @@ public: template HashSet(const HashTable&); - //- Construct from an initializer list + //- Construct from an initialiser list HashSet(std::initializer_list); diff --git a/src/OpenFOAM/containers/HashTables/HashTable/HashTable.H b/src/OpenFOAM/containers/HashTables/HashTable/HashTable.H index 35fa84088a..05fd5f89da 100644 --- a/src/OpenFOAM/containers/HashTables/HashTable/HashTable.H +++ b/src/OpenFOAM/containers/HashTables/HashTable/HashTable.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -212,7 +212,7 @@ public: //- Move constructor HashTable(HashTable&&); - //- Construct from an initializer list + //- Construct from an initialiser list HashTable(std::initializer_list>); @@ -315,7 +315,7 @@ public: //- Move assignment operator void operator=(HashTable&&); - //- Assignment to an initializer list + //- Assignment to an initialiser list void operator=(std::initializer_list>); //- Equality. Hash tables are equal if the keys and values are equal. diff --git a/src/OpenFOAM/containers/HashTables/Map/Map.H b/src/OpenFOAM/containers/HashTables/Map/Map.H index e36f906115..6feadcf0cc 100644 --- a/src/OpenFOAM/containers/HashTables/Map/Map.H +++ b/src/OpenFOAM/containers/HashTables/Map/Map.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -91,7 +91,7 @@ public: HashTable>(move(map)) {} - //- Construct from an initializer list + //- Construct from an initialiser list Map(std::initializer_list> map) : HashTable>(map) diff --git a/src/OpenFOAM/containers/LinkedLists/accessTypes/LList/LList.H b/src/OpenFOAM/containers/LinkedLists/accessTypes/LList/LList.H index 17d7d74d70..94b4d5c780 100644 --- a/src/OpenFOAM/containers/LinkedLists/accessTypes/LList/LList.H +++ b/src/OpenFOAM/containers/LinkedLists/accessTypes/LList/LList.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -124,7 +124,7 @@ public: //- Move constructor LList(LList&&); - //- Construct from an initializer list + //- Construct from an initialiser list LList(std::initializer_list); @@ -218,7 +218,7 @@ public: //- Move assignment operator void operator=(LList&&); - //- Assignment to an initializer list + //- Assignment to an initialiser list void operator=(std::initializer_list); diff --git a/src/OpenFOAM/containers/Lists/FixedList/FixedList.H b/src/OpenFOAM/containers/Lists/FixedList/FixedList.H index f06e388d94..9670a2dade 100644 --- a/src/OpenFOAM/containers/Lists/FixedList/FixedList.H +++ b/src/OpenFOAM/containers/Lists/FixedList/FixedList.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -129,7 +129,7 @@ public: template inline FixedList(InputIterator first, InputIterator last); - //- Construct from an initializer list + //- Construct from an initialiser list inline FixedList(std::initializer_list); //- Construct from UList @@ -225,7 +225,7 @@ public: //- Assignment to SLList operator. Takes linear time inline void operator=(const SLList&); - //- Assignment to an initializer list. Takes linear time + //- Assignment to an initialiser list. Takes linear time inline void operator=(std::initializer_list); //- Assignment of all entries to the given value diff --git a/src/OpenFOAM/containers/Lists/List/List.H b/src/OpenFOAM/containers/Lists/List/List.H index 29204c851b..19ba4a3c0f 100644 --- a/src/OpenFOAM/containers/Lists/List/List.H +++ b/src/OpenFOAM/containers/Lists/List/List.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -141,7 +141,7 @@ public: //- Construct with given size and value for all elements List(const label, const T&); - //- Construct with given size initializing all elements to zero + //- Construct with given size initialising all elements to zero List(const label, const zero); //- Copy constructor @@ -180,7 +180,7 @@ public: //- Construct as copy of BiIndirectList explicit List(const BiIndirectList&); - //- Construct from an initializer list + //- Construct from an initialiser list List(std::initializer_list); //- Construct from Istream @@ -273,7 +273,7 @@ public: //- Assignment to BiIndirectList operator. Takes linear time void operator=(const BiIndirectList&); - //- Assignment to an initializer list + //- Assignment to an initialiser list void operator=(std::initializer_list); //- Assignment of all entries to the given value diff --git a/src/OpenFOAM/containers/Lists/PackedList/PackedBoolList.H b/src/OpenFOAM/containers/Lists/PackedList/PackedBoolList.H index 8d356fa115..03ab5f7c7c 100644 --- a/src/OpenFOAM/containers/Lists/PackedList/PackedBoolList.H +++ b/src/OpenFOAM/containers/Lists/PackedList/PackedBoolList.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -96,7 +96,7 @@ public: //- Construct from Istream PackedBoolList(Istream&); - //- Construct with given size, initializes list to 0 + //- Construct with given size, initialises list to 0 explicit inline PackedBoolList(const label size); //- Construct with given size and value for all elements diff --git a/src/OpenFOAM/containers/Lists/PackedList/PackedList.H b/src/OpenFOAM/containers/Lists/PackedList/PackedList.H index 951da80f0d..ba53e9ba4b 100644 --- a/src/OpenFOAM/containers/Lists/PackedList/PackedList.H +++ b/src/OpenFOAM/containers/Lists/PackedList/PackedList.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -221,7 +221,7 @@ public: //- Null constructor inline PackedList(); - //- Construct with given size, initializes list to 0 + //- Construct with given size, initialises list to 0 explicit inline PackedList(const label size); //- Construct with given size and value for all elements diff --git a/src/OpenFOAM/containers/Lists/SortableList/SortableList.H b/src/OpenFOAM/containers/Lists/SortableList/SortableList.H index a4c07ccada..3036d2b0b0 100644 --- a/src/OpenFOAM/containers/Lists/SortableList/SortableList.H +++ b/src/OpenFOAM/containers/Lists/SortableList/SortableList.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -87,7 +87,7 @@ public: //- Move constructor SortableList(SortableList&&); - //- Construct from an initializer list, sorting immediately + //- Construct from an initialiser list, sorting immediately SortableList(std::initializer_list); @@ -133,7 +133,7 @@ public: //- Move assignment operator inline void operator=(SortableList&&); - //- Assignment to an initializer list + //- Assignment to an initialiser list void operator=(std::initializer_list); }; diff --git a/src/OpenFOAM/db/dictionary/functionEntries/functionEntry/functionEntry.C b/src/OpenFOAM/db/dictionary/functionEntries/functionEntry/functionEntry.C index c45de76223..ec69ea27be 100644 --- a/src/OpenFOAM/db/dictionary/functionEntries/functionEntry/functionEntry.C +++ b/src/OpenFOAM/db/dictionary/functionEntries/functionEntry/functionEntry.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -191,7 +191,7 @@ bool Foam::functionEntry::execute { cerr<< "functionEntry::execute" << "(const word&, dictionary&, Istream&)" - << " not yet initialized, function = " + << " not yet initialised, function = " << functionName.c_str() << std::endl; // Return true to keep reading @@ -234,7 +234,7 @@ bool Foam::functionEntry::execute { cerr<< "functionEntry::execute" << "(const word&, const dictionary&, primitiveEntry&, Istream&)" - << " not yet initialized, function = " + << " not yet initialised, function = " << functionName.c_str() << std::endl; // return true to keep reading anyhow diff --git a/src/OpenFOAM/db/dynamicLibrary/codedBase/codedBase.H b/src/OpenFOAM/db/dynamicLibrary/codedBase/codedBase.H index 3b5af8cbe4..1e388fecf8 100644 --- a/src/OpenFOAM/db/dynamicLibrary/codedBase/codedBase.H +++ b/src/OpenFOAM/db/dynamicLibrary/codedBase/codedBase.H @@ -101,7 +101,7 @@ protected: //- Return a description (type + name) for the output virtual string description() const; - //- Get the dictionary to initialize the codeContext + //- Get the dictionary to initialise the codeContext virtual const dictionary& codeDict() const; //- Get the keywords associated with source code diff --git a/src/OpenFOAM/db/functionObjects/functionObjectList/functionObjectList.C b/src/OpenFOAM/db/functionObjects/functionObjectList/functionObjectList.C index 8254750912..93bf0b33ba 100644 --- a/src/OpenFOAM/db/functionObjects/functionObjectList/functionObjectList.C +++ b/src/OpenFOAM/db/functionObjects/functionObjectList/functionObjectList.C @@ -654,7 +654,7 @@ bool Foam::functionObjectList::read() bool ok = true; updated_ = execution_; - // Avoid reading/initializing if execution is off + // Avoid reading/initialising if execution is off if (!execution_) { return true; diff --git a/src/OpenFOAM/dimensionedTypes/dimensionedType/dimensionedType.C b/src/OpenFOAM/dimensionedTypes/dimensionedType/dimensionedType.C index 2725755c3f..a88f2a1e02 100644 --- a/src/OpenFOAM/dimensionedTypes/dimensionedType/dimensionedType.C +++ b/src/OpenFOAM/dimensionedTypes/dimensionedType/dimensionedType.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -30,7 +30,7 @@ License // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // template -void Foam::dimensioned::initialize(Istream& is) +void Foam::dimensioned::initialise(Istream& is) { token nextToken(is); is.putBack(nextToken); @@ -161,7 +161,7 @@ Foam::dimensioned::dimensioned dimensions_(dimSet), value_(Zero) { - initialize(is); + initialise(is); } @@ -177,7 +177,7 @@ Foam::dimensioned::dimensioned dimensions_(dimSet), value_(Zero) { - initialize(dict.lookup(name)); + initialise(dict.lookup(name)); } diff --git a/src/OpenFOAM/dimensionedTypes/dimensionedType/dimensionedType.H b/src/OpenFOAM/dimensionedTypes/dimensionedType/dimensionedType.H index 3297fceec3..f6e5b67d1c 100644 --- a/src/OpenFOAM/dimensionedTypes/dimensionedType/dimensionedType.H +++ b/src/OpenFOAM/dimensionedTypes/dimensionedType/dimensionedType.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -78,9 +78,9 @@ class dimensioned // Private Member Functions - //- Initialize from Istream + //- Initialise from Istream // Helper-function for constructors - void initialize(Istream& is); + void initialise(Istream& is); public: diff --git a/src/OpenFOAM/fields/GeometricFields/SlicedGeometricField/SlicedGeometricField.C b/src/OpenFOAM/fields/GeometricFields/SlicedGeometricField/SlicedGeometricField.C index 80b3f54925..fb4288c427 100644 --- a/src/OpenFOAM/fields/GeometricFields/SlicedGeometricField/SlicedGeometricField.C +++ b/src/OpenFOAM/fields/GeometricFields/SlicedGeometricField/SlicedGeometricField.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -75,7 +75,7 @@ slicedBoundaryField ) ); - // Initialize the values on the coupled patch to those of the slice + // Initialise the values on the coupled patch to those of the slice // of the given field. // Note: these will usually be over-ridden by the boundary field // evaluation e.g. in the case of processor and cyclic patches. diff --git a/src/OpenFOAM/global/argList/argList.C b/src/OpenFOAM/global/argList/argList.C index 0d51fe4439..5d169491a9 100644 --- a/src/OpenFOAM/global/argList/argList.C +++ b/src/OpenFOAM/global/argList/argList.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -996,7 +996,7 @@ void Foam::argList::parse { Info<< "Roots : " << roots << nl; } - Info<< "Pstream initialized with:" << nl + Info<< "Pstream initialised with:" << nl << " floatTransfer : " << Pstream::floatTransfer << nl << " nProcsSimpleSum : " << Pstream::nProcsSimpleSum << nl << " commsType : " diff --git a/src/OpenFOAM/global/argList/argList.H b/src/OpenFOAM/global/argList/argList.H index 91cc5b7e2f..3fef6002ae 100644 --- a/src/OpenFOAM/global/argList/argList.H +++ b/src/OpenFOAM/global/argList/argList.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -174,7 +174,7 @@ public: //- Standard name for the post-processing option static word postProcessOptionName; - // Class to initialize options table + // Class to initialise options table // with the standard case related options class initValidTables { diff --git a/src/OpenFOAM/global/argList/parRun.H b/src/OpenFOAM/global/argList/parRun.H index 49351c6538..e8de3d053d 100644 --- a/src/OpenFOAM/global/argList/parRun.H +++ b/src/OpenFOAM/global/argList/parRun.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -25,7 +25,7 @@ Class Foam::ParRunControl Description - Helper class for initializing parallel jobs from the command arguments. + Helper class for initialising parallel jobs from the command arguments. \*---------------------------------------------------------------------------*/ diff --git a/src/OpenFOAM/matrices/LLTMatrix/LLTMatrix.C b/src/OpenFOAM/matrices/LLTMatrix/LLTMatrix.C index a345867782..470d097eb9 100644 --- a/src/OpenFOAM/matrices/LLTMatrix/LLTMatrix.C +++ b/src/OpenFOAM/matrices/LLTMatrix/LLTMatrix.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2016-2018 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2016-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -46,7 +46,7 @@ void Foam::LLTMatrix::decompose(const SquareMatrix& M) { SquareMatrix& LLT = *this; - // Initialize the LLT decomposition matrix to M + // Initialise the LLT decomposition matrix to M LLT = M; const label m = LLT.m(); @@ -95,7 +95,7 @@ void Foam::LLTMatrix::solve const Field& source ) const { - // If x and source are different initialize x = source + // If x and source are different initialise x = source if (&x != &source) { x = source; diff --git a/src/OpenFOAM/matrices/LUscalarMatrix/LUscalarMatrixTemplates.C b/src/OpenFOAM/matrices/LUscalarMatrix/LUscalarMatrixTemplates.C index ee5efd9777..7609afd579 100644 --- a/src/OpenFOAM/matrices/LUscalarMatrix/LUscalarMatrixTemplates.C +++ b/src/OpenFOAM/matrices/LUscalarMatrix/LUscalarMatrixTemplates.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -35,7 +35,7 @@ void Foam::LUscalarMatrix::solve const Field& source ) const { - // If x and source are different initialize x = source + // If x and source are different initialise x = source if (&x != &source) { x = source; diff --git a/src/OpenFOAM/matrices/Matrix/Matrix.H b/src/OpenFOAM/matrices/Matrix/Matrix.H index fee68a42bc..2f8de21751 100644 --- a/src/OpenFOAM/matrices/Matrix/Matrix.H +++ b/src/OpenFOAM/matrices/Matrix/Matrix.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -115,11 +115,11 @@ public: Matrix(const label m, const label n); //- Construct with given number of rows and columns - // initializing all elements to zero + // initialising all elements to zero Matrix(const label m, const label n, const zero); //- Construct with given number of rows and columns - // initializing all elements to the given value + // initialising all elements to the given value Matrix(const label m, const label n, const Type&); //- Copy constructor. diff --git a/src/OpenFOAM/matrices/QRMatrix/QRMatrix.C b/src/OpenFOAM/matrices/QRMatrix/QRMatrix.C index ed4c01ed0b..9592092a1f 100644 --- a/src/OpenFOAM/matrices/QRMatrix/QRMatrix.C +++ b/src/OpenFOAM/matrices/QRMatrix/QRMatrix.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2016-2018 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2016-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -42,10 +42,10 @@ void Foam::QRMatrix::decompose(const MatrixType& M) const label m = M.m(); const label n = M.n(); - // Initialize the R-matrix to M + // Initialise the R-matrix to M R_ = M; - // Initialize the Q-matrix to I + // Initialise the Q-matrix to I Q_.setSize(m); Q_ = I; diff --git a/src/OpenFOAM/matrices/QRMatrix/QRMatrix.H b/src/OpenFOAM/matrices/QRMatrix/QRMatrix.H index 6b1b40a018..89aa5b6d46 100644 --- a/src/OpenFOAM/matrices/QRMatrix/QRMatrix.H +++ b/src/OpenFOAM/matrices/QRMatrix/QRMatrix.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2016-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2016-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -71,7 +71,7 @@ private: // Private Member Functions - //- Solve the linear system with the Field argument x initialized to + //- Solve the linear system with the Field argument x initialised to // the appropriate transformed source (e.g. Q.T()*source) // and return the solution in x void solvex(Field& x) const; diff --git a/src/OpenFOAM/matrices/RectangularMatrix/RectangularMatrix.H b/src/OpenFOAM/matrices/RectangularMatrix/RectangularMatrix.H index 40c6bece0b..0abc151201 100644 --- a/src/OpenFOAM/matrices/RectangularMatrix/RectangularMatrix.H +++ b/src/OpenFOAM/matrices/RectangularMatrix/RectangularMatrix.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -75,7 +75,7 @@ public: inline RectangularMatrix(const MatrixBlock&); //- Construct with given number of rows and columns - // initializing all elements to zero + // initialising all elements to zero inline RectangularMatrix(const label m, const label n, const zero); //- Construct with given number of rows and columns diff --git a/src/OpenFOAM/matrices/SquareMatrix/SquareMatrix.H b/src/OpenFOAM/matrices/SquareMatrix/SquareMatrix.H index 392ac7a11e..fc9a7cc24b 100644 --- a/src/OpenFOAM/matrices/SquareMatrix/SquareMatrix.H +++ b/src/OpenFOAM/matrices/SquareMatrix/SquareMatrix.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -80,19 +80,19 @@ public: inline SquareMatrix(const MatrixBlock&); //- Construct given number of rows/columns - // initializing all elements to zero + // initialising all elements to zero inline SquareMatrix(const label n, const zero); //- Construct given number of rows and columns (checked to be equal) - // initializing all elements to zero + // initialising all elements to zero inline SquareMatrix(const label m, const label n, const zero); //- Construct given number of rows/columns - // Initializing to the identity matrix + // Initialising to the identity matrix inline SquareMatrix(const label n, const Identity); //- Construct with given number of rows and rows - // initializing all elements to the given value + // initialising all elements to the given value inline SquareMatrix(const label n, const Type&); //- Construct as copy of a RectangularMatrix diff --git a/src/OpenFOAM/matrices/SymmetricSquareMatrix/SymmetricSquareMatrix.H b/src/OpenFOAM/matrices/SymmetricSquareMatrix/SymmetricSquareMatrix.H index f393a613f6..48be7b3912 100644 --- a/src/OpenFOAM/matrices/SymmetricSquareMatrix/SymmetricSquareMatrix.H +++ b/src/OpenFOAM/matrices/SymmetricSquareMatrix/SymmetricSquareMatrix.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -65,14 +65,14 @@ public: //- Construct given number of rows/columns. inline SymmetricSquareMatrix(const label n); - //- Construct given number of rows/columns, initializing to zero + //- Construct given number of rows/columns, initialising to zero inline SymmetricSquareMatrix(const label n, const zero); //- Construct given number of rows/columns, inline SymmetricSquareMatrix(const label n, const Identity); //- Construct with given number of rows/columns - // initializing all elements to the given value + // initialising all elements to the given value inline SymmetricSquareMatrix(const label n, const Type&); //- Construct from Istream. diff --git a/src/OpenFOAM/memory/refCount/refCount.H b/src/OpenFOAM/memory/refCount/refCount.H index 6beb70a27b..e49c0df4e8 100644 --- a/src/OpenFOAM/memory/refCount/refCount.H +++ b/src/OpenFOAM/memory/refCount/refCount.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -67,7 +67,7 @@ protected: // Constructors - //- Construct null initializing count to 0 + //- Construct null initialising count to 0 refCount() : count_(0) diff --git a/src/OpenFOAM/meshes/meshShapes/face/faceIntersection.C b/src/OpenFOAM/meshes/meshShapes/face/faceIntersection.C index f388617839..e0932e428f 100644 --- a/src/OpenFOAM/meshes/meshShapes/face/faceIntersection.C +++ b/src/OpenFOAM/meshes/meshShapes/face/faceIntersection.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -66,7 +66,7 @@ Foam::pointHit Foam::face::ray scalar nearestMissDist = great; bool eligible = false; - // Initialize to miss, distance = great + // Initialise to miss, distance = great pointHit nearest(p); const labelList& f = *this; @@ -160,7 +160,7 @@ Foam::pointHit Foam::face::intersection scalar nearestHitDist = vGreat; - // Initialize to miss, distance = great + // Initialise to miss, distance = great pointHit nearest(p); const labelList& f = *this; @@ -231,7 +231,7 @@ Foam::pointHit Foam::face::nearestPointClassify const face& f = *this; point ctr = centre(meshPoints); - // Initialize to miss, distance=great + // Initialise to miss, distance=great pointHit nearest(p); nearType = -1; diff --git a/src/OpenFOAM/meshes/polyMesh/globalMeshData/globalPoints.C b/src/OpenFOAM/meshes/polyMesh/globalMeshData/globalPoints.C index d562634ef7..d59455667f 100644 --- a/src/OpenFOAM/meshes/polyMesh/globalMeshData/globalPoints.C +++ b/src/OpenFOAM/meshes/polyMesh/globalMeshData/globalPoints.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -879,14 +879,14 @@ void Foam::globalPoints::calculateSharedPoints labelHashSet changedPoints(2*nPatchPoints_); - // Initialize procPoints with my patch points. Keep track of points + // Initialise procPoints with my patch points. Keep track of points // inserted (in changedPoints) // There are two possible forms of this: - // - initialize with all patch points (allPoints = true). This causes all + // - initialise with all patch points (allPoints = true). This causes all // patch points to be exchanged so a lot of information gets stored and // transferred. This all gets filtered out later when removing the // equivalence lists of size 2. - // - initialize with boundary points of patches only (allPoints = false). + // - initialise with boundary points of patches only (allPoints = false). // This should work for all decompositions except extreme ones where a // shared point is not on the boundary of any processor patches using it. // This would happen if a domain was pinched such that two patches share diff --git a/src/OpenFOAM/meshes/polyMesh/globalMeshData/globalPoints.H b/src/OpenFOAM/meshes/polyMesh/globalMeshData/globalPoints.H index d8779720e6..c21ade59cf 100644 --- a/src/OpenFOAM/meshes/polyMesh/globalMeshData/globalPoints.H +++ b/src/OpenFOAM/meshes/polyMesh/globalMeshData/globalPoints.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -50,7 +50,7 @@ Description constructs a mapDistribute to send all data to this master. Algorithm: - - get meshPoints of all my points on processor patches and initialize + - get meshPoints of all my points on processor patches and initialise equivalence lists to this. loop - send to all neighbours in relative form: @@ -218,7 +218,7 @@ class globalPoints const labelPairList& pointInfo ) const; - //- Initialize procPoints_ to my patch points. allPoints = true: + //- Initialise procPoints_ to my patch points. allPoints = true: // seed with all patch points, = false: only boundaryPoints(). void initOwnPoints ( diff --git a/src/OpenFOAM/meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C b/src/OpenFOAM/meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C index 4f82120ee7..f53e23dade 100644 --- a/src/OpenFOAM/meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C +++ b/src/OpenFOAM/meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -284,7 +284,7 @@ Foam::polyBoundaryMesh::nbrEdges() const nbrEdgesPtr_.reset(new List(size())); List& nbrEdges = nbrEdgesPtr_(); - // Initialize. + // Initialise. label nEdgePairs = 0; forAll(*this, patchi) { diff --git a/src/OpenFOAM/meshes/polyMesh/polyPatches/basic/coupled/coupledPolyPatch.H b/src/OpenFOAM/meshes/polyMesh/polyPatches/basic/coupled/coupledPolyPatch.H index 9bab742e10..42d4d7d7b9 100644 --- a/src/OpenFOAM/meshes/polyMesh/polyPatches/basic/coupled/coupledPolyPatch.H +++ b/src/OpenFOAM/meshes/polyMesh/polyPatches/basic/coupled/coupledPolyPatch.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -288,7 +288,7 @@ public: } - //- Initialize ordering for primitivePatch. Does not + //- Initialise ordering for primitivePatch. Does not // refer to *this (except for name() and type() etc.) virtual void initOrder ( diff --git a/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.H b/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.H index 4952d00327..ca9f64c73c 100644 --- a/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.H +++ b/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -325,7 +325,7 @@ public: } } - //- Initialize ordering for primitivePatch. Does not + //- Initialise ordering for primitivePatch. Does not // refer to *this (except for name() and type() etc.) virtual void initOrder(PstreamBuffers&, const primitivePatch&) const; diff --git a/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/processor/processorPolyPatch.H b/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/processor/processorPolyPatch.H index 568963971e..b4adca8c28 100644 --- a/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/processor/processorPolyPatch.H +++ b/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/processor/processorPolyPatch.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -318,7 +318,7 @@ public: return transformer::null; } - //- Initialize ordering for primitivePatch. Does not + //- Initialise ordering for primitivePatch. Does not // refer to *this (except for name() and type() etc.) virtual void initOrder(PstreamBuffers&, const primitivePatch&) const; diff --git a/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/processorCyclic/processorCyclicPolyPatch.H b/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/processorCyclic/processorCyclicPolyPatch.H index c61b65d741..55686627fb 100644 --- a/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/processorCyclic/processorCyclicPolyPatch.H +++ b/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/processorCyclic/processorCyclicPolyPatch.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -331,7 +331,7 @@ public: return referPatch().transform(); } - //- Initialize ordering for primitivePatch. Does not + //- Initialise ordering for primitivePatch. Does not // refer to *this (except for name() and type() etc.) virtual void initOrder(PstreamBuffers&, const primitivePatch&) const; diff --git a/src/OpenFOAM/meshes/polyMesh/polyPatches/polyPatch/polyPatch.H b/src/OpenFOAM/meshes/polyMesh/polyPatches/polyPatch/polyPatch.H index a7e6d167a4..2e84840715 100644 --- a/src/OpenFOAM/meshes/polyMesh/polyPatches/polyPatch/polyPatch.H +++ b/src/OpenFOAM/meshes/polyMesh/polyPatches/polyPatch/polyPatch.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -393,7 +393,7 @@ public: } - //- Initialize ordering for primitivePatch. Does not + //- Initialise ordering for primitivePatch. Does not // refer to *this (except for name() and type() etc.) virtual void initOrder(PstreamBuffers&, const primitivePatch&) const; diff --git a/src/OpenFOAM/meshes/primitiveShapes/triangle/triangleI.H b/src/OpenFOAM/meshes/primitiveShapes/triangle/triangleI.H index 8d18a3b1ae..852b1a4fee 100644 --- a/src/OpenFOAM/meshes/primitiveShapes/triangle/triangleI.H +++ b/src/OpenFOAM/meshes/primitiveShapes/triangle/triangleI.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -319,7 +319,7 @@ inline Foam::pointHit Foam::triangle::ray const vector E0 = b_ - a_; const vector E1 = c_ - a_; - // Initialize intersection to miss. + // Initialise intersection to miss. pointHit inter(p); vector n(0.5*(E0 ^ E1)); diff --git a/src/OpenFOAM/primitives/Barycentric/Barycentric.H b/src/OpenFOAM/primitives/Barycentric/Barycentric.H index 3af6cc3a4d..6b336a6b8f 100644 --- a/src/OpenFOAM/primitives/Barycentric/Barycentric.H +++ b/src/OpenFOAM/primitives/Barycentric/Barycentric.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2016-2018 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2016-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -73,7 +73,7 @@ public: //- Construct null inline Barycentric(); - //- Construct initialized to zero + //- Construct initialised to zero inline Barycentric(const Foam::zero); //- Construct given four components diff --git a/src/OpenFOAM/primitives/Barycentric2D/Barycentric2D.H b/src/OpenFOAM/primitives/Barycentric2D/Barycentric2D.H index e6e51598f0..37a8d47632 100644 --- a/src/OpenFOAM/primitives/Barycentric2D/Barycentric2D.H +++ b/src/OpenFOAM/primitives/Barycentric2D/Barycentric2D.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2017-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2017-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -73,7 +73,7 @@ public: //- Construct null inline Barycentric2D(); - //- Construct initialized to zero + //- Construct initialised to zero inline Barycentric2D(const Foam::zero); //- Construct given four components diff --git a/src/OpenFOAM/primitives/DiagTensor/DiagTensor.H b/src/OpenFOAM/primitives/DiagTensor/DiagTensor.H index 73f62d1467..9c77d5f317 100644 --- a/src/OpenFOAM/primitives/DiagTensor/DiagTensor.H +++ b/src/OpenFOAM/primitives/DiagTensor/DiagTensor.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -77,7 +77,7 @@ public: //- Construct null inline DiagTensor(); - //- Construct initialized to zero + //- Construct initialised to zero inline DiagTensor(const Foam::zero); //- Construct given VectorSpace diff --git a/src/OpenFOAM/primitives/MatrixSpace/MatrixSpace.H b/src/OpenFOAM/primitives/MatrixSpace/MatrixSpace.H index 418ab80451..aaf547d538 100644 --- a/src/OpenFOAM/primitives/MatrixSpace/MatrixSpace.H +++ b/src/OpenFOAM/primitives/MatrixSpace/MatrixSpace.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2016-2018 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2016-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -201,7 +201,7 @@ public: //- Construct null inline MatrixSpace(); - //- Construct initialized to zero + //- Construct initialised to zero inline MatrixSpace(const Foam::zero); //- Construct as copy of a VectorSpace with the same size diff --git a/src/OpenFOAM/primitives/RowVector/RowVector.H b/src/OpenFOAM/primitives/RowVector/RowVector.H index 47398c20db..7a5587315f 100644 --- a/src/OpenFOAM/primitives/RowVector/RowVector.H +++ b/src/OpenFOAM/primitives/RowVector/RowVector.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2016-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2016-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -69,7 +69,7 @@ public: //- Construct null inline RowVector(); - //- Construct initialized to zero + //- Construct initialised to zero inline RowVector(const Foam::zero); //- Construct given VectorSpace of the same rank diff --git a/src/OpenFOAM/primitives/SphericalTensor/Identity.H b/src/OpenFOAM/primitives/SphericalTensor/Identity.H index 304a69c901..2b198461c9 100644 --- a/src/OpenFOAM/primitives/SphericalTensor/Identity.H +++ b/src/OpenFOAM/primitives/SphericalTensor/Identity.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2016-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2016-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -52,7 +52,7 @@ class Identity public: - //- Construct initializing the SphericalTensor to 1 + //- Construct initialising the SphericalTensor to 1 Identity() : SphericalTensor(1) @@ -63,7 +63,7 @@ public: : public SphericalTensor { - //- Construct initializing the SphericalTensor to 1 + //- Construct initialising the SphericalTensor to 1 dual() : SphericalTensor(1) diff --git a/src/OpenFOAM/primitives/SphericalTensor/SphericalTensor.H b/src/OpenFOAM/primitives/SphericalTensor/SphericalTensor.H index 4656830853..ba6bc7c668 100644 --- a/src/OpenFOAM/primitives/SphericalTensor/SphericalTensor.H +++ b/src/OpenFOAM/primitives/SphericalTensor/SphericalTensor.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -82,7 +82,7 @@ public: //- Construct null inline SphericalTensor(); - //- Construct initialized to zero + //- Construct initialised to zero inline SphericalTensor(const Foam::zero); //- Construct given VectorSpace diff --git a/src/OpenFOAM/primitives/SphericalTensor2D/SphericalTensor2D.H b/src/OpenFOAM/primitives/SphericalTensor2D/SphericalTensor2D.H index 60ee556941..7a5734750e 100644 --- a/src/OpenFOAM/primitives/SphericalTensor2D/SphericalTensor2D.H +++ b/src/OpenFOAM/primitives/SphericalTensor2D/SphericalTensor2D.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -78,7 +78,7 @@ public: //- Construct null inline SphericalTensor2D(); - //- Construct initialized to zero + //- Construct initialised to zero inline SphericalTensor2D(const Foam::zero); //- Construct given VectorSpace diff --git a/src/OpenFOAM/primitives/SymmTensor/SymmTensor.H b/src/OpenFOAM/primitives/SymmTensor/SymmTensor.H index 0e6f2264bf..4ee973c422 100644 --- a/src/OpenFOAM/primitives/SymmTensor/SymmTensor.H +++ b/src/OpenFOAM/primitives/SymmTensor/SymmTensor.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -82,7 +82,7 @@ public: //- Construct null inline SymmTensor(); - //- Construct initialized to zero + //- Construct initialised to zero inline SymmTensor(const Foam::zero); //- Construct given VectorSpace of the same rank diff --git a/src/OpenFOAM/primitives/SymmTensor2D/SymmTensor2D.H b/src/OpenFOAM/primitives/SymmTensor2D/SymmTensor2D.H index 356c9aec28..6ee93e4118 100644 --- a/src/OpenFOAM/primitives/SymmTensor2D/SymmTensor2D.H +++ b/src/OpenFOAM/primitives/SymmTensor2D/SymmTensor2D.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -82,7 +82,7 @@ public: //- Construct null inline SymmTensor2D(); - //- Construct initialized to zero + //- Construct initialised to zero inline SymmTensor2D(const Foam::zero); //- Construct given VectorSpace diff --git a/src/OpenFOAM/primitives/Tensor/Tensor.H b/src/OpenFOAM/primitives/Tensor/Tensor.H index ff11b7f932..76b9c7c8e4 100644 --- a/src/OpenFOAM/primitives/Tensor/Tensor.H +++ b/src/OpenFOAM/primitives/Tensor/Tensor.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -93,7 +93,7 @@ public: //- Construct null inline Tensor(); - //- Construct initialized to zero + //- Construct initialised to zero inline Tensor(const Foam::zero); //- Construct given MatrixSpace of the same rank diff --git a/src/OpenFOAM/primitives/Tensor2D/Tensor2D.H b/src/OpenFOAM/primitives/Tensor2D/Tensor2D.H index 0fd2f9dbc7..f81c72e87b 100644 --- a/src/OpenFOAM/primitives/Tensor2D/Tensor2D.H +++ b/src/OpenFOAM/primitives/Tensor2D/Tensor2D.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -85,7 +85,7 @@ public: //- Construct null inline Tensor2D(); - //- Construct initialized to zero + //- Construct initialised to zero inline Tensor2D(const Foam::zero); //- Construct given VectorSpace diff --git a/src/OpenFOAM/primitives/Vector/Vector.H b/src/OpenFOAM/primitives/Vector/Vector.H index 991dba1176..f96c9a3459 100644 --- a/src/OpenFOAM/primitives/Vector/Vector.H +++ b/src/OpenFOAM/primitives/Vector/Vector.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -81,7 +81,7 @@ public: //- Construct null inline Vector(); - //- Construct initialized to zero + //- Construct initialised to zero inline Vector(const Foam::zero); //- Construct given VectorSpace of the same rank diff --git a/src/OpenFOAM/primitives/Vector2D/Vector2D.H b/src/OpenFOAM/primitives/Vector2D/Vector2D.H index 1ddc948cda..2318304566 100644 --- a/src/OpenFOAM/primitives/Vector2D/Vector2D.H +++ b/src/OpenFOAM/primitives/Vector2D/Vector2D.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -75,7 +75,7 @@ public: //- Construct null inline Vector2D(); - //- Construct initialized to zero + //- Construct initialised to zero inline Vector2D(const Foam::zero); //- Construct given VectorSpace diff --git a/src/OpenFOAM/primitives/VectorSpace/VectorSpace.H b/src/OpenFOAM/primitives/VectorSpace/VectorSpace.H index 447dca4993..2b25c808a9 100644 --- a/src/OpenFOAM/primitives/VectorSpace/VectorSpace.H +++ b/src/OpenFOAM/primitives/VectorSpace/VectorSpace.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -156,7 +156,7 @@ public: //- Construct null inline VectorSpace(); - //- Construct initialized to zero + //- Construct initialised to zero inline VectorSpace(const Foam::zero); //- Construct from Istream diff --git a/src/OpenFOAM/primitives/hashes/Hasher/Hasher.C b/src/OpenFOAM/primitives/hashes/Hasher/Hasher.C index 459ee85036..58b636fb00 100644 --- a/src/OpenFOAM/primitives/hashes/Hasher/Hasher.C +++ b/src/OpenFOAM/primitives/hashes/Hasher/Hasher.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -555,7 +555,7 @@ unsigned Foam::HasherInt // ---------------------------------------------------------------------------- // hashword2() -- same as hashword(), but take two seeds and return two // 32-bit values. pc and pb must both be non-null, and *pc and *pb must -// both be initialized with seeds. If you pass in (*pb)==0, the output +// both be initialised with seeds. If you pass in (*pb)==0, the output // (*pc) will be the same as the return value from hashword(). // ---------------------------------------------------------------------------- unsigned Foam::HasherDual diff --git a/src/OpenFOAM/primitives/polynomialEqns/cubicEqn/cubicEqn.H b/src/OpenFOAM/primitives/polynomialEqns/cubicEqn/cubicEqn.H index f6c1c81bb9..c86ffc823c 100644 --- a/src/OpenFOAM/primitives/polynomialEqns/cubicEqn/cubicEqn.H +++ b/src/OpenFOAM/primitives/polynomialEqns/cubicEqn/cubicEqn.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2017-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2017-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -65,7 +65,7 @@ public: //- Construct null inline cubicEqn(); - //- Construct initialized to zero + //- Construct initialised to zero inline cubicEqn(const Foam::zero); //- Construct from components diff --git a/src/OpenFOAM/primitives/polynomialEqns/linearEqn/linearEqn.H b/src/OpenFOAM/primitives/polynomialEqns/linearEqn/linearEqn.H index b578c8b576..ed59128c69 100644 --- a/src/OpenFOAM/primitives/polynomialEqns/linearEqn/linearEqn.H +++ b/src/OpenFOAM/primitives/polynomialEqns/linearEqn/linearEqn.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2017-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2017-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -64,7 +64,7 @@ public: //- Construct null inline linearEqn(); - //- Construct initialized to zero + //- Construct initialised to zero inline linearEqn(const Foam::zero); //- Construct from components diff --git a/src/OpenFOAM/primitives/polynomialEqns/quadraticEqn/quadraticEqn.H b/src/OpenFOAM/primitives/polynomialEqns/quadraticEqn/quadraticEqn.H index 047eaa2a49..b5f511ab2f 100644 --- a/src/OpenFOAM/primitives/polynomialEqns/quadraticEqn/quadraticEqn.H +++ b/src/OpenFOAM/primitives/polynomialEqns/quadraticEqn/quadraticEqn.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2017-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2017-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -65,7 +65,7 @@ public: //- Construct null inline quadraticEqn(); - //- Construct initialized to zero + //- Construct initialised to zero inline quadraticEqn(const Foam::zero); //- Construct from components diff --git a/src/OpenFOAM/primitives/spatialVectorAlgebra/SpatialTensor/SpatialTensor.H b/src/OpenFOAM/primitives/spatialVectorAlgebra/SpatialTensor/SpatialTensor.H index 7d83ef3769..5ca1940b3f 100644 --- a/src/OpenFOAM/primitives/spatialVectorAlgebra/SpatialTensor/SpatialTensor.H +++ b/src/OpenFOAM/primitives/spatialVectorAlgebra/SpatialTensor/SpatialTensor.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2016-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2016-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -86,7 +86,7 @@ public: //- Construct null inline SpatialTensor(); - //- Construct initialized to zero + //- Construct initialised to zero inline SpatialTensor(const Foam::zero); //- Construct given MatrixSpace of the same rank diff --git a/src/OpenFOAM/primitives/spatialVectorAlgebra/SpatialVector/SpatialVector.H b/src/OpenFOAM/primitives/spatialVectorAlgebra/SpatialVector/SpatialVector.H index d71d4480a2..72042640b3 100644 --- a/src/OpenFOAM/primitives/spatialVectorAlgebra/SpatialVector/SpatialVector.H +++ b/src/OpenFOAM/primitives/spatialVectorAlgebra/SpatialVector/SpatialVector.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2016-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2016-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -91,7 +91,7 @@ public: //- Construct null inline SpatialVector(); - //- Construct initialized to zero + //- Construct initialised to zero inline SpatialVector(const Foam::zero); //- Construct given VectorSpace of the same rank diff --git a/src/conversion/meshReader/calcPointCells.C b/src/conversion/meshReader/calcPointCells.C index 946184a055..e1e8d40eb1 100644 --- a/src/conversion/meshReader/calcPointCells.C +++ b/src/conversion/meshReader/calcPointCells.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -52,7 +52,7 @@ void Foam::meshReader::calcPointCells() const ptCells[i].setSize(UNIT_POINT_CELLS); } - // Initialize the list of labels which will hold the count of the + // Initialise the list of labels which will hold the count of the // actual number of cells per point during the analysis labelList cellCount(nPoints, 0); diff --git a/src/conversion/meshReader/createPolyBoundary.C b/src/conversion/meshReader/createPolyBoundary.C index 93ecfdb8b5..704cfc0b8a 100644 --- a/src/conversion/meshReader/createPolyBoundary.C +++ b/src/conversion/meshReader/createPolyBoundary.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -24,7 +24,7 @@ License Description boundary faces - use pointCells when searching for connectivity - - initialize the cell connectivity with '-1' + - initialise the cell connectivity with '-1' - find both cell faces corresponding to the baffles and mark them to prevent a connection - standard connectivity checks diff --git a/src/conversion/meshReader/createPolyCells.C b/src/conversion/meshReader/createPolyCells.C index 0726abbbe1..500f3c44c0 100644 --- a/src/conversion/meshReader/createPolyCells.C +++ b/src/conversion/meshReader/createPolyCells.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -24,7 +24,7 @@ License Description create cellPolys - use pointCells when searching for connectivity - - initialize the cell connectivity with '-1' + - initialise the cell connectivity with '-1' - find both cell faces corresponding to the baffles and mark them to prevent a connection - standard connectivity checks @@ -63,7 +63,7 @@ void Foam::meshReader::createPolyCells() // set reference to point-cell addressing const labelListList& ptCells = pointCells(); - // size the baffle lists and initialize to -1 + // size the baffle lists and initialise to -1 baffleIds_.setSize(baffleFaces_.size()); forAll(baffleIds_, baffleI) { diff --git a/src/dynamicMesh/boundaryMesh/boundaryMesh.C b/src/dynamicMesh/boundaryMesh/boundaryMesh.C index 4b7b2d7ea0..0e975379ef 100644 --- a/src/dynamicMesh/boundaryMesh/boundaryMesh.C +++ b/src/dynamicMesh/boundaryMesh/boundaryMesh.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -1980,7 +1980,7 @@ void Foam::boundaryMesh::markFaces } - // Initialize zone for all faces to -1 + // Initialise zone for all faces to -1 labelList currentZone(mesh().size(), -1); // Mark with 0 all faces reachable from seedFacei diff --git a/src/dynamicMesh/fvMeshDistribute/fvMeshDistribute.C b/src/dynamicMesh/fvMeshDistribute/fvMeshDistribute.C index 79691713e3..d04fbcc8b4 100644 --- a/src/dynamicMesh/fvMeshDistribute/fvMeshDistribute.C +++ b/src/dynamicMesh/fvMeshDistribute/fvMeshDistribute.C @@ -2342,7 +2342,7 @@ Foam::autoPtr Foam::fvMeshDistribute::distribute subPointMap[Pstream::myProcNo()] = subMap().pointMap(); subPatchMap[Pstream::myProcNo()] = identity(patches.size()); - // Initialize all addressing into current mesh + // Initialise all addressing into current mesh constructCellMap[Pstream::myProcNo()] = identity(mesh_.nCells()); constructFaceMap[Pstream::myProcNo()] = identity(mesh_.nFaces()) + 1; constructPointMap[Pstream::myProcNo()] = identity(mesh_.nPoints()); diff --git a/src/dynamicMesh/polyTopoChange/polyTopoChange/hexRef8/hexRef8.C b/src/dynamicMesh/polyTopoChange/polyTopoChange/hexRef8/hexRef8.C index f58e38ceec..0e6e0a2222 100644 --- a/src/dynamicMesh/polyTopoChange/polyTopoChange/hexRef8/hexRef8.C +++ b/src/dynamicMesh/polyTopoChange/polyTopoChange/hexRef8/hexRef8.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -2351,7 +2351,7 @@ Foam::labelList Foam::hexRef8::consistentSlowRefinement // Bit tricky. Say we want a distance of three cells between two // consecutive refinement levels. This is done by using FaceCellWave to // transport out the new refinement level. It gets decremented by one - // every cell it crosses so if we initialize it to maxFaceDiff + // every cell it crosses so if we initialise it to maxFaceDiff // we will get a field everywhere that tells us whether an unselected cell // needs refining as well. diff --git a/src/dynamicMesh/polyTopoChange/polyTopoChange/removeFaces.C b/src/dynamicMesh/polyTopoChange/polyTopoChange/removeFaces.C index 1786509141..ee0b7f63c0 100644 --- a/src/dynamicMesh/polyTopoChange/polyTopoChange/removeFaces.C +++ b/src/dynamicMesh/polyTopoChange/polyTopoChange/removeFaces.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -815,7 +815,7 @@ void Foam::removeFaces::setRefinement const polyBoundaryMesh& patches = mesh_.boundaryMesh(); // Usage of edges by non-removed faces. - // See below about initialization. + // See below about initialisation. labelList nFacesPerEdge(mesh_.nEdges(), -1); // Count usage of edges by non-removed faces. diff --git a/src/finiteVolume/cfdTools/general/CorrectPhi/CorrectPhi.C b/src/finiteVolume/cfdTools/general/CorrectPhi/CorrectPhi.C index 334fa22d59..36347c57e6 100644 --- a/src/finiteVolume/cfdTools/general/CorrectPhi/CorrectPhi.C +++ b/src/finiteVolume/cfdTools/general/CorrectPhi/CorrectPhi.C @@ -54,7 +54,7 @@ void Foam::CorrectPhi const fvMesh& mesh = phi.mesh(); const Time& runTime = mesh.time(); - // Initialize BCs list for pcorr to zero-gradient + // Initialise BCs list for pcorr to zero-gradient wordList pcorrTypes ( p.boundaryField().size(), @@ -128,7 +128,7 @@ void Foam::CorrectPhi const fvMesh& mesh = phi.mesh(); const Time& runTime = mesh.time(); - // Initialize BCs list for pcorr to zero-gradient + // Initialise BCs list for pcorr to zero-gradient wordList pcorrTypes ( p.boundaryField().size(), diff --git a/src/finiteVolume/fields/fvPatchFields/derived/uniformInletOutlet/uniformInletOutletFvPatchField.C b/src/finiteVolume/fields/fvPatchFields/derived/uniformInletOutlet/uniformInletOutletFvPatchField.C index af9dbb6e46..26fcb00e36 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/uniformInletOutlet/uniformInletOutletFvPatchField.C +++ b/src/finiteVolume/fields/fvPatchFields/derived/uniformInletOutlet/uniformInletOutletFvPatchField.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2013-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2013-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -97,7 +97,7 @@ Foam::uniformInletOutletFvPatchField::uniformInletOutletFvPatchField this->refGrad() = Zero; this->valueFraction() = 0.0; - // Initialize the patch value to the refValue + // Initialise the patch value to the refValue fvPatchField::operator=(this->refValue()); mapper(*this, ptf); diff --git a/src/finiteVolume/finiteVolume/gradSchemes/limitedGradSchemes/cellLimitedGrad/cellLimitedGrad.C b/src/finiteVolume/finiteVolume/gradSchemes/limitedGradSchemes/cellLimitedGrad/cellLimitedGrad.C index 341f0ac845..d849930972 100644 --- a/src/finiteVolume/finiteVolume/gradSchemes/limitedGradSchemes/cellLimitedGrad/cellLimitedGrad.C +++ b/src/finiteVolume/finiteVolume/gradSchemes/limitedGradSchemes/cellLimitedGrad/cellLimitedGrad.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2018 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2018-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -164,7 +164,7 @@ Foam::fv::cellLimitedGrad::calcGrad } - // Create limiter initialized to 1 + // Create limiter initialised to 1 // Note: the limiter is not permitted to be > 1 Field limiter(vsf.primitiveField().size(), pTraits::one); diff --git a/src/finiteVolume/fvMesh/wallDist/wallPointYPlus/wallPointYPlus.H b/src/finiteVolume/fvMesh/wallDist/wallPointYPlus/wallPointYPlus.H index 36df7695c7..c85da66bfc 100644 --- a/src/finiteVolume/fvMesh/wallDist/wallPointYPlus/wallPointYPlus.H +++ b/src/finiteVolume/fvMesh/wallDist/wallPointYPlus/wallPointYPlus.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -29,7 +29,7 @@ Description Used in VanDriest wall damping where the interest is in y+ but only needs to be calculated up to e.g. y+ < 200. In all other cells/faces - the damping function becomes 1, since y gets initialized to great and + the damping function becomes 1, since y gets initialised to great and yStar to 1. Note: should feed the additional argument (yPlusCutoff) through as a diff --git a/src/functionObjects/field/fieldAverage/fieldAverage.C b/src/functionObjects/field/fieldAverage/fieldAverage.C index 6c916dd5e7..66f4e44201 100644 --- a/src/functionObjects/field/fieldAverage/fieldAverage.C +++ b/src/functionObjects/field/fieldAverage/fieldAverage.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -78,7 +78,7 @@ void Foam::functionObjects::fieldAverage::resetFields() } -void Foam::functionObjects::fieldAverage::initialize() +void Foam::functionObjects::fieldAverage::initialise() { if (!totalIter_.size()) { @@ -91,7 +91,7 @@ void Foam::functionObjects::fieldAverage::initialize() } else { - // Check if totalTime_ has been set otherwise initialize + // Check if totalTime_ has been set otherwise initialise forAll(totalTime_, fieldi) { if (totalTime_[fieldi] < 0) @@ -135,7 +135,7 @@ void Foam::functionObjects::fieldAverage::restart() totalIter_.clear(); totalTime_.clear(); - initialize(); + initialise(); } @@ -143,7 +143,7 @@ void Foam::functionObjects::fieldAverage::calcAverages() { if (!initialised_) { - initialize(); + initialise(); } const label currentTimeIndex = obr_.time().timeIndex(); @@ -267,7 +267,7 @@ void Foam::functionObjects::fieldAverage::readAveragingProperties() totalIter_.setSize(faItems_.size(), 1); - // Initialize totalTime with negative values + // Initialise totalTime with negative values // to indicate that it has not been set totalTime_.setSize(faItems_.size(), -1); diff --git a/src/functionObjects/field/fieldAverage/fieldAverage.H b/src/functionObjects/field/fieldAverage/fieldAverage.H index 27516fe8f5..8a59c14f7c 100644 --- a/src/functionObjects/field/fieldAverage/fieldAverage.H +++ b/src/functionObjects/field/fieldAverage/fieldAverage.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -202,9 +202,9 @@ protected: // and reset lists void resetFields(); - //- Reset lists (clear existing values) and initialize averaging. + //- Reset lists (clear existing values) and initialise averaging. // Check requested field averages are valid, populate field lists - void initialize(); + void initialise(); //- Restart averaging for restartOnOutput void restart(); diff --git a/src/fvModels/general/codedFvModel/codedFvModel.H b/src/fvModels/general/codedFvModel/codedFvModel.H index 28ffebb20e..7deae0e5d2 100644 --- a/src/fvModels/general/codedFvModel/codedFvModel.H +++ b/src/fvModels/general/codedFvModel/codedFvModel.H @@ -124,7 +124,7 @@ class codedFvModel //- Clear any redirected objects virtual void clearRedirect() const; - //- Get the dictionary to initialize the codeContext + //- Get the dictionary to initialise the codeContext virtual const dictionary& codeDict() const; //- Get the keywords associated with source code diff --git a/src/lagrangian/parcel/phaseProperties/phaseProperties/phaseProperties.C b/src/lagrangian/parcel/phaseProperties/phaseProperties/phaseProperties.C index 8bc21eb9c0..146595dbf4 100644 --- a/src/lagrangian/parcel/phaseProperties/phaseProperties/phaseProperties.C +++ b/src/lagrangian/parcel/phaseProperties/phaseProperties/phaseProperties.C @@ -66,7 +66,7 @@ void Foam::phaseProperties::reorder(const wordList& specieNames) // Update the specie names to those given names_ = specieNames; - // Re-size mass-fractions if necessary, initialize to 0 + // Re-size mass-fractions if necessary, initialise to 0 if (names_.size() != names0.size()) { Y_.setSize(names_.size()); diff --git a/src/lagrangian/parcel/submodels/Spray/StochasticCollision/ORourkeCollision/ORourkeCollision.C b/src/lagrangian/parcel/submodels/Spray/StochasticCollision/ORourkeCollision/ORourkeCollision.C index 9611ff96ec..7f164c2144 100644 --- a/src/lagrangian/parcel/submodels/Spray/StochasticCollision/ORourkeCollision/ORourkeCollision.C +++ b/src/lagrangian/parcel/submodels/Spray/StochasticCollision/ORourkeCollision/ORourkeCollision.C @@ -50,7 +50,7 @@ void Foam::ORourkeCollision::collide occupancy[iter().cell()]++; } - // Initialize the sizes of the lists of parcels in each cell + // Initialise the sizes of the lists of parcels in each cell CompactListList pInCell(occupancy); // Reset the occupancy to use as a counter diff --git a/src/mesh/blockMesh/blockMesh/blockMeshMergeFast.C b/src/mesh/blockMesh/blockMesh/blockMeshMergeFast.C index a7cd700f20..5dacc169fc 100644 --- a/src/mesh/blockMesh/blockMesh/blockMeshMergeFast.C +++ b/src/mesh/blockMesh/blockMesh/blockMeshMergeFast.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2015-2018 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2015-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -319,7 +319,7 @@ void Foam::blockMesh::calcMergeInfoFast() << flush; } - // Size merge list and initialize to -1 + // Size merge list and initialise to -1 mergeList_.setSize(nPoints_, -1); // Block mesh topology diff --git a/src/mesh/snappyHexMesh/refinementSurfaces/refinementSurfaces.C b/src/mesh/snappyHexMesh/refinementSurfaces/refinementSurfaces.C index cd0713b51a..4ccf1eaed8 100644 --- a/src/mesh/snappyHexMesh/refinementSurfaces/refinementSurfaces.C +++ b/src/mesh/snappyHexMesh/refinementSurfaces/refinementSurfaces.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -802,7 +802,7 @@ void Foam::refinementSurfaces::findNearestIntersection // 1. intersection from start to end // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - // Initialize arguments + // Initialise arguments surface1.setSize(start.size()); surface1 = -1; hit1.setSize(start.size()); @@ -849,7 +849,7 @@ void Foam::refinementSurfaces::findNearestIntersection // 2. intersection from end to last intersection // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - // Find the nearest intersection from end to start. Note that we initialize + // Find the nearest intersection from end to start. Note that we initialise // to the first intersection (if any). surface2 = surface1; hit2 = hit1; @@ -935,7 +935,7 @@ void Foam::refinementSurfaces::findNearestIntersection // 1. intersection from start to end // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - // Initialize arguments + // Initialise arguments surface1.setSize(start.size()); surface1 = -1; hit1.setSize(start.size()); @@ -978,7 +978,7 @@ void Foam::refinementSurfaces::findNearestIntersection // 2. intersection from end to last intersection // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - // Find the nearest intersection from end to start. Note that we initialize + // Find the nearest intersection from end to start. Note that we initialise // to the first intersection (if any). surface2 = surface1; hit2 = hit1; diff --git a/src/meshTools/AMIInterpolation/patches/cyclicACMI/cyclicACMIPolyPatch/cyclicACMIPolyPatch.H b/src/meshTools/AMIInterpolation/patches/cyclicACMI/cyclicACMIPolyPatch/cyclicACMIPolyPatch.H index 2768e667f4..4bae1025a6 100644 --- a/src/meshTools/AMIInterpolation/patches/cyclicACMI/cyclicACMIPolyPatch/cyclicACMIPolyPatch.H +++ b/src/meshTools/AMIInterpolation/patches/cyclicACMI/cyclicACMIPolyPatch/cyclicACMIPolyPatch.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2013-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2013-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -247,7 +247,7 @@ public: inline static scalar tolerance(); - //- Initialize ordering for primitivePatch. Does not + //- Initialise ordering for primitivePatch. Does not // refer to *this (except for name() and type() etc.) virtual void initOrder ( diff --git a/src/meshTools/AMIInterpolation/patches/cyclicAMI/cyclicAMIPolyPatch/cyclicAMIPolyPatch.H b/src/meshTools/AMIInterpolation/patches/cyclicAMI/cyclicAMIPolyPatch/cyclicAMIPolyPatch.H index e612526a02..aafa24228d 100644 --- a/src/meshTools/AMIInterpolation/patches/cyclicAMI/cyclicAMIPolyPatch/cyclicAMIPolyPatch.H +++ b/src/meshTools/AMIInterpolation/patches/cyclicAMI/cyclicAMIPolyPatch/cyclicAMIPolyPatch.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -324,7 +324,7 @@ public: ) const; - //- Initialize ordering for primitivePatch. Does not + //- Initialise ordering for primitivePatch. Does not // refer to *this (except for name() and type() etc.) virtual void initOrder ( diff --git a/src/meshTools/cellDist/patchWave/patchDataWave.H b/src/meshTools/cellDist/patchWave/patchDataWave.H index 82865bdf0e..7a3512a08a 100644 --- a/src/meshTools/cellDist/patchWave/patchDataWave.H +++ b/src/meshTools/cellDist/patchWave/patchDataWave.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -117,7 +117,7 @@ public: // Constructors - //- Construct from mesh, information on patches to initialize and flag + //- Construct from mesh, information on patches to initialise and flag // whether or not to correct wall. // Calculate for all cells. correctWalls : correct wall (face&point) // cells for correct distance, searching neighbours. diff --git a/src/meshTools/cellDist/patchWave/patchWave.H b/src/meshTools/cellDist/patchWave/patchWave.H index f0bcda4d1d..f7b3a4a4e1 100644 --- a/src/meshTools/cellDist/patchWave/patchWave.H +++ b/src/meshTools/cellDist/patchWave/patchWave.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -97,7 +97,7 @@ public: // Constructors - //- Construct from mesh and patches to initialize to 0 and flag + //- Construct from mesh and patches to initialise to 0 and flag // whether or not to correct wall. // Calculate for all cells. correctWalls : correct wall (face&point) // cells for correct distance, searching neighbours. diff --git a/src/meshTools/searchableSurfaces/searchableSurfacesQueries/searchableSurfacesQueries.C b/src/meshTools/searchableSurfaces/searchableSurfacesQueries/searchableSurfacesQueries.C index b98ca6203d..aeebd41cd0 100644 --- a/src/meshTools/searchableSurfaces/searchableSurfacesQueries/searchableSurfacesQueries.C +++ b/src/meshTools/searchableSurfaces/searchableSurfacesQueries/searchableSurfacesQueries.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -270,7 +270,7 @@ void Foam::searchableSurfacesQueries::findNearestIntersection // 1. intersection from start to end // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - // Initialize arguments + // Initialise arguments surface1.setSize(start.size()); surface1 = -1; hit1.setSize(start.size()); @@ -306,7 +306,7 @@ void Foam::searchableSurfacesQueries::findNearestIntersection // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // Find the nearest intersection from end to start. Note that we - // initialize to the first intersection (if any). + // initialise to the first intersection (if any). surface2 = surface1; hit2 = hit1; diff --git a/src/meshTools/triSurface/booleanOps/intersectedSurface/intersectedSurface.C b/src/meshTools/triSurface/booleanOps/intersectedSurface/intersectedSurface.C index 6f9dfc3ad0..7bca48cdbc 100644 --- a/src/meshTools/triSurface/booleanOps/intersectedSurface/intersectedSurface.C +++ b/src/meshTools/triSurface/booleanOps/intersectedSurface/intersectedSurface.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -927,7 +927,7 @@ Foam::faceList Foam::intersectedSurface::splitFace ) ); - // Order in which edges have been walked. Initialize outside edges. + // Order in which edges have been walked. Initialise outside edges. Map