Standardise on British spelling: initialize -> initialise

OpenFOAM is predominantly written in Britain with British spelling conventions
so -ise is preferred to -ize.
This commit is contained in:
Henry Weller
2021-06-01 14:51:48 +01:00
parent 52298a5ff1
commit 55f751641e
124 changed files with 302 additions and 310 deletions

View File

@ -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

View File

@ -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;

View File

@ -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.
\*---------------------------------------------------------------------------*/

View File

@ -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());

View File

@ -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<word> selectedFields;
if (args.optionFound("fields"))
{

View File

@ -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

View File

@ -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