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

View File

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

View File

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

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

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-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-<VERSION>/etc/config.sh/bashrc
#
#------------------------------------------------------------------------------

View File

@ -227,7 +227,7 @@ kOmegaSSTLM<BasicMomentumTransportModel>::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;

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-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<scalar> lst(reinterpret_cast<scalar*>(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
}

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

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-2018 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -1493,7 +1493,7 @@ Foam::pointIndexHit Foam::dynamicIndexedOctree<Type>::findLine
<< " bb:" << subBbox(nodeI, octant) << endl;
}
// Current position. Initialize to miss
// Current position. Initialise to miss
pointIndexHit hitInfo(false, treeStart, -1);
// while (true)

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-2018 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -1521,7 +1521,7 @@ Foam::pointIndexHit Foam::indexedOctree<Type>::findLine
<< " bb:" << subBbox(nodeI, octant) << endl;
}
// Current position. Initialize to miss
// Current position. Initialise to miss
pointIndexHit hitInfo(false, treeStart, -1);
// while (true)

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
@ -100,7 +100,7 @@ public:
template<class AnyType, class AnyHash>
HashSet(const HashTable<AnyType, Key, AnyHash>&);
//- Construct from an initializer list
//- Construct from an initialiser list
HashSet(std::initializer_list<Key>);

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
@ -212,7 +212,7 @@ public:
//- Move constructor
HashTable(HashTable<T, Key, Hash>&&);
//- Construct from an initializer list
//- Construct from an initialiser list
HashTable(std::initializer_list<Tuple2<Key, T>>);
@ -315,7 +315,7 @@ public:
//- Move assignment operator
void operator=(HashTable<T, Key, Hash>&&);
//- Assignment to an initializer list
//- Assignment to an initialiser list
void operator=(std::initializer_list<Tuple2<Key, T>>);
//- Equality. Hash tables are equal if the keys and values are equal.

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
@ -91,7 +91,7 @@ public:
HashTable<T, label, Hash<label>>(move(map))
{}
//- Construct from an initializer list
//- Construct from an initialiser list
Map(std::initializer_list<Tuple2<label, T>> map)
:
HashTable<T, label, Hash<label>>(map)

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
@ -124,7 +124,7 @@ public:
//- Move constructor
LList(LList<LListBase, T>&&);
//- Construct from an initializer list
//- Construct from an initialiser list
LList(std::initializer_list<T>);
@ -218,7 +218,7 @@ public:
//- Move assignment operator
void operator=(LList<LListBase, T>&&);
//- Assignment to an initializer list
//- Assignment to an initialiser list
void operator=(std::initializer_list<T>);

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
@ -129,7 +129,7 @@ public:
template<class InputIterator>
inline FixedList(InputIterator first, InputIterator last);
//- Construct from an initializer list
//- Construct from an initialiser list
inline FixedList(std::initializer_list<T>);
//- Construct from UList
@ -225,7 +225,7 @@ public:
//- Assignment to SLList operator. Takes linear time
inline void operator=(const SLList<T>&);
//- Assignment to an initializer list. Takes linear time
//- Assignment to an initialiser list. Takes linear time
inline void operator=(std::initializer_list<T>);
//- Assignment of all entries to the given value

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
@ -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<T>
explicit List(const BiIndirectList<T>&);
//- Construct from an initializer list
//- Construct from an initialiser list
List(std::initializer_list<T>);
//- Construct from Istream
@ -273,7 +273,7 @@ public:
//- Assignment to BiIndirectList operator. Takes linear time
void operator=(const BiIndirectList<T>&);
//- Assignment to an initializer list
//- Assignment to an initialiser list
void operator=(std::initializer_list<T>);
//- Assignment of all entries to the given value

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

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

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
@ -87,7 +87,7 @@ public:
//- Move constructor
SortableList(SortableList<T>&&);
//- Construct from an initializer list, sorting immediately
//- Construct from an initialiser list, sorting immediately
SortableList(std::initializer_list<T>);
@ -133,7 +133,7 @@ public:
//- Move assignment operator
inline void operator=(SortableList<T>&&);
//- Assignment to an initializer list
//- Assignment to an initialiser list
void operator=(std::initializer_list<T>);
};

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

View File

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

View File

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

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
@ -30,7 +30,7 @@ License
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
template<class Type>
void Foam::dimensioned<Type>::initialize(Istream& is)
void Foam::dimensioned<Type>::initialise(Istream& is)
{
token nextToken(is);
is.putBack(nextToken);
@ -161,7 +161,7 @@ Foam::dimensioned<Type>::dimensioned
dimensions_(dimSet),
value_(Zero)
{
initialize(is);
initialise(is);
}
@ -177,7 +177,7 @@ Foam::dimensioned<Type>::dimensioned
dimensions_(dimSet),
value_(Zero)
{
initialize(dict.lookup(name));
initialise(dict.lookup(name));
}

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

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

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

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

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

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
@ -46,7 +46,7 @@ void Foam::LLTMatrix<Type>::decompose(const SquareMatrix<Type>& M)
{
SquareMatrix<Type>& 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<Type>::solve
const Field<Type>& 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;

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-2018 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -35,7 +35,7 @@ void Foam::LUscalarMatrix::solve
const Field<Type>& 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;

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

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
@ -42,10 +42,10 @@ void Foam::QRMatrix<MatrixType>::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;

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-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<cmptType>& x) const;

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
@ -75,7 +75,7 @@ public:
inline RectangularMatrix(const MatrixBlock<MatrixType>&);
//- 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

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
@ -80,19 +80,19 @@ public:
inline SquareMatrix(const MatrixBlock<MatrixType>&);
//- 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<Type>);
//- 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

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
@ -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<Type>);
//- 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.

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
@ -67,7 +67,7 @@ protected:
// Constructors
//- Construct null initializing count to 0
//- Construct null initialising count to 0
refCount()
:
count_(0)

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

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

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

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
@ -284,7 +284,7 @@ Foam::polyBoundaryMesh::nbrEdges() const
nbrEdgesPtr_.reset(new List<labelPairList>(size()));
List<labelPairList>& nbrEdges = nbrEdgesPtr_();
// Initialize.
// Initialise.
label nEdgePairs = 0;
forAll(*this, patchi)
{

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

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

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

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

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

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-2018 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -319,7 +319,7 @@ inline Foam::pointHit Foam::triangle<Point, PointRef>::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));

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

View File

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

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

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

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

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-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<Cmpt>(1)
@ -63,7 +63,7 @@ public:
:
public SphericalTensor<Cmpt>
{
//- Construct initializing the SphericalTensor to 1
//- Construct initialising the SphericalTensor to 1
dual()
:
SphericalTensor<Cmpt>(1)

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

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

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

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

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

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

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

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

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

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

View File

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

View File

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

View File

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

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

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

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

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

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-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)
{

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

View File

@ -2342,7 +2342,7 @@ Foam::autoPtr<Foam::mapDistributePolyMesh> 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());

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

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

View File

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

View File

@ -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<Type>::uniformInletOutletFvPatchField
this->refGrad() = Zero;
this->valueFraction() = 0.0;
// Initialize the patch value to the refValue
// Initialise the patch value to the refValue
fvPatchField<Type>::operator=(this->refValue());
mapper(*this, ptf);

View File

@ -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<Type, Limiter>::calcGrad
}
// Create limiter initialized to 1
// Create limiter initialised to 1
// Note: the limiter is not permitted to be > 1
Field<Type> limiter(vsf.primitiveField().size(), pTraits<Type>::one);

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

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

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

View File

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

View File

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

View File

@ -50,7 +50,7 @@ void Foam::ORourkeCollision<CloudType>::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<parcelType*> pInCell(occupancy);
// Reset the occupancy to use as a counter

View File

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

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

View File

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

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

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

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

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

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
@ -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<label> visited(fEdges.size()*2);
forAll(fEdges, i)

View File

@ -2054,7 +2054,7 @@ int *ivec_indicator ( int n )
//
// Input, int N, the number of elements of A.
//
// Output, int IVEC_INDICATOR(N), the initialized array.
// Output, int IVEC_INDICATOR(N), the initialised array.
//
{
int *a;

View File

@ -99,7 +99,7 @@ perturbedTemperatureDependentContactAngleForce::theta() const
const volScalarField& T = film.thermo().T();
// Initialize with the function of temperature
// Initialise with the function of temperature
thetai.field() = thetaPtr_->value(T());
// Add the stochastic perturbation
@ -114,7 +114,7 @@ perturbedTemperatureDependentContactAngleForce::theta() const
{
fvPatchField<scalar>& thetaf = theta.boundaryFieldRef()[patchi];
// Initialize with the function of temperature
// Initialise with the function of temperature
thetaf = thetaPtr_->value(T.boundaryField()[patchi]);
// Add the stochastic perturbation

Some files were not shown because too many files have changed in this diff Show More