Corrected typos in comments

found using cspell.

Patch contributed by Timo Niemi, VTT.
Resolves patch request https://bugs.openfoam.org/view.php?id=3372
This commit is contained in:
Henry Weller
2019-10-18 11:57:11 +01:00
parent 81fca4c43a
commit 4e6695e32d
24 changed files with 64 additions and 64 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
@ -517,7 +517,7 @@ int main(int argc, char *argv[])
{
Info<< "Could not insert mesh edge " << edgeI
<< " for input point " << pts.first() << nl
<< "Perhaps the edge is already marked for collaping?" << endl;
<< "Perhaps the edge is already marked for collapsing?" << endl;
validInputs = false;
}

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
@ -112,7 +112,7 @@ hexBlock::hexBlock(const label nx, const label ny, const label nz)
void hexBlock::readPoints
(
const bool readBlank,
const scalar twoDThicknes,
const scalar twoDThickness,
Istream& is
)
{
@ -120,7 +120,7 @@ void hexBlock::readPoints
label nPoints = points_.size();
if (twoDThicknes > 0)
if (twoDThickness > 0)
{
nPoints /= 2;
}
@ -137,7 +137,7 @@ void hexBlock::readPoints
is >> points_[i].y();
}
if (twoDThicknes > 0)
if (twoDThickness > 0)
{
Info<< "Extruding " << nPoints << " points in z direction..." << endl;
// Duplicate points
@ -148,7 +148,7 @@ void hexBlock::readPoints
for (label i=0; i < nPoints; i++)
{
points_[i].z() = 0;
points_[i+nPoints].z() = twoDThicknes;
points_[i+nPoints].z() = twoDThickness;
}
}
else

View File

@ -149,7 +149,7 @@ public:
void readPoints
(
const bool readBlank,
const scalar twoDThicknes,
const scalar twoDThickness,
Istream&
);
};

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -93,7 +93,7 @@ void Foam::sammMesh::fixCollapsedEdges()
forAll(vertexLabels, vI)
{
// In order for a face to be a valid entity, duplicate
// vertices can only be consecutive (othervise, the
// vertices can only be consecutive (otherwise, the
// collapse creates an invalid face). We shall use this
// property in the creation of the collapsed face
@ -130,7 +130,7 @@ void Foam::sammMesh::fixCollapsedEdges()
{
FatalErrorInFunction
<< "face " << facei << " of cell " << celli
<< " is colapsed down to a point or edge, which is "
<< " is collapsed down to a point or edge, which is "
<< "not permitted" << endl
<< "original face: " << vertexLabels << endl
<< "purged face: " << newFace << endl

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
@ -92,7 +92,7 @@ void Foam::starMesh::fixCollapsedEdges()
forAll(vertexLabels, vI)
{
// In order for a face to be a valid entity, duplicate
// vertices can only be consecutive (othervise, the
// vertices can only be consecutive (otherwise, the
// collapse creates an invalid face). We shall use this
// property in the creation of the collapsed face
@ -129,7 +129,7 @@ void Foam::starMesh::fixCollapsedEdges()
{
FatalErrorInFunction
<< "Face " << facei << " of cell " << celli
<< " is colapsed down to a point or edge, which is "
<< " is collapsed down to a point or edge, which is "
<< "not permitted" << endl
<< "original face: " << vertexLabels << endl
<< "purged face: " << newFace << endl

View File

@ -268,7 +268,7 @@ int main(int argc, char *argv[])
if (nElemAttr != 0)
{
WarningInFunction
<< "Element attributes (third elemenent in .ele header)"
<< "Element attributes (third element in .ele header)"
<< " not used" << endl;
}