STYLE: some general spelling fixes

This commit is contained in:
Mark Olesen
2020-05-04 09:15:21 +02:00
parent 2a24bab057
commit 8cfb483054
234 changed files with 332 additions and 340 deletions

View File

@ -426,8 +426,7 @@ void Foam::attachDetach::setRefinement(polyTopoChange& ref) const
else
{
FatalErrorInFunction
<< "Requested attach/detach event and currect state "
<< "is not known."
<< "Requested attach/detach event. Current state is unknown."
<< abort(FatalError);
}

View File

@ -1092,7 +1092,7 @@ bool Foam::cellCuts::walkCell
{
// Cut along existing edge. So is in fact on two faces.
// Get faces on both sides of the edge to make
// sure we dont fold back on to those.
// sure we do not fold back on to those.
label f0, f1;
meshTools::getEdgeFaces(mesh(), celli, edgeI, f0, f1);

View File

@ -1898,13 +1898,13 @@ bool Foam::polyMeshGeometry::checkFaceFlatness
if (nWarped> 0)
{
Info<< "There are " << nWarped
<< " faces with area of invidual triangles"
<< " faces with area of individual triangles"
<< " compared to overall area less than "
<< minFlatness << nl << endl;
}
else
{
Info<< "All faces are flat in that the area of invidual triangles"
Info<< "All faces are flat in that the area of individual triangles"
<< " compared to overall area is less than "
<< minFlatness << nl << endl;
}
@ -1916,7 +1916,7 @@ bool Foam::polyMeshGeometry::checkFaceFlatness
{
WarningInFunction
<< nWarped << " non-flat faces "
<< "(area of invidual triangles"
<< "(area of individual triangles"
<< " compared to overall area"
<< " < " << minFlatness << ") found.\n"
<< endl;

View File

@ -304,7 +304,7 @@ void Foam::displacementLayeredMotionMotionSolver::cellZoneSolve
if (patchesDict.size() != 2)
{
FatalIOErrorInFunction(*this)
<< "Two faceZones (patches) must be specifed per cellZone. "
<< "Two faceZones (patches) must be specified per cellZone. "
<< " cellZone:" << cellZoneI
<< " patches:" << patchesDict.toc()
<< exit(FatalIOError);

View File

@ -1067,7 +1067,7 @@ Foam::label Foam::edgeCollapser::syncCollapse
masterPointPriority
);
// Mark as collapsable but with nonsense master so it gets
// Mark as collapsible but with nonsense master so it gets
// overwritten and starts an update wave
allEdgeInfo[edgeI] = pointEdgeCollapse
(

View File

@ -327,7 +327,7 @@ public:
// edges that need to be collapsed in order to remove these faces.
// Also returns a map of new locations for points that will move
// as a result of the collapse.
// Use in conjuctions with edgeCollapser to synchronise the
// Use in conjunction with edgeCollapser to synchronise the
// collapses and modify the mesh
labelPair markSmallSliverFaces
(

View File

@ -462,7 +462,7 @@ void Foam::removePoints::updateMesh(const mapPolyMesh& map)
{
FatalErrorInFunction
<< "Old face " << savedFaceLabels_[localI]
<< " seems to have dissapeared."
<< " seems to have disappeared."
<< abort(FatalError);
}
savedFaceLabels_[localI] = newFacei;
@ -488,7 +488,7 @@ void Foam::removePoints::updateMesh(const mapPolyMesh& map)
{
FatalErrorInFunction
<< "Old point " << pointi
<< " seems to have dissapeared."
<< " seems to have disappeared."
<< abort(FatalError);
}
}

View File

@ -70,7 +70,7 @@ bool Foam::slidingInterface::projectPoints() const
// Algorithm:
// 1) Go through all the points of the master and slave patch and calculate
// minimum edge length coming from the point. Calculate the point
// merge tolerance as the fraction of mimimum edge length.
// merge tolerance as the fraction of minimum edge length.
// 2) Project all the slave points onto the master patch
// in the normal direction.
// 3) If some points have missed and the match is integral, the