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:
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -68,7 +68,7 @@ Description
|
|||||||
+ B
|
+ 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
|
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.
|
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
|
Phase two is where you search path with lowest value. These are assigned
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -666,7 +666,7 @@ int main(int argc, char *argv[])
|
|||||||
<< exit(FatalError);
|
<< 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
|
// in nullptr (which always means kCCMIONoErr) and then assign the
|
||||||
// return value to 'err'.).
|
// return value to 'err'.).
|
||||||
CCMIOID root;
|
CCMIOID root;
|
||||||
@ -694,7 +694,7 @@ int main(int argc, char *argv[])
|
|||||||
<< endl;
|
<< endl;
|
||||||
delete [] desc;
|
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.
|
// read the mesh and solution information.
|
||||||
int i = 0;
|
int i = 0;
|
||||||
CCMIOID processor;
|
CCMIOID processor;
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -40,7 +40,7 @@ Description
|
|||||||
to create cell zones and faces zones (similar to
|
to create cell zones and faces zones (similar to
|
||||||
fluentMeshWithInternalFaces).
|
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.
|
"setFields" utility. see the classes: topoSetSource, zoneToCell.
|
||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|||||||
@ -387,7 +387,7 @@ int main(int argc, char *argv[])
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
// Initialize its addressing
|
// Initialise its addressing
|
||||||
cellProcAddressing[proci] = identity(meshToAdd.nCells());
|
cellProcAddressing[proci] = identity(meshToAdd.nCells());
|
||||||
faceProcAddressing[proci] = identity(meshToAdd.nFaces());
|
faceProcAddressing[proci] = identity(meshToAdd.nFaces());
|
||||||
pointProcAddressing[proci] = identity(meshToAdd.nPoints());
|
pointProcAddressing[proci] = identity(meshToAdd.nPoints());
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2016-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2016-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -150,7 +150,7 @@ int main(int argc, char *argv[])
|
|||||||
Foam::instantList timeDirs = Foam::timeSelector::select0(runTime, args);
|
Foam::instantList timeDirs = Foam::timeSelector::select0(runTime, args);
|
||||||
#include "createNamedMesh.H"
|
#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;
|
HashSet<word> selectedFields;
|
||||||
if (args.optionFound("fields"))
|
if (args.optionFound("fields"))
|
||||||
{
|
{
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
* Permission to use any of this code wherever you want is granted..
|
* Permission to use any of this code wherever you want is granted..
|
||||||
* Although, please do acknowledge authorship if appropriate.
|
* 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()
|
* the polygon reduction routine. At each frame the RenderModel()
|
||||||
* routine is called to draw the model. This module also
|
* routine is called to draw the model. This module also
|
||||||
* animates the parameters (such as number of vertices to
|
* animates the parameters (such as number of vertices to
|
||||||
|
|||||||
@ -406,7 +406,7 @@ int APIENTRY WinMain(HINSTANCE hCurrentInst, HINSTANCE hPreviousInst,
|
|||||||
HWND hWnd; /* window */
|
HWND hWnd; /* window */
|
||||||
MSG msg; /* message */
|
MSG msg; /* message */
|
||||||
|
|
||||||
// InitModel() initializes some data structures and
|
// InitModel() initialises some data structures and
|
||||||
// does the progressive mesh polygon reduction algorithm
|
// does the progressive mesh polygon reduction algorithm
|
||||||
// on the model.
|
// on the model.
|
||||||
CalcFPSDeltaT(); // to time the algorithm
|
CalcFPSDeltaT(); // to time the algorithm
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
# ========= |
|
# ========= |
|
||||||
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
# \\ / O peration | Website: https://openfoam.org
|
# \\ / O peration | Website: https://openfoam.org
|
||||||
# \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
# \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
# \\/ M anipulation |
|
# \\/ M anipulation |
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# License
|
# License
|
||||||
@ -107,7 +107,7 @@ fi
|
|||||||
|
|
||||||
echo "run $args" > $PWD/gdbCommands
|
echo "run $args" > $PWD/gdbCommands
|
||||||
echo "where" >> $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"
|
$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
|
read method
|
||||||
|
|||||||
@ -484,15 +484,7 @@
|
|||||||
|
|
||||||
*** Orthography
|
*** Orthography
|
||||||
Given the origins of OpenFOAM, the British spellings (/e.g./, neighbour and
|
Given the origins of OpenFOAM, the British spellings (/e.g./, neighbour and
|
||||||
not neighbor) are generally favoured.
|
not neighbor and '-ise' rather than '-ize') 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
|
|
||||||
*** References
|
*** References
|
||||||
References provided in the =Description= section of the class header files
|
References provided in the =Description= section of the class header files
|
||||||
should be formatted in the [[http://www.apastyle.org][APA (American
|
should be formatted in the [[http://www.apastyle.org][APA (American
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
# ========= |
|
# ========= |
|
||||||
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
# \\ / O peration | Website: https://openfoam.org
|
# \\ / O peration | Website: https://openfoam.org
|
||||||
# \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
# \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
# \\/ M anipulation |
|
# \\/ M anipulation |
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# License
|
# License
|
||||||
@ -151,7 +151,7 @@ fi
|
|||||||
# ~~~~~~~~~~~~~~~~~~~~~~
|
# ~~~~~~~~~~~~~~~~~~~~~~
|
||||||
export WM_PROJECT_USER_DIR=$HOME/$WM_PROJECT/$USER-$WM_PROJECT_VERSION
|
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
|
. $WM_PROJECT_DIR/etc/config.sh/functions
|
||||||
|
|
||||||
@ -220,7 +220,7 @@ fi
|
|||||||
unset cleaned foamClean foamOldDirs
|
unset cleaned foamClean foamOldDirs
|
||||||
|
|
||||||
|
|
||||||
# Unload initialization functions:
|
# Unload initialisation functions:
|
||||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
. $WM_PROJECT_DIR/etc/config.sh/functions
|
. $WM_PROJECT_DIR/etc/config.sh/functions
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
# ========= |
|
# ========= |
|
||||||
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
# \\ / O peration | Website: https://openfoam.org
|
# \\ / O peration | Website: https://openfoam.org
|
||||||
# \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
# \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
# \\/ M anipulation |
|
# \\/ M anipulation |
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# License
|
# License
|
||||||
@ -25,7 +25,7 @@
|
|||||||
# etc/config.sh/functions
|
# etc/config.sh/functions
|
||||||
#
|
#
|
||||||
# Description
|
# Description
|
||||||
# Initialization script functions for the bashrc environment
|
# Initialisation script functions for the bashrc environment
|
||||||
# Sourced from OpenFOAM-<VERSION>/etc/config.sh/bashrc
|
# Sourced from OpenFOAM-<VERSION>/etc/config.sh/bashrc
|
||||||
#
|
#
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -227,7 +227,7 @@ kOmegaSSTLM<BasicMomentumTransportModel>::ReThetat0
|
|||||||
max(100*sqrt((2.0/3.0)*k[celli])/Us[celli], scalar(0.027))
|
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
|
// If lambda were cached between time-steps convergence would be faster
|
||||||
// starting from the previous time-step value.
|
// starting from the previous time-step value.
|
||||||
scalar lambda = 0;
|
scalar lambda = 0;
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -75,7 +75,7 @@ void* Foam::sigFpe::mallocNan(size_t size)
|
|||||||
// Call the low-level GLIBC malloc function
|
// Call the low-level GLIBC malloc function
|
||||||
void * result = __libc_malloc(size);
|
void * result = __libc_malloc(size);
|
||||||
|
|
||||||
// Initialize to signalling NaN
|
// Initialise to signalling NaN
|
||||||
UList<scalar> lst(reinterpret_cast<scalar*>(result), size/sizeof(scalar));
|
UList<scalar> lst(reinterpret_cast<scalar*>(result), size/sizeof(scalar));
|
||||||
sigFpe::fillNan(lst);
|
sigFpe::fillNan(lst);
|
||||||
|
|
||||||
@ -138,7 +138,7 @@ Foam::sigFpe::~sigFpe()
|
|||||||
if (env("FOAM_SETNAN"))
|
if (env("FOAM_SETNAN"))
|
||||||
{
|
{
|
||||||
#ifdef LINUX
|
#ifdef LINUX
|
||||||
// Disable initialization to NaN
|
// Disable initialisation to NaN
|
||||||
mallocNanActive_ = false;
|
mallocNanActive_ = false;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -31,8 +31,8 @@ Description
|
|||||||
- \par FOAM_SIGFPE
|
- \par FOAM_SIGFPE
|
||||||
Exception trapping
|
Exception trapping
|
||||||
- \par FOAM_SETNAN
|
- \par FOAM_SETNAN
|
||||||
Initialization of all malloced memory to NaN. If FOAM_SIGFPE
|
Initialisation of all malloced memory to NaN. If FOAM_SIGFPE
|
||||||
also set, this will cause usage of uninitialized scalars to trigger
|
also set, this will cause usage of uninitialised scalars to trigger
|
||||||
an abort.
|
an abort.
|
||||||
|
|
||||||
SourceFiles
|
SourceFiles
|
||||||
@ -104,7 +104,7 @@ public:
|
|||||||
static bool mallocNanActive_;
|
static bool mallocNanActive_;
|
||||||
|
|
||||||
#ifdef LINUX
|
#ifdef LINUX
|
||||||
//- Malloc function which initializes to NaN
|
//- Malloc function which initialises to NaN
|
||||||
static void* mallocNan(size_t size);
|
static void* mallocNan(size_t size);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -1493,7 +1493,7 @@ Foam::pointIndexHit Foam::dynamicIndexedOctree<Type>::findLine
|
|||||||
<< " bb:" << subBbox(nodeI, octant) << endl;
|
<< " bb:" << subBbox(nodeI, octant) << endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Current position. Initialize to miss
|
// Current position. Initialise to miss
|
||||||
pointIndexHit hitInfo(false, treeStart, -1);
|
pointIndexHit hitInfo(false, treeStart, -1);
|
||||||
|
|
||||||
// while (true)
|
// while (true)
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -1521,7 +1521,7 @@ Foam::pointIndexHit Foam::indexedOctree<Type>::findLine
|
|||||||
<< " bb:" << subBbox(nodeI, octant) << endl;
|
<< " bb:" << subBbox(nodeI, octant) << endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Current position. Initialize to miss
|
// Current position. Initialise to miss
|
||||||
pointIndexHit hitInfo(false, treeStart, -1);
|
pointIndexHit hitInfo(false, treeStart, -1);
|
||||||
|
|
||||||
// while (true)
|
// while (true)
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -100,7 +100,7 @@ public:
|
|||||||
template<class AnyType, class AnyHash>
|
template<class AnyType, class AnyHash>
|
||||||
HashSet(const HashTable<AnyType, Key, AnyHash>&);
|
HashSet(const HashTable<AnyType, Key, AnyHash>&);
|
||||||
|
|
||||||
//- Construct from an initializer list
|
//- Construct from an initialiser list
|
||||||
HashSet(std::initializer_list<Key>);
|
HashSet(std::initializer_list<Key>);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -212,7 +212,7 @@ public:
|
|||||||
//- Move constructor
|
//- Move constructor
|
||||||
HashTable(HashTable<T, Key, Hash>&&);
|
HashTable(HashTable<T, Key, Hash>&&);
|
||||||
|
|
||||||
//- Construct from an initializer list
|
//- Construct from an initialiser list
|
||||||
HashTable(std::initializer_list<Tuple2<Key, T>>);
|
HashTable(std::initializer_list<Tuple2<Key, T>>);
|
||||||
|
|
||||||
|
|
||||||
@ -315,7 +315,7 @@ public:
|
|||||||
//- Move assignment operator
|
//- Move assignment operator
|
||||||
void operator=(HashTable<T, Key, Hash>&&);
|
void operator=(HashTable<T, Key, Hash>&&);
|
||||||
|
|
||||||
//- Assignment to an initializer list
|
//- Assignment to an initialiser list
|
||||||
void operator=(std::initializer_list<Tuple2<Key, T>>);
|
void operator=(std::initializer_list<Tuple2<Key, T>>);
|
||||||
|
|
||||||
//- Equality. Hash tables are equal if the keys and values are equal.
|
//- Equality. Hash tables are equal if the keys and values are equal.
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -91,7 +91,7 @@ public:
|
|||||||
HashTable<T, label, Hash<label>>(move(map))
|
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)
|
Map(std::initializer_list<Tuple2<label, T>> map)
|
||||||
:
|
:
|
||||||
HashTable<T, label, Hash<label>>(map)
|
HashTable<T, label, Hash<label>>(map)
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -124,7 +124,7 @@ public:
|
|||||||
//- Move constructor
|
//- Move constructor
|
||||||
LList(LList<LListBase, T>&&);
|
LList(LList<LListBase, T>&&);
|
||||||
|
|
||||||
//- Construct from an initializer list
|
//- Construct from an initialiser list
|
||||||
LList(std::initializer_list<T>);
|
LList(std::initializer_list<T>);
|
||||||
|
|
||||||
|
|
||||||
@ -218,7 +218,7 @@ public:
|
|||||||
//- Move assignment operator
|
//- Move assignment operator
|
||||||
void operator=(LList<LListBase, T>&&);
|
void operator=(LList<LListBase, T>&&);
|
||||||
|
|
||||||
//- Assignment to an initializer list
|
//- Assignment to an initialiser list
|
||||||
void operator=(std::initializer_list<T>);
|
void operator=(std::initializer_list<T>);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -129,7 +129,7 @@ public:
|
|||||||
template<class InputIterator>
|
template<class InputIterator>
|
||||||
inline FixedList(InputIterator first, InputIterator last);
|
inline FixedList(InputIterator first, InputIterator last);
|
||||||
|
|
||||||
//- Construct from an initializer list
|
//- Construct from an initialiser list
|
||||||
inline FixedList(std::initializer_list<T>);
|
inline FixedList(std::initializer_list<T>);
|
||||||
|
|
||||||
//- Construct from UList
|
//- Construct from UList
|
||||||
@ -225,7 +225,7 @@ public:
|
|||||||
//- Assignment to SLList operator. Takes linear time
|
//- Assignment to SLList operator. Takes linear time
|
||||||
inline void operator=(const SLList<T>&);
|
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>);
|
inline void operator=(std::initializer_list<T>);
|
||||||
|
|
||||||
//- Assignment of all entries to the given value
|
//- Assignment of all entries to the given value
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -141,7 +141,7 @@ public:
|
|||||||
//- Construct with given size and value for all elements
|
//- Construct with given size and value for all elements
|
||||||
List(const label, const T&);
|
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);
|
List(const label, const zero);
|
||||||
|
|
||||||
//- Copy constructor
|
//- Copy constructor
|
||||||
@ -180,7 +180,7 @@ public:
|
|||||||
//- Construct as copy of BiIndirectList<T>
|
//- Construct as copy of BiIndirectList<T>
|
||||||
explicit List(const BiIndirectList<T>&);
|
explicit List(const BiIndirectList<T>&);
|
||||||
|
|
||||||
//- Construct from an initializer list
|
//- Construct from an initialiser list
|
||||||
List(std::initializer_list<T>);
|
List(std::initializer_list<T>);
|
||||||
|
|
||||||
//- Construct from Istream
|
//- Construct from Istream
|
||||||
@ -273,7 +273,7 @@ public:
|
|||||||
//- Assignment to BiIndirectList operator. Takes linear time
|
//- Assignment to BiIndirectList operator. Takes linear time
|
||||||
void operator=(const BiIndirectList<T>&);
|
void operator=(const BiIndirectList<T>&);
|
||||||
|
|
||||||
//- Assignment to an initializer list
|
//- Assignment to an initialiser list
|
||||||
void operator=(std::initializer_list<T>);
|
void operator=(std::initializer_list<T>);
|
||||||
|
|
||||||
//- Assignment of all entries to the given value
|
//- Assignment of all entries to the given value
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -96,7 +96,7 @@ public:
|
|||||||
//- Construct from Istream
|
//- Construct from Istream
|
||||||
PackedBoolList(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);
|
explicit inline PackedBoolList(const label size);
|
||||||
|
|
||||||
//- Construct with given size and value for all elements
|
//- Construct with given size and value for all elements
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -221,7 +221,7 @@ public:
|
|||||||
//- Null constructor
|
//- Null constructor
|
||||||
inline PackedList();
|
inline PackedList();
|
||||||
|
|
||||||
//- Construct with given size, initializes list to 0
|
//- Construct with given size, initialises list to 0
|
||||||
explicit inline PackedList(const label size);
|
explicit inline PackedList(const label size);
|
||||||
|
|
||||||
//- Construct with given size and value for all elements
|
//- Construct with given size and value for all elements
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -87,7 +87,7 @@ public:
|
|||||||
//- Move constructor
|
//- Move constructor
|
||||||
SortableList(SortableList<T>&&);
|
SortableList(SortableList<T>&&);
|
||||||
|
|
||||||
//- Construct from an initializer list, sorting immediately
|
//- Construct from an initialiser list, sorting immediately
|
||||||
SortableList(std::initializer_list<T>);
|
SortableList(std::initializer_list<T>);
|
||||||
|
|
||||||
|
|
||||||
@ -133,7 +133,7 @@ public:
|
|||||||
//- Move assignment operator
|
//- Move assignment operator
|
||||||
inline void operator=(SortableList<T>&&);
|
inline void operator=(SortableList<T>&&);
|
||||||
|
|
||||||
//- Assignment to an initializer list
|
//- Assignment to an initialiser list
|
||||||
void operator=(std::initializer_list<T>);
|
void operator=(std::initializer_list<T>);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -191,7 +191,7 @@ bool Foam::functionEntry::execute
|
|||||||
{
|
{
|
||||||
cerr<< "functionEntry::execute"
|
cerr<< "functionEntry::execute"
|
||||||
<< "(const word&, dictionary&, Istream&)"
|
<< "(const word&, dictionary&, Istream&)"
|
||||||
<< " not yet initialized, function = "
|
<< " not yet initialised, function = "
|
||||||
<< functionName.c_str() << std::endl;
|
<< functionName.c_str() << std::endl;
|
||||||
|
|
||||||
// Return true to keep reading
|
// Return true to keep reading
|
||||||
@ -234,7 +234,7 @@ bool Foam::functionEntry::execute
|
|||||||
{
|
{
|
||||||
cerr<< "functionEntry::execute"
|
cerr<< "functionEntry::execute"
|
||||||
<< "(const word&, const dictionary&, primitiveEntry&, Istream&)"
|
<< "(const word&, const dictionary&, primitiveEntry&, Istream&)"
|
||||||
<< " not yet initialized, function = "
|
<< " not yet initialised, function = "
|
||||||
<< functionName.c_str() << std::endl;
|
<< functionName.c_str() << std::endl;
|
||||||
|
|
||||||
// return true to keep reading anyhow
|
// return true to keep reading anyhow
|
||||||
|
|||||||
@ -101,7 +101,7 @@ protected:
|
|||||||
//- Return a description (type + name) for the output
|
//- Return a description (type + name) for the output
|
||||||
virtual string description() const;
|
virtual string description() const;
|
||||||
|
|
||||||
//- Get the dictionary to initialize the codeContext
|
//- Get the dictionary to initialise the codeContext
|
||||||
virtual const dictionary& codeDict() const;
|
virtual const dictionary& codeDict() const;
|
||||||
|
|
||||||
//- Get the keywords associated with source code
|
//- Get the keywords associated with source code
|
||||||
|
|||||||
@ -654,7 +654,7 @@ bool Foam::functionObjectList::read()
|
|||||||
bool ok = true;
|
bool ok = true;
|
||||||
updated_ = execution_;
|
updated_ = execution_;
|
||||||
|
|
||||||
// Avoid reading/initializing if execution is off
|
// Avoid reading/initialising if execution is off
|
||||||
if (!execution_)
|
if (!execution_)
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -30,7 +30,7 @@ License
|
|||||||
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
void Foam::dimensioned<Type>::initialize(Istream& is)
|
void Foam::dimensioned<Type>::initialise(Istream& is)
|
||||||
{
|
{
|
||||||
token nextToken(is);
|
token nextToken(is);
|
||||||
is.putBack(nextToken);
|
is.putBack(nextToken);
|
||||||
@ -161,7 +161,7 @@ Foam::dimensioned<Type>::dimensioned
|
|||||||
dimensions_(dimSet),
|
dimensions_(dimSet),
|
||||||
value_(Zero)
|
value_(Zero)
|
||||||
{
|
{
|
||||||
initialize(is);
|
initialise(is);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -177,7 +177,7 @@ Foam::dimensioned<Type>::dimensioned
|
|||||||
dimensions_(dimSet),
|
dimensions_(dimSet),
|
||||||
value_(Zero)
|
value_(Zero)
|
||||||
{
|
{
|
||||||
initialize(dict.lookup(name));
|
initialise(dict.lookup(name));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -78,9 +78,9 @@ class dimensioned
|
|||||||
|
|
||||||
// Private Member Functions
|
// Private Member Functions
|
||||||
|
|
||||||
//- Initialize from Istream
|
//- Initialise from Istream
|
||||||
// Helper-function for constructors
|
// Helper-function for constructors
|
||||||
void initialize(Istream& is);
|
void initialise(Istream& is);
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
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.
|
// of the given field.
|
||||||
// Note: these will usually be over-ridden by the boundary field
|
// Note: these will usually be over-ridden by the boundary field
|
||||||
// evaluation e.g. in the case of processor and cyclic patches.
|
// evaluation e.g. in the case of processor and cyclic patches.
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -996,7 +996,7 @@ void Foam::argList::parse
|
|||||||
{
|
{
|
||||||
Info<< "Roots : " << roots << nl;
|
Info<< "Roots : " << roots << nl;
|
||||||
}
|
}
|
||||||
Info<< "Pstream initialized with:" << nl
|
Info<< "Pstream initialised with:" << nl
|
||||||
<< " floatTransfer : " << Pstream::floatTransfer << nl
|
<< " floatTransfer : " << Pstream::floatTransfer << nl
|
||||||
<< " nProcsSimpleSum : " << Pstream::nProcsSimpleSum << nl
|
<< " nProcsSimpleSum : " << Pstream::nProcsSimpleSum << nl
|
||||||
<< " commsType : "
|
<< " commsType : "
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -174,7 +174,7 @@ public:
|
|||||||
//- Standard name for the post-processing option
|
//- Standard name for the post-processing option
|
||||||
static word postProcessOptionName;
|
static word postProcessOptionName;
|
||||||
|
|
||||||
// Class to initialize options table
|
// Class to initialise options table
|
||||||
// with the standard case related options
|
// with the standard case related options
|
||||||
class initValidTables
|
class initValidTables
|
||||||
{
|
{
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -25,7 +25,7 @@ Class
|
|||||||
Foam::ParRunControl
|
Foam::ParRunControl
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Helper class for initializing parallel jobs from the command arguments.
|
Helper class for initialising parallel jobs from the command arguments.
|
||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2016-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2016-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -46,7 +46,7 @@ void Foam::LLTMatrix<Type>::decompose(const SquareMatrix<Type>& M)
|
|||||||
{
|
{
|
||||||
SquareMatrix<Type>& LLT = *this;
|
SquareMatrix<Type>& LLT = *this;
|
||||||
|
|
||||||
// Initialize the LLT decomposition matrix to M
|
// Initialise the LLT decomposition matrix to M
|
||||||
LLT = M;
|
LLT = M;
|
||||||
|
|
||||||
const label m = LLT.m();
|
const label m = LLT.m();
|
||||||
@ -95,7 +95,7 @@ void Foam::LLTMatrix<Type>::solve
|
|||||||
const Field<Type>& source
|
const Field<Type>& source
|
||||||
) const
|
) const
|
||||||
{
|
{
|
||||||
// If x and source are different initialize x = source
|
// If x and source are different initialise x = source
|
||||||
if (&x != &source)
|
if (&x != &source)
|
||||||
{
|
{
|
||||||
x = source;
|
x = source;
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -35,7 +35,7 @@ void Foam::LUscalarMatrix::solve
|
|||||||
const Field<Type>& source
|
const Field<Type>& source
|
||||||
) const
|
) const
|
||||||
{
|
{
|
||||||
// If x and source are different initialize x = source
|
// If x and source are different initialise x = source
|
||||||
if (&x != &source)
|
if (&x != &source)
|
||||||
{
|
{
|
||||||
x = source;
|
x = source;
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -115,11 +115,11 @@ public:
|
|||||||
Matrix(const label m, const label n);
|
Matrix(const label m, const label n);
|
||||||
|
|
||||||
//- Construct with given number of rows and columns
|
//- 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);
|
Matrix(const label m, const label n, const zero);
|
||||||
|
|
||||||
//- Construct with given number of rows and columns
|
//- 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&);
|
Matrix(const label m, const label n, const Type&);
|
||||||
|
|
||||||
//- Copy constructor.
|
//- Copy constructor.
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2016-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2016-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -42,10 +42,10 @@ void Foam::QRMatrix<MatrixType>::decompose(const MatrixType& M)
|
|||||||
const label m = M.m();
|
const label m = M.m();
|
||||||
const label n = M.n();
|
const label n = M.n();
|
||||||
|
|
||||||
// Initialize the R-matrix to M
|
// Initialise the R-matrix to M
|
||||||
R_ = M;
|
R_ = M;
|
||||||
|
|
||||||
// Initialize the Q-matrix to I
|
// Initialise the Q-matrix to I
|
||||||
Q_.setSize(m);
|
Q_.setSize(m);
|
||||||
Q_ = I;
|
Q_ = I;
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2016-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2016-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -71,7 +71,7 @@ private:
|
|||||||
|
|
||||||
// Private Member Functions
|
// 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)
|
// the appropriate transformed source (e.g. Q.T()*source)
|
||||||
// and return the solution in x
|
// and return the solution in x
|
||||||
void solvex(Field<cmptType>& x) const;
|
void solvex(Field<cmptType>& x) const;
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -75,7 +75,7 @@ public:
|
|||||||
inline RectangularMatrix(const MatrixBlock<MatrixType>&);
|
inline RectangularMatrix(const MatrixBlock<MatrixType>&);
|
||||||
|
|
||||||
//- Construct with given number of rows and columns
|
//- 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);
|
inline RectangularMatrix(const label m, const label n, const zero);
|
||||||
|
|
||||||
//- Construct with given number of rows and columns
|
//- Construct with given number of rows and columns
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -80,19 +80,19 @@ public:
|
|||||||
inline SquareMatrix(const MatrixBlock<MatrixType>&);
|
inline SquareMatrix(const MatrixBlock<MatrixType>&);
|
||||||
|
|
||||||
//- Construct given number of rows/columns
|
//- Construct given number of rows/columns
|
||||||
// initializing all elements to zero
|
// initialising all elements to zero
|
||||||
inline SquareMatrix(const label n, const zero);
|
inline SquareMatrix(const label n, const zero);
|
||||||
|
|
||||||
//- Construct given number of rows and columns (checked to be equal)
|
//- 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);
|
inline SquareMatrix(const label m, const label n, const zero);
|
||||||
|
|
||||||
//- Construct given number of rows/columns
|
//- Construct given number of rows/columns
|
||||||
// Initializing to the identity matrix
|
// Initialising to the identity matrix
|
||||||
inline SquareMatrix(const label n, const Identity<Type>);
|
inline SquareMatrix(const label n, const Identity<Type>);
|
||||||
|
|
||||||
//- Construct with given number of rows and rows
|
//- 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&);
|
inline SquareMatrix(const label n, const Type&);
|
||||||
|
|
||||||
//- Construct as copy of a RectangularMatrix
|
//- Construct as copy of a RectangularMatrix
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -65,14 +65,14 @@ public:
|
|||||||
//- Construct given number of rows/columns.
|
//- Construct given number of rows/columns.
|
||||||
inline SymmetricSquareMatrix(const label n);
|
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);
|
inline SymmetricSquareMatrix(const label n, const zero);
|
||||||
|
|
||||||
//- Construct given number of rows/columns,
|
//- Construct given number of rows/columns,
|
||||||
inline SymmetricSquareMatrix(const label n, const Identity<Type>);
|
inline SymmetricSquareMatrix(const label n, const Identity<Type>);
|
||||||
|
|
||||||
//- Construct with given number of rows/columns
|
//- 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&);
|
inline SymmetricSquareMatrix(const label n, const Type&);
|
||||||
|
|
||||||
//- Construct from Istream.
|
//- Construct from Istream.
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -67,7 +67,7 @@ protected:
|
|||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct null initializing count to 0
|
//- Construct null initialising count to 0
|
||||||
refCount()
|
refCount()
|
||||||
:
|
:
|
||||||
count_(0)
|
count_(0)
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -66,7 +66,7 @@ Foam::pointHit Foam::face::ray
|
|||||||
scalar nearestMissDist = great;
|
scalar nearestMissDist = great;
|
||||||
bool eligible = false;
|
bool eligible = false;
|
||||||
|
|
||||||
// Initialize to miss, distance = great
|
// Initialise to miss, distance = great
|
||||||
pointHit nearest(p);
|
pointHit nearest(p);
|
||||||
|
|
||||||
const labelList& f = *this;
|
const labelList& f = *this;
|
||||||
@ -160,7 +160,7 @@ Foam::pointHit Foam::face::intersection
|
|||||||
|
|
||||||
scalar nearestHitDist = vGreat;
|
scalar nearestHitDist = vGreat;
|
||||||
|
|
||||||
// Initialize to miss, distance = great
|
// Initialise to miss, distance = great
|
||||||
pointHit nearest(p);
|
pointHit nearest(p);
|
||||||
|
|
||||||
const labelList& f = *this;
|
const labelList& f = *this;
|
||||||
@ -231,7 +231,7 @@ Foam::pointHit Foam::face::nearestPointClassify
|
|||||||
const face& f = *this;
|
const face& f = *this;
|
||||||
point ctr = centre(meshPoints);
|
point ctr = centre(meshPoints);
|
||||||
|
|
||||||
// Initialize to miss, distance=great
|
// Initialise to miss, distance=great
|
||||||
pointHit nearest(p);
|
pointHit nearest(p);
|
||||||
|
|
||||||
nearType = -1;
|
nearType = -1;
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -879,14 +879,14 @@ void Foam::globalPoints::calculateSharedPoints
|
|||||||
|
|
||||||
labelHashSet changedPoints(2*nPatchPoints_);
|
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)
|
// inserted (in changedPoints)
|
||||||
// There are two possible forms of this:
|
// 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
|
// patch points to be exchanged so a lot of information gets stored and
|
||||||
// transferred. This all gets filtered out later when removing the
|
// transferred. This all gets filtered out later when removing the
|
||||||
// equivalence lists of size 2.
|
// 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
|
// This should work for all decompositions except extreme ones where a
|
||||||
// shared point is not on the boundary of any processor patches using it.
|
// 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
|
// This would happen if a domain was pinched such that two patches share
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -50,7 +50,7 @@ Description
|
|||||||
constructs a mapDistribute to send all data to this master.
|
constructs a mapDistribute to send all data to this master.
|
||||||
|
|
||||||
Algorithm:
|
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.
|
equivalence lists to this.
|
||||||
loop
|
loop
|
||||||
- send to all neighbours in relative form:
|
- send to all neighbours in relative form:
|
||||||
@ -218,7 +218,7 @@ class globalPoints
|
|||||||
const labelPairList& pointInfo
|
const labelPairList& pointInfo
|
||||||
) const;
|
) 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().
|
// seed with all patch points, = false: only boundaryPoints().
|
||||||
void initOwnPoints
|
void initOwnPoints
|
||||||
(
|
(
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -284,7 +284,7 @@ Foam::polyBoundaryMesh::nbrEdges() const
|
|||||||
nbrEdgesPtr_.reset(new List<labelPairList>(size()));
|
nbrEdgesPtr_.reset(new List<labelPairList>(size()));
|
||||||
List<labelPairList>& nbrEdges = nbrEdgesPtr_();
|
List<labelPairList>& nbrEdges = nbrEdgesPtr_();
|
||||||
|
|
||||||
// Initialize.
|
// Initialise.
|
||||||
label nEdgePairs = 0;
|
label nEdgePairs = 0;
|
||||||
forAll(*this, patchi)
|
forAll(*this, patchi)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
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.)
|
// refer to *this (except for name() and type() etc.)
|
||||||
virtual void initOrder
|
virtual void initOrder
|
||||||
(
|
(
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
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.)
|
// refer to *this (except for name() and type() etc.)
|
||||||
virtual void initOrder(PstreamBuffers&, const primitivePatch&) const;
|
virtual void initOrder(PstreamBuffers&, const primitivePatch&) const;
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -318,7 +318,7 @@ public:
|
|||||||
return transformer::null;
|
return transformer::null;
|
||||||
}
|
}
|
||||||
|
|
||||||
//- Initialize ordering for primitivePatch. Does not
|
//- Initialise ordering for primitivePatch. Does not
|
||||||
// refer to *this (except for name() and type() etc.)
|
// refer to *this (except for name() and type() etc.)
|
||||||
virtual void initOrder(PstreamBuffers&, const primitivePatch&) const;
|
virtual void initOrder(PstreamBuffers&, const primitivePatch&) const;
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -331,7 +331,7 @@ public:
|
|||||||
return referPatch().transform();
|
return referPatch().transform();
|
||||||
}
|
}
|
||||||
|
|
||||||
//- Initialize ordering for primitivePatch. Does not
|
//- Initialise ordering for primitivePatch. Does not
|
||||||
// refer to *this (except for name() and type() etc.)
|
// refer to *this (except for name() and type() etc.)
|
||||||
virtual void initOrder(PstreamBuffers&, const primitivePatch&) const;
|
virtual void initOrder(PstreamBuffers&, const primitivePatch&) const;
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
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.)
|
// refer to *this (except for name() and type() etc.)
|
||||||
virtual void initOrder(PstreamBuffers&, const primitivePatch&) const;
|
virtual void initOrder(PstreamBuffers&, const primitivePatch&) const;
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -319,7 +319,7 @@ inline Foam::pointHit Foam::triangle<Point, PointRef>::ray
|
|||||||
const vector E0 = b_ - a_;
|
const vector E0 = b_ - a_;
|
||||||
const vector E1 = c_ - a_;
|
const vector E1 = c_ - a_;
|
||||||
|
|
||||||
// Initialize intersection to miss.
|
// Initialise intersection to miss.
|
||||||
pointHit inter(p);
|
pointHit inter(p);
|
||||||
|
|
||||||
vector n(0.5*(E0 ^ E1));
|
vector n(0.5*(E0 ^ E1));
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2016-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2016-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -73,7 +73,7 @@ public:
|
|||||||
//- Construct null
|
//- Construct null
|
||||||
inline Barycentric();
|
inline Barycentric();
|
||||||
|
|
||||||
//- Construct initialized to zero
|
//- Construct initialised to zero
|
||||||
inline Barycentric(const Foam::zero);
|
inline Barycentric(const Foam::zero);
|
||||||
|
|
||||||
//- Construct given four components
|
//- Construct given four components
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2017-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2017-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -73,7 +73,7 @@ public:
|
|||||||
//- Construct null
|
//- Construct null
|
||||||
inline Barycentric2D();
|
inline Barycentric2D();
|
||||||
|
|
||||||
//- Construct initialized to zero
|
//- Construct initialised to zero
|
||||||
inline Barycentric2D(const Foam::zero);
|
inline Barycentric2D(const Foam::zero);
|
||||||
|
|
||||||
//- Construct given four components
|
//- Construct given four components
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -77,7 +77,7 @@ public:
|
|||||||
//- Construct null
|
//- Construct null
|
||||||
inline DiagTensor();
|
inline DiagTensor();
|
||||||
|
|
||||||
//- Construct initialized to zero
|
//- Construct initialised to zero
|
||||||
inline DiagTensor(const Foam::zero);
|
inline DiagTensor(const Foam::zero);
|
||||||
|
|
||||||
//- Construct given VectorSpace
|
//- Construct given VectorSpace
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2016-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2016-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -201,7 +201,7 @@ public:
|
|||||||
//- Construct null
|
//- Construct null
|
||||||
inline MatrixSpace();
|
inline MatrixSpace();
|
||||||
|
|
||||||
//- Construct initialized to zero
|
//- Construct initialised to zero
|
||||||
inline MatrixSpace(const Foam::zero);
|
inline MatrixSpace(const Foam::zero);
|
||||||
|
|
||||||
//- Construct as copy of a VectorSpace with the same size
|
//- Construct as copy of a VectorSpace with the same size
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2016-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2016-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -69,7 +69,7 @@ public:
|
|||||||
//- Construct null
|
//- Construct null
|
||||||
inline RowVector();
|
inline RowVector();
|
||||||
|
|
||||||
//- Construct initialized to zero
|
//- Construct initialised to zero
|
||||||
inline RowVector(const Foam::zero);
|
inline RowVector(const Foam::zero);
|
||||||
|
|
||||||
//- Construct given VectorSpace of the same rank
|
//- Construct given VectorSpace of the same rank
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2016-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2016-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -52,7 +52,7 @@ class Identity
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
//- Construct initializing the SphericalTensor to 1
|
//- Construct initialising the SphericalTensor to 1
|
||||||
Identity()
|
Identity()
|
||||||
:
|
:
|
||||||
SphericalTensor<Cmpt>(1)
|
SphericalTensor<Cmpt>(1)
|
||||||
@ -63,7 +63,7 @@ public:
|
|||||||
:
|
:
|
||||||
public SphericalTensor<Cmpt>
|
public SphericalTensor<Cmpt>
|
||||||
{
|
{
|
||||||
//- Construct initializing the SphericalTensor to 1
|
//- Construct initialising the SphericalTensor to 1
|
||||||
dual()
|
dual()
|
||||||
:
|
:
|
||||||
SphericalTensor<Cmpt>(1)
|
SphericalTensor<Cmpt>(1)
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -82,7 +82,7 @@ public:
|
|||||||
//- Construct null
|
//- Construct null
|
||||||
inline SphericalTensor();
|
inline SphericalTensor();
|
||||||
|
|
||||||
//- Construct initialized to zero
|
//- Construct initialised to zero
|
||||||
inline SphericalTensor(const Foam::zero);
|
inline SphericalTensor(const Foam::zero);
|
||||||
|
|
||||||
//- Construct given VectorSpace
|
//- Construct given VectorSpace
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -78,7 +78,7 @@ public:
|
|||||||
//- Construct null
|
//- Construct null
|
||||||
inline SphericalTensor2D();
|
inline SphericalTensor2D();
|
||||||
|
|
||||||
//- Construct initialized to zero
|
//- Construct initialised to zero
|
||||||
inline SphericalTensor2D(const Foam::zero);
|
inline SphericalTensor2D(const Foam::zero);
|
||||||
|
|
||||||
//- Construct given VectorSpace
|
//- Construct given VectorSpace
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -82,7 +82,7 @@ public:
|
|||||||
//- Construct null
|
//- Construct null
|
||||||
inline SymmTensor();
|
inline SymmTensor();
|
||||||
|
|
||||||
//- Construct initialized to zero
|
//- Construct initialised to zero
|
||||||
inline SymmTensor(const Foam::zero);
|
inline SymmTensor(const Foam::zero);
|
||||||
|
|
||||||
//- Construct given VectorSpace of the same rank
|
//- Construct given VectorSpace of the same rank
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -82,7 +82,7 @@ public:
|
|||||||
//- Construct null
|
//- Construct null
|
||||||
inline SymmTensor2D();
|
inline SymmTensor2D();
|
||||||
|
|
||||||
//- Construct initialized to zero
|
//- Construct initialised to zero
|
||||||
inline SymmTensor2D(const Foam::zero);
|
inline SymmTensor2D(const Foam::zero);
|
||||||
|
|
||||||
//- Construct given VectorSpace
|
//- Construct given VectorSpace
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -93,7 +93,7 @@ public:
|
|||||||
//- Construct null
|
//- Construct null
|
||||||
inline Tensor();
|
inline Tensor();
|
||||||
|
|
||||||
//- Construct initialized to zero
|
//- Construct initialised to zero
|
||||||
inline Tensor(const Foam::zero);
|
inline Tensor(const Foam::zero);
|
||||||
|
|
||||||
//- Construct given MatrixSpace of the same rank
|
//- Construct given MatrixSpace of the same rank
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -85,7 +85,7 @@ public:
|
|||||||
//- Construct null
|
//- Construct null
|
||||||
inline Tensor2D();
|
inline Tensor2D();
|
||||||
|
|
||||||
//- Construct initialized to zero
|
//- Construct initialised to zero
|
||||||
inline Tensor2D(const Foam::zero);
|
inline Tensor2D(const Foam::zero);
|
||||||
|
|
||||||
//- Construct given VectorSpace
|
//- Construct given VectorSpace
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -81,7 +81,7 @@ public:
|
|||||||
//- Construct null
|
//- Construct null
|
||||||
inline Vector();
|
inline Vector();
|
||||||
|
|
||||||
//- Construct initialized to zero
|
//- Construct initialised to zero
|
||||||
inline Vector(const Foam::zero);
|
inline Vector(const Foam::zero);
|
||||||
|
|
||||||
//- Construct given VectorSpace of the same rank
|
//- Construct given VectorSpace of the same rank
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -75,7 +75,7 @@ public:
|
|||||||
//- Construct null
|
//- Construct null
|
||||||
inline Vector2D();
|
inline Vector2D();
|
||||||
|
|
||||||
//- Construct initialized to zero
|
//- Construct initialised to zero
|
||||||
inline Vector2D(const Foam::zero);
|
inline Vector2D(const Foam::zero);
|
||||||
|
|
||||||
//- Construct given VectorSpace
|
//- Construct given VectorSpace
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -156,7 +156,7 @@ public:
|
|||||||
//- Construct null
|
//- Construct null
|
||||||
inline VectorSpace();
|
inline VectorSpace();
|
||||||
|
|
||||||
//- Construct initialized to zero
|
//- Construct initialised to zero
|
||||||
inline VectorSpace(const Foam::zero);
|
inline VectorSpace(const Foam::zero);
|
||||||
|
|
||||||
//- Construct from Istream
|
//- Construct from Istream
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -555,7 +555,7 @@ unsigned Foam::HasherInt
|
|||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// hashword2() -- same as hashword(), but take two seeds and return two
|
// 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
|
// 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().
|
// (*pc) will be the same as the return value from hashword().
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
unsigned Foam::HasherDual
|
unsigned Foam::HasherDual
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2017-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2017-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -65,7 +65,7 @@ public:
|
|||||||
//- Construct null
|
//- Construct null
|
||||||
inline cubicEqn();
|
inline cubicEqn();
|
||||||
|
|
||||||
//- Construct initialized to zero
|
//- Construct initialised to zero
|
||||||
inline cubicEqn(const Foam::zero);
|
inline cubicEqn(const Foam::zero);
|
||||||
|
|
||||||
//- Construct from components
|
//- Construct from components
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2017-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2017-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -64,7 +64,7 @@ public:
|
|||||||
//- Construct null
|
//- Construct null
|
||||||
inline linearEqn();
|
inline linearEqn();
|
||||||
|
|
||||||
//- Construct initialized to zero
|
//- Construct initialised to zero
|
||||||
inline linearEqn(const Foam::zero);
|
inline linearEqn(const Foam::zero);
|
||||||
|
|
||||||
//- Construct from components
|
//- Construct from components
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2017-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2017-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -65,7 +65,7 @@ public:
|
|||||||
//- Construct null
|
//- Construct null
|
||||||
inline quadraticEqn();
|
inline quadraticEqn();
|
||||||
|
|
||||||
//- Construct initialized to zero
|
//- Construct initialised to zero
|
||||||
inline quadraticEqn(const Foam::zero);
|
inline quadraticEqn(const Foam::zero);
|
||||||
|
|
||||||
//- Construct from components
|
//- Construct from components
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2016-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2016-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -86,7 +86,7 @@ public:
|
|||||||
//- Construct null
|
//- Construct null
|
||||||
inline SpatialTensor();
|
inline SpatialTensor();
|
||||||
|
|
||||||
//- Construct initialized to zero
|
//- Construct initialised to zero
|
||||||
inline SpatialTensor(const Foam::zero);
|
inline SpatialTensor(const Foam::zero);
|
||||||
|
|
||||||
//- Construct given MatrixSpace of the same rank
|
//- Construct given MatrixSpace of the same rank
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2016-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2016-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -91,7 +91,7 @@ public:
|
|||||||
//- Construct null
|
//- Construct null
|
||||||
inline SpatialVector();
|
inline SpatialVector();
|
||||||
|
|
||||||
//- Construct initialized to zero
|
//- Construct initialised to zero
|
||||||
inline SpatialVector(const Foam::zero);
|
inline SpatialVector(const Foam::zero);
|
||||||
|
|
||||||
//- Construct given VectorSpace of the same rank
|
//- Construct given VectorSpace of the same rank
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -52,7 +52,7 @@ void Foam::meshReader::calcPointCells() const
|
|||||||
ptCells[i].setSize(UNIT_POINT_CELLS);
|
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
|
// actual number of cells per point during the analysis
|
||||||
labelList cellCount(nPoints, 0);
|
labelList cellCount(nPoints, 0);
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -24,7 +24,7 @@ License
|
|||||||
Description
|
Description
|
||||||
boundary faces
|
boundary faces
|
||||||
- use pointCells when searching for connectivity
|
- 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
|
- find both cell faces corresponding to the baffles and mark them
|
||||||
to prevent a connection
|
to prevent a connection
|
||||||
- standard connectivity checks
|
- standard connectivity checks
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -24,7 +24,7 @@ License
|
|||||||
Description
|
Description
|
||||||
create cellPolys
|
create cellPolys
|
||||||
- use pointCells when searching for connectivity
|
- 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
|
- find both cell faces corresponding to the baffles and mark them
|
||||||
to prevent a connection
|
to prevent a connection
|
||||||
- standard connectivity checks
|
- standard connectivity checks
|
||||||
@ -63,7 +63,7 @@ void Foam::meshReader::createPolyCells()
|
|||||||
// set reference to point-cell addressing
|
// set reference to point-cell addressing
|
||||||
const labelListList& ptCells = pointCells();
|
const labelListList& ptCells = pointCells();
|
||||||
|
|
||||||
// size the baffle lists and initialize to -1
|
// size the baffle lists and initialise to -1
|
||||||
baffleIds_.setSize(baffleFaces_.size());
|
baffleIds_.setSize(baffleFaces_.size());
|
||||||
forAll(baffleIds_, baffleI)
|
forAll(baffleIds_, baffleI)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
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);
|
labelList currentZone(mesh().size(), -1);
|
||||||
|
|
||||||
// Mark with 0 all faces reachable from seedFacei
|
// Mark with 0 all faces reachable from seedFacei
|
||||||
|
|||||||
@ -2342,7 +2342,7 @@ Foam::autoPtr<Foam::mapDistributePolyMesh> Foam::fvMeshDistribute::distribute
|
|||||||
subPointMap[Pstream::myProcNo()] = subMap().pointMap();
|
subPointMap[Pstream::myProcNo()] = subMap().pointMap();
|
||||||
subPatchMap[Pstream::myProcNo()] = identity(patches.size());
|
subPatchMap[Pstream::myProcNo()] = identity(patches.size());
|
||||||
|
|
||||||
// Initialize all addressing into current mesh
|
// Initialise all addressing into current mesh
|
||||||
constructCellMap[Pstream::myProcNo()] = identity(mesh_.nCells());
|
constructCellMap[Pstream::myProcNo()] = identity(mesh_.nCells());
|
||||||
constructFaceMap[Pstream::myProcNo()] = identity(mesh_.nFaces()) + 1;
|
constructFaceMap[Pstream::myProcNo()] = identity(mesh_.nFaces()) + 1;
|
||||||
constructPointMap[Pstream::myProcNo()] = identity(mesh_.nPoints());
|
constructPointMap[Pstream::myProcNo()] = identity(mesh_.nPoints());
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -2351,7 +2351,7 @@ Foam::labelList Foam::hexRef8::consistentSlowRefinement
|
|||||||
// Bit tricky. Say we want a distance of three cells between two
|
// Bit tricky. Say we want a distance of three cells between two
|
||||||
// consecutive refinement levels. This is done by using FaceCellWave to
|
// consecutive refinement levels. This is done by using FaceCellWave to
|
||||||
// transport out the new refinement level. It gets decremented by one
|
// 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
|
// we will get a field everywhere that tells us whether an unselected cell
|
||||||
// needs refining as well.
|
// needs refining as well.
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -815,7 +815,7 @@ void Foam::removeFaces::setRefinement
|
|||||||
const polyBoundaryMesh& patches = mesh_.boundaryMesh();
|
const polyBoundaryMesh& patches = mesh_.boundaryMesh();
|
||||||
|
|
||||||
// Usage of edges by non-removed faces.
|
// Usage of edges by non-removed faces.
|
||||||
// See below about initialization.
|
// See below about initialisation.
|
||||||
labelList nFacesPerEdge(mesh_.nEdges(), -1);
|
labelList nFacesPerEdge(mesh_.nEdges(), -1);
|
||||||
|
|
||||||
// Count usage of edges by non-removed faces.
|
// Count usage of edges by non-removed faces.
|
||||||
|
|||||||
@ -54,7 +54,7 @@ void Foam::CorrectPhi
|
|||||||
const fvMesh& mesh = phi.mesh();
|
const fvMesh& mesh = phi.mesh();
|
||||||
const Time& runTime = mesh.time();
|
const Time& runTime = mesh.time();
|
||||||
|
|
||||||
// Initialize BCs list for pcorr to zero-gradient
|
// Initialise BCs list for pcorr to zero-gradient
|
||||||
wordList pcorrTypes
|
wordList pcorrTypes
|
||||||
(
|
(
|
||||||
p.boundaryField().size(),
|
p.boundaryField().size(),
|
||||||
@ -128,7 +128,7 @@ void Foam::CorrectPhi
|
|||||||
const fvMesh& mesh = phi.mesh();
|
const fvMesh& mesh = phi.mesh();
|
||||||
const Time& runTime = mesh.time();
|
const Time& runTime = mesh.time();
|
||||||
|
|
||||||
// Initialize BCs list for pcorr to zero-gradient
|
// Initialise BCs list for pcorr to zero-gradient
|
||||||
wordList pcorrTypes
|
wordList pcorrTypes
|
||||||
(
|
(
|
||||||
p.boundaryField().size(),
|
p.boundaryField().size(),
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2013-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2013-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -97,7 +97,7 @@ Foam::uniformInletOutletFvPatchField<Type>::uniformInletOutletFvPatchField
|
|||||||
this->refGrad() = Zero;
|
this->refGrad() = Zero;
|
||||||
this->valueFraction() = 0.0;
|
this->valueFraction() = 0.0;
|
||||||
|
|
||||||
// Initialize the patch value to the refValue
|
// Initialise the patch value to the refValue
|
||||||
fvPatchField<Type>::operator=(this->refValue());
|
fvPatchField<Type>::operator=(this->refValue());
|
||||||
|
|
||||||
mapper(*this, ptf);
|
mapper(*this, ptf);
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2018-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
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
|
// Note: the limiter is not permitted to be > 1
|
||||||
Field<Type> limiter(vsf.primitiveField().size(), pTraits<Type>::one);
|
Field<Type> limiter(vsf.primitiveField().size(), pTraits<Type>::one);
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -29,7 +29,7 @@ Description
|
|||||||
|
|
||||||
Used in VanDriest wall damping where the interest is in y+ but only
|
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
|
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.
|
yStar to 1.
|
||||||
|
|
||||||
Note: should feed the additional argument (yPlusCutoff) through as a
|
Note: should feed the additional argument (yPlusCutoff) through as a
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -78,7 +78,7 @@ void Foam::functionObjects::fieldAverage::resetFields()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void Foam::functionObjects::fieldAverage::initialize()
|
void Foam::functionObjects::fieldAverage::initialise()
|
||||||
{
|
{
|
||||||
if (!totalIter_.size())
|
if (!totalIter_.size())
|
||||||
{
|
{
|
||||||
@ -91,7 +91,7 @@ void Foam::functionObjects::fieldAverage::initialize()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// Check if totalTime_ has been set otherwise initialize
|
// Check if totalTime_ has been set otherwise initialise
|
||||||
forAll(totalTime_, fieldi)
|
forAll(totalTime_, fieldi)
|
||||||
{
|
{
|
||||||
if (totalTime_[fieldi] < 0)
|
if (totalTime_[fieldi] < 0)
|
||||||
@ -135,7 +135,7 @@ void Foam::functionObjects::fieldAverage::restart()
|
|||||||
totalIter_.clear();
|
totalIter_.clear();
|
||||||
totalTime_.clear();
|
totalTime_.clear();
|
||||||
|
|
||||||
initialize();
|
initialise();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -143,7 +143,7 @@ void Foam::functionObjects::fieldAverage::calcAverages()
|
|||||||
{
|
{
|
||||||
if (!initialised_)
|
if (!initialised_)
|
||||||
{
|
{
|
||||||
initialize();
|
initialise();
|
||||||
}
|
}
|
||||||
|
|
||||||
const label currentTimeIndex = obr_.time().timeIndex();
|
const label currentTimeIndex = obr_.time().timeIndex();
|
||||||
@ -267,7 +267,7 @@ void Foam::functionObjects::fieldAverage::readAveragingProperties()
|
|||||||
|
|
||||||
totalIter_.setSize(faItems_.size(), 1);
|
totalIter_.setSize(faItems_.size(), 1);
|
||||||
|
|
||||||
// Initialize totalTime with negative values
|
// Initialise totalTime with negative values
|
||||||
// to indicate that it has not been set
|
// to indicate that it has not been set
|
||||||
totalTime_.setSize(faItems_.size(), -1);
|
totalTime_.setSize(faItems_.size(), -1);
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -202,9 +202,9 @@ protected:
|
|||||||
// and reset lists
|
// and reset lists
|
||||||
void resetFields();
|
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
|
// Check requested field averages are valid, populate field lists
|
||||||
void initialize();
|
void initialise();
|
||||||
|
|
||||||
//- Restart averaging for restartOnOutput
|
//- Restart averaging for restartOnOutput
|
||||||
void restart();
|
void restart();
|
||||||
|
|||||||
@ -124,7 +124,7 @@ class codedFvModel
|
|||||||
//- Clear any redirected objects
|
//- Clear any redirected objects
|
||||||
virtual void clearRedirect() const;
|
virtual void clearRedirect() const;
|
||||||
|
|
||||||
//- Get the dictionary to initialize the codeContext
|
//- Get the dictionary to initialise the codeContext
|
||||||
virtual const dictionary& codeDict() const;
|
virtual const dictionary& codeDict() const;
|
||||||
|
|
||||||
//- Get the keywords associated with source code
|
//- Get the keywords associated with source code
|
||||||
|
|||||||
@ -66,7 +66,7 @@ void Foam::phaseProperties::reorder(const wordList& specieNames)
|
|||||||
// Update the specie names to those given
|
// Update the specie names to those given
|
||||||
names_ = specieNames;
|
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())
|
if (names_.size() != names0.size())
|
||||||
{
|
{
|
||||||
Y_.setSize(names_.size());
|
Y_.setSize(names_.size());
|
||||||
|
|||||||
@ -50,7 +50,7 @@ void Foam::ORourkeCollision<CloudType>::collide
|
|||||||
occupancy[iter().cell()]++;
|
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);
|
CompactListList<parcelType*> pInCell(occupancy);
|
||||||
|
|
||||||
// Reset the occupancy to use as a counter
|
// Reset the occupancy to use as a counter
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2015-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2015-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -319,7 +319,7 @@ void Foam::blockMesh::calcMergeInfoFast()
|
|||||||
<< flush;
|
<< flush;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Size merge list and initialize to -1
|
// Size merge list and initialise to -1
|
||||||
mergeList_.setSize(nPoints_, -1);
|
mergeList_.setSize(nPoints_, -1);
|
||||||
|
|
||||||
// Block mesh topology
|
// Block mesh topology
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -802,7 +802,7 @@ void Foam::refinementSurfaces::findNearestIntersection
|
|||||||
// 1. intersection from start to end
|
// 1. intersection from start to end
|
||||||
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
// Initialize arguments
|
// Initialise arguments
|
||||||
surface1.setSize(start.size());
|
surface1.setSize(start.size());
|
||||||
surface1 = -1;
|
surface1 = -1;
|
||||||
hit1.setSize(start.size());
|
hit1.setSize(start.size());
|
||||||
@ -849,7 +849,7 @@ void Foam::refinementSurfaces::findNearestIntersection
|
|||||||
// 2. intersection from end to last intersection
|
// 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).
|
// to the first intersection (if any).
|
||||||
surface2 = surface1;
|
surface2 = surface1;
|
||||||
hit2 = hit1;
|
hit2 = hit1;
|
||||||
@ -935,7 +935,7 @@ void Foam::refinementSurfaces::findNearestIntersection
|
|||||||
// 1. intersection from start to end
|
// 1. intersection from start to end
|
||||||
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
// Initialize arguments
|
// Initialise arguments
|
||||||
surface1.setSize(start.size());
|
surface1.setSize(start.size());
|
||||||
surface1 = -1;
|
surface1 = -1;
|
||||||
hit1.setSize(start.size());
|
hit1.setSize(start.size());
|
||||||
@ -978,7 +978,7 @@ void Foam::refinementSurfaces::findNearestIntersection
|
|||||||
// 2. intersection from end to last intersection
|
// 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).
|
// to the first intersection (if any).
|
||||||
surface2 = surface1;
|
surface2 = surface1;
|
||||||
hit2 = hit1;
|
hit2 = hit1;
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2013-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2013-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -247,7 +247,7 @@ public:
|
|||||||
inline static scalar tolerance();
|
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.)
|
// refer to *this (except for name() and type() etc.)
|
||||||
virtual void initOrder
|
virtual void initOrder
|
||||||
(
|
(
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -324,7 +324,7 @@ public:
|
|||||||
) const;
|
) const;
|
||||||
|
|
||||||
|
|
||||||
//- Initialize ordering for primitivePatch. Does not
|
//- Initialise ordering for primitivePatch. Does not
|
||||||
// refer to *this (except for name() and type() etc.)
|
// refer to *this (except for name() and type() etc.)
|
||||||
virtual void initOrder
|
virtual void initOrder
|
||||||
(
|
(
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -117,7 +117,7 @@ public:
|
|||||||
|
|
||||||
// Constructors
|
// 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.
|
// whether or not to correct wall.
|
||||||
// Calculate for all cells. correctWalls : correct wall (face&point)
|
// Calculate for all cells. correctWalls : correct wall (face&point)
|
||||||
// cells for correct distance, searching neighbours.
|
// cells for correct distance, searching neighbours.
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -97,7 +97,7 @@ public:
|
|||||||
|
|
||||||
// Constructors
|
// 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.
|
// whether or not to correct wall.
|
||||||
// Calculate for all cells. correctWalls : correct wall (face&point)
|
// Calculate for all cells. correctWalls : correct wall (face&point)
|
||||||
// cells for correct distance, searching neighbours.
|
// cells for correct distance, searching neighbours.
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -270,7 +270,7 @@ void Foam::searchableSurfacesQueries::findNearestIntersection
|
|||||||
// 1. intersection from start to end
|
// 1. intersection from start to end
|
||||||
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
// Initialize arguments
|
// Initialise arguments
|
||||||
surface1.setSize(start.size());
|
surface1.setSize(start.size());
|
||||||
surface1 = -1;
|
surface1 = -1;
|
||||||
hit1.setSize(start.size());
|
hit1.setSize(start.size());
|
||||||
@ -306,7 +306,7 @@ void Foam::searchableSurfacesQueries::findNearestIntersection
|
|||||||
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
// Find the nearest intersection from end to start. Note that we
|
// 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;
|
surface2 = surface1;
|
||||||
hit2 = hit1;
|
hit2 = hit1;
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
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);
|
Map<label> visited(fEdges.size()*2);
|
||||||
|
|
||||||
forAll(fEdges, i)
|
forAll(fEdges, i)
|
||||||
|
|||||||
@ -2054,7 +2054,7 @@ int *ivec_indicator ( int n )
|
|||||||
//
|
//
|
||||||
// Input, int N, the number of elements of A.
|
// 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;
|
int *a;
|
||||||
|
|||||||
@ -99,7 +99,7 @@ perturbedTemperatureDependentContactAngleForce::theta() const
|
|||||||
|
|
||||||
const volScalarField& T = film.thermo().T();
|
const volScalarField& T = film.thermo().T();
|
||||||
|
|
||||||
// Initialize with the function of temperature
|
// Initialise with the function of temperature
|
||||||
thetai.field() = thetaPtr_->value(T());
|
thetai.field() = thetaPtr_->value(T());
|
||||||
|
|
||||||
// Add the stochastic perturbation
|
// Add the stochastic perturbation
|
||||||
@ -114,7 +114,7 @@ perturbedTemperatureDependentContactAngleForce::theta() const
|
|||||||
{
|
{
|
||||||
fvPatchField<scalar>& thetaf = theta.boundaryFieldRef()[patchi];
|
fvPatchField<scalar>& thetaf = theta.boundaryFieldRef()[patchi];
|
||||||
|
|
||||||
// Initialize with the function of temperature
|
// Initialise with the function of temperature
|
||||||
thetaf = thetaPtr_->value(T.boundaryField()[patchi]);
|
thetaf = thetaPtr_->value(T.boundaryField()[patchi]);
|
||||||
|
|
||||||
// Add the stochastic perturbation
|
// Add the stochastic perturbation
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user