Corrected typos in comments

found using cspell.

Patch contributed by Timo Niemi, VTT.
This commit is contained in:
Henry Weller
2019-10-18 11:46:20 +01:00
parent 7ec1f0d6a8
commit 81fca4c43a
167 changed files with 268 additions and 267 deletions

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -64,7 +64,7 @@ void Foam::sammMesh::calcPointCells() const
// the supporting point labels, we need to work based on the cell faces.
// This is because some of the faces for meshes with arbitrary interfaces
// do not come from the cell shape, but from the slaves of the coupled
// match. It is also adventageous to remove the duplicates from the
// match. It is also advantageous to remove the duplicates from the
// point-cell addressing, because this removes a lot of waste later.
//

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -37,7 +37,7 @@ void Foam::sammMesh::addRegularCell
const label nCreatedCells
)
{
// Momory management
// Memory management
static labelList labelsHex(8);
static labelList labelsWedge(7);
static labelList labelsPrism(6);

View File

@ -27,7 +27,7 @@ Class
Description
A messy mesh class which supports the possibility of creating a shapeMesh
for regular Samm meshes (no arbitrary interfaces or collapsed SAMM cells).
If any of these special feateres exist, the mesh is created as polyMesh
If any of these special features exist, the mesh is created as polyMesh
SourceFiles
sammMesh.C

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -64,7 +64,7 @@ void Foam::starMesh::calcPointCells() const
// the supporting point labels, we need to work based on the cell faces.
// This is because some of the faces for meshes with arbitrary interfaces
// do not come from the cell shape, but from the slaves of the coupled
// match. It is also adventageous to remove the duplicates from the
// match. It is also advantageous to remove the duplicates from the
// point-cell addressing, because this removes a lot of waste later.
//

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -31,7 +31,7 @@ Description
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// Specialist version of face comparison to deal with
// PROSTAR boundary format idiosyncracies
// PROSTAR boundary format idiosyncrasies
bool Foam::starMesh::starEqualFace
(
const face& boundaryFace,

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -993,7 +993,7 @@ void Foam::starMesh::createCoupleMatches()
// list of edges to consider. Make sure all edges are
// added such that the current point is their start.
// Loop through all edges to consider and find the one
// which produces the buggest right-hand-turn. This
// which produces the biggest right-hand-turn. This
// is the next edge to be added to the face. If its
// end is the same as the starting point, the face is
// complete; resize it to the number of active points

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -37,7 +37,7 @@ void Foam::starMesh::addRegularCell
const label nCreatedCells
)
{
// Momory management
// Memory management
static labelList labelsHex(8);
static labelList labelsPrism(6);
static labelList labelsPyramid(5);

View File

@ -27,7 +27,7 @@ Class
Description
A messy mesh class which supports the possibility of creating a shapeMesh
for regular Star meshes (no arbitrary interfaces or collapsed SAMM cells).
If any of these special feateres exist, the mesh is created as polyMesh
If any of these special features exist, the mesh is created as polyMesh
SourceFiles
calcPointCells.C

View File

@ -709,7 +709,7 @@ void countExtrudePatches
}
}
}
// Synchronise decistion. Actual numbers are not important, just make
// Synchronise decision. Actual numbers are not important, just make
// sure that they're > 0 on all processors.
Pstream::listCombineGather(zoneSidePatch, plusEqOp<label>());
Pstream::listCombineScatter(zoneSidePatch);
@ -2381,7 +2381,7 @@ int main(int argc, char *argv[])
meshMod
);
// Enforce actual point posititions according to extrudeModel (model)
// Enforce actual point positions according to extrudeModel (model)
// (extruder.setRefinement only does fixed expansionRatio)
// The regionPoints and nLayers are looped in the same way as in
// createShellMesh

View File

@ -69,8 +69,8 @@ public:
// Controls
//- Minimum cell size below which protusions through the surface are
// not split
//- Minimum cell size below which protrusions through the surface
// are not split
scalar minCellSize_;
//- Square of minCellSize
@ -114,14 +114,14 @@ public:
//- Square of span
scalar span2_;
//- Minimum edge-length of the cell size below which protusions
//- Minimum edge-length of the cell size below which protrusions
// through the surface are not split
scalar minEdgeLen_;
//- Square of minEdgeLen
scalar minEdgeLen2_;
//- Maximum notch size below which protusions into the surface are
//- Maximum notch size below which protrusions into the surface are
// not filled
scalar maxNotchLen_;

View File

@ -456,7 +456,7 @@ private:
//- Return false if the line is entirely outside the current processor
// domain, true is either point is inside, or the processor domain
// bounadry is intersected (i.e. the points are box outside but the
// boundary is intersected (i.e. the points are box outside but the
// line cuts. The points will be moved onto the box where they
// intersect.
bool clipLineToProc

View File

@ -636,7 +636,7 @@ bool Foam::autoDensity::fillBox
}
// Using the sampledPoints as the first test locations as they are
// randomly shuffled, but unfiormly sampling space and have wellInside
// randomly shuffled, but uniformly sampling space and have wellInside
// and size data already
maxDensity = 1/pow3(max(minCellSize, small));

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2013-2018 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2013-2019 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -773,7 +773,7 @@ void Foam::CV2D::newPoints()
if (!is_infinite(ec)) break;
} while (++ec != ecStart);
// Store the start-end of the first non-infinte edge
// Store the start-end of the first non-infinite edge
point2D de0 = toPoint2D(circumcenter(ec->first));
// Keep track of the maximum edge length^2

View File

@ -68,7 +68,7 @@ Description
randomiseInitialGrid yes;
// Perturbation fraction, 1 = cell-size.
randomPurturbation 0.1;
randomPerturbation 0.1;
// Number of relaxation iterations.
nIterations 5;

View File

@ -169,14 +169,14 @@ public:
// Friend Functions
//- Do the two given vertices consitute a boundary point-pair
//- Do the two given vertices constitute a boundary point-pair
friend bool pointPair <Gt, Vb>
(
const indexedVertex<Gt, Vb>& v0,
const indexedVertex<Gt, Vb>& v1
);
//- Do the three given vertices consitute a boundary triangle
//- Do the three given vertices constitute a boundary triangle
friend bool boundaryTriangle <Gt, Vb>
(
const indexedVertex<Gt, Vb>& v0,
@ -184,7 +184,7 @@ public:
const indexedVertex<Gt, Vb>& v2
);
//- Do the three given vertices consitute an outside triangle
//- Do the three given vertices constitute an outside triangle
friend bool outsideTriangle <Gt, Vb>
(
const indexedVertex<Gt, Vb>& v0,

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -1142,7 +1142,7 @@ void Foam::meshDualiser::setRefinement
);
}
// Detect whether different dual cells on either side of a face. This
// would neccesitate having a dual face built from the face and thus a
// would necessitate having a dual face built from the face and thus a
// dual point at the face centre.
for (label facei = 0; facei < mesh_.nInternalFaces(); facei++)
{
@ -1189,7 +1189,7 @@ void Foam::meshDualiser::setRefinement
}
// Detect whether different dual cells on either side of an edge. This
// would neccesitate having a dual face built perpendicular to the edge
// would necessitate having a dual face built perpendicular to the edge
// and thus a dual point at the mid of the edge.
// Note: not really true - the face can be built without the edge centre!
const labelListList& edgeCells = mesh_.edgeCells();