STYLE: Correcting typos

This commit is contained in:
Andrew Heather
2018-03-28 17:14:16 +01:00
parent 3a569c9fd5
commit a230e8d408
486 changed files with 740 additions and 758 deletions

View File

@ -345,10 +345,10 @@ public:
//- Destructor
~AMIInterpolation();
// Typedef to SourcePatch type this AMIInterplation is instantiated on
// Typedef to SourcePatch type this AMIInterpolation is instantiated on
typedef SourcePatch sourcePatchType;
// Typedef to TargetPatch type this AMIInterplation is instantiated on
// Typedef to TargetPatch type this AMIInterpolation is instantiated on
typedef TargetPatch targetPatchType;

View File

@ -82,7 +82,7 @@ Foam::cyclicACMIGAMGInterfaceField::cyclicACMIGAMGInterfaceField
{}
// * * * * * * * * * * * * * * * * Desstructor * * * * * * * * * * * * * * * //
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
Foam::cyclicACMIGAMGInterfaceField::~cyclicACMIGAMGInterfaceField()
{}

View File

@ -130,7 +130,7 @@ public:
//- Cyclic interface functions
//- Does the interface field perform the transfromation
//- Does the interface field perform the transformation
virtual bool doTransform() const
{
return doTransform_;

View File

@ -82,7 +82,7 @@ Foam::cyclicAMIGAMGInterfaceField::cyclicAMIGAMGInterfaceField
{}
// * * * * * * * * * * * * * * * * Desstructor * * * * * * * * * * * * * * * //
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
Foam::cyclicAMIGAMGInterfaceField::~cyclicAMIGAMGInterfaceField()
{}

View File

@ -129,7 +129,7 @@ public:
//- Cyclic interface functions
//- Does the interface field perform the transfromation
//- Does the interface field perform the transformation
virtual bool doTransform() const
{
return doTransform_;

View File

@ -164,7 +164,7 @@ Foam::cyclicACMIGAMGInterface::cyclicACMIGAMGInterface
}
// * * * * * * * * * * * * * * * * Desstructor * * * * * * * * * * * * * * * //
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
Foam::cyclicACMIGAMGInterface::~cyclicACMIGAMGInterface()
{}

View File

@ -111,7 +111,7 @@ public:
//- Cyclic interface functions
//- Return neigbour processor number
//- Return neighbour processor number
virtual label neighbPatchID() const
{
return fineCyclicACMIInterface_.neighbPatchID();

View File

@ -164,7 +164,7 @@ Foam::cyclicAMIGAMGInterface::cyclicAMIGAMGInterface
}
// * * * * * * * * * * * * * * * * Desstructor * * * * * * * * * * * * * * * //
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
Foam::cyclicAMIGAMGInterface::~cyclicAMIGAMGInterface()
{}

View File

@ -183,7 +183,7 @@ public:
// Cyclic AMI coupled interface functions
//- Does the patch field perform the transfromation
//- Does the patch field perform the transformation
virtual bool doTransform() const
{
return

View File

@ -123,7 +123,7 @@ public:
// Constructors
//- Construct from (base couped patch) components
//- Construct from (base coupled patch) components
cyclicACMIPolyPatch
(
const word& name,

View File

@ -183,7 +183,7 @@ public:
// Cyclic AMI coupled interface functions
//- Does the patch field perform the transfromation
//- Does the patch field perform the transformation
virtual bool doTransform() const
{
return

View File

@ -169,7 +169,7 @@ public:
// Constructors
//- Construct from (base couped patch) components
//- Construct from (base coupled patch) components
cyclicAMIPolyPatch
(
const word& name,

View File

@ -482,7 +482,7 @@ void Foam::cyclicPeriodicAMIPolyPatch::resetAMI
// Average the number of transformstions
// Average the number of transformations
nTransforms_ = (nTransforms_ + nTransformsOld)/2;
// Check that the match is complete

View File

@ -96,7 +96,7 @@ public:
// Constructors
//- Construct from (base couped patch) components
//- Construct from (base coupled patch) components
cyclicPeriodicAMIPolyPatch
(
const word& name,

View File

@ -503,7 +503,7 @@ void Foam::FaceCellWave<Type, TrackingData>::offset
template<class Type, class TrackingData>
void Foam::FaceCellWave<Type, TrackingData>::handleProcPatches()
{
// Tranfer all the information to/from neighbouring processors
// Transfer all the information to/from neighbouring processors
const globalMeshData& pData = mesh_.globalData();

View File

@ -74,7 +74,7 @@ class PatchEdgeFaceWave
// Private static data
//- Relative tolerance. Stop propagation if relative changes
// less than this tolerance (responsability for checking this is
// less than this tolerance (responsibility for checking this is
// up to Type implementation)
static scalar propagationTol_;

View File

@ -90,7 +90,7 @@ class PointEdgeWave
// Private static data
//- Relative tolerance. Stop propagation if relative changes
// less than this tolerance (responsability for checking this is
// less than this tolerance (responsibility for checking this is
// up to Type implementation)
static scalar propagationTol_;

View File

@ -202,7 +202,7 @@ Foam::label Foam::cellDistFuncs::getPointNeighbours
FatalErrorInFunction
<< "Problem: fast pointNeighbours routine included " << nb
<< " which is not in proper neigbour list " << nbs.toc()
<< " which is not in proper neighbour list " << nbs.toc()
<< abort(FatalError);
}
nbs.erase(nb);

View File

@ -468,7 +468,7 @@ bool Foam::cellFeatures::isFeaturePoint(const label edge0, const label edge1)
if (cosAngle < minCos_)
{
// Angle larger than criterium
// Angle larger than criterion
return true;
}
else

View File

@ -1667,7 +1667,7 @@ void Foam::extendedEdgeMesh::trim
labelList allEdgeMap; // from all to original edge
labelList pointsFromEdge; // list of new points created by cutting
labelList oldEdge; // for each of these points the orginal edge
labelList oldEdge; // for each of these points the original edge
labelList surfTri; // for each of these points the surface triangle
cut
(

View File

@ -220,7 +220,7 @@ protected:
labelList& pMap,
labelList& eMap,
labelList& pointsFromEdge, // new points created by cutting
labelList& oldEdge, // the orginal edge
labelList& oldEdge, // the original edge
labelList& surfTri // the surface triangle index
);

View File

@ -263,7 +263,7 @@ bool Foam::primitiveMeshGeometry::checkFaceDotProduct
labelHashSet* setPtr
)
{
// for all internal faces check theat the d dot S product is positive
// for all internal faces check that the d dot S product is positive
const labelList& own = mesh.faceOwner();
const labelList& nei = mesh.faceNeighbour();

View File

@ -78,7 +78,7 @@ Foam::regionCoupledGAMGInterfaceField::regionCoupledGAMGInterfaceField
{}
// * * * * * * * * * * * * * * * * Desstructor * * * * * * * * * * * * * * * //
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
Foam::regionCoupledGAMGInterfaceField::~regionCoupledGAMGInterfaceField()
{}

View File

@ -78,7 +78,7 @@ Foam::regionCoupledWallGAMGInterfaceField::regionCoupledWallGAMGInterfaceField
{}
// * * * * * * * * * * * * * * * * Desstructor * * * * * * * * * * * * * * * //
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
Foam::regionCoupledWallGAMGInterfaceField::~regionCoupledWallGAMGInterfaceField
()

View File

@ -202,7 +202,7 @@ Foam::regionCoupledBaseGAMGInterface::regionCoupledBaseGAMGInterface
}
// * * * * * * * * * * * * * * * * Desstructor * * * * * * * * * * * * * * * //
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
Foam::regionCoupledBaseGAMGInterface::~regionCoupledBaseGAMGInterface()
{}

View File

@ -109,7 +109,7 @@ public:
//- Cyclic interface functions
//- Return neigbour processor number
//- Return neighbour processor number
virtual label neighbPatchID() const
{
return fineRegionCoupledLduInterface_.neighbPatchID();

View File

@ -66,7 +66,7 @@ Foam::regionCoupledGAMGInterface::regionCoupledGAMGInterface
{}
// * * * * * * * * * * * * * * * * Desstructor * * * * * * * * * * * * * * * //
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
Foam::regionCoupledGAMGInterface::~regionCoupledGAMGInterface()
{}

View File

@ -66,7 +66,7 @@ Foam::regionCoupledWallGAMGInterface::regionCoupledWallGAMGInterface
{}
// * * * * * * * * * * * * * * * * Desstructor * * * * * * * * * * * * * * * //
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
Foam::regionCoupledWallGAMGInterface::~regionCoupledWallGAMGInterface()
{}

View File

@ -82,7 +82,7 @@ public:
// Constructors
//- Construct from (base couped patch) components
//- Construct from (base coupled patch) components
regionCoupledPolyPatch
(
const word& name,

View File

@ -629,7 +629,7 @@ Foam::List<Foam::labelPair> Foam::localPointRegion::findDuplicateFacePairs
identity(mesh.nFaces()-mesh.nInternalFaces(), mesh.nInternalFaces())
);
// Find correspondencing baffle face (or -1)
// Find corresponding baffle face (or -1)
const labelList duplicateFace(findDuplicateFaces(mesh, testFaces));
// Convert into list of coupled face pairs (mesh face labels).

View File

@ -137,7 +137,7 @@ void Foam::searchableCone::findNearestAndNormal
scalar magS = mag(b);
b /= magS;
// Find the vector along sample pt and pt at one end of conde
// Find the vector along sample pt and pt at one end of cone
vector a(sample - projPt1);
if (mag(a) <= ROOTVSMALL)

View File

@ -150,7 +150,6 @@ void Foam::cellToFace::combine(topoSet& set, const bool add) const
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
// Construct from componenta
Foam::cellToFace::cellToFace
(
const polyMesh& mesh,
@ -164,7 +163,6 @@ Foam::cellToFace::cellToFace
{}
// Construct from dictionary
Foam::cellToFace::cellToFace
(
const polyMesh& mesh,
@ -177,7 +175,6 @@ Foam::cellToFace::cellToFace
{}
// Construct from Istream
Foam::cellToFace::cellToFace
(
const polyMesh& mesh,

View File

@ -197,7 +197,7 @@ public:
const label cellBI
) const;
//- Return true if olverlap volume is greater than threshold
//- Return true if overlap volume is greater than threshold
bool cellCellOverlapMinDecomp
(
const primitiveMesh& meshA,

View File

@ -103,7 +103,7 @@ class edgeIntersections
boolList& affectedEdges
) const;
//- Perturb single endpoint of edge if edge is algigned with face.
//- Perturb single endpoint of edge if edge is aligned with face.
// See inlinePerturb. Return true if anything changed.
bool rotatePerturb
(

View File

@ -173,7 +173,7 @@ public:
//- Helper: extract words of times
static wordList timeNames(const instantList&);
//- Helper: find time. Return true if succesful.
//- Helper: find time. Return true if successful.
static bool findTime
(
const instantList& times,

View File

@ -206,7 +206,7 @@ Foam::triSurface Foam::triSurfaceTools::doRefine
}
// Now we have new mid edge vertices for all edges on face
// so create triangles for RED rerfinement.
// so create triangles for RED refinement.
const edgeList& edges = surf.edges();
@ -1231,7 +1231,7 @@ Foam::surfaceLocation Foam::triSurfaceTools::visitFaces
if (nearest.triangle() == -1)
{
// Did not move from edge. Give warning? Return something special?
// For now responsability of caller to make sure that nothing has
// For now responsibility of caller to make sure that nothing has
// moved.
}
@ -2922,7 +2922,7 @@ Foam::surfaceLocation Foam::triSurfaceTools::trackToEdge
// Start point is inside triangle. Trivial cases already handled
// above.
// end point is on edge or point so cross currrent triangle to
// end point is on edge or point so cross current triangle to
// see which edge is cut.
nearest = cutEdge