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

@ -339,7 +339,7 @@ public:
const Time& time() const;
//- Return the current instance directory for points
// Used in the consruction of gemometric mesh data dependent
// Used in the construction of geometric mesh data dependent
// on points
const fileName& pointsInstance() const;
@ -381,7 +381,7 @@ public:
//- Return faces
const faceList& faces() const;
//- Edge owner addresing
//- Edge owner addressing
inline const labelList& edgeOwner() const
{
return edgeOwner_;
@ -457,7 +457,7 @@ public:
}
// Mesh motion and mophing
// Mesh motion and morphing
//- Is mesh moving
bool moving() const

View File

@ -1283,7 +1283,7 @@ void Foam::faMesh::calcPointAreaNormalsByQuadricsFit() const
W[i] = 1.0/magSqr(allPoints[i] - points[curPoint]);
}
// Transforme points
// Transform points
const vector& origin = points[curPoint];
vector axis(result[curPoint]/mag(result[curPoint]));
vector dir(allPoints[0] - points[curPoint]);

View File

@ -320,7 +320,7 @@ Foam::faAreaMapper::faAreaMapper
direct_ = false;
}
// Inserted objects not suported: no master
// Inserted objects not supported: no master
}

View File

@ -170,7 +170,7 @@ public:
//- Return interpolated addressing
virtual const labelListList& addressing() const;
//- Return interpolaion weights
//- Return interpolation weights
virtual const scalarListList& weights() const;
//- Are there any inserted faces

View File

@ -141,7 +141,7 @@ public:
//- Return interpolated addressing
virtual const labelListList& addressing() const;
//- Return interpolaion weights
//- Return interpolation weights
virtual const scalarListList& weights() const;
//- Are there any inserted faces

View File

@ -148,7 +148,7 @@ public:
//- Return interpolated addressing
virtual const labelListList& addressing() const;
//- Return interpolaion weights
//- Return interpolation weights
virtual const scalarListList& weights() const;
};

View File

@ -67,7 +67,7 @@ int Foam::processorFaPatch::tag() const
void Foam::processorFaPatch::makeNonGlobalPatchPoints() const
{
// If it is not runing parallel or there are no global points
// If it is not running parallel or there are no global points
// create a 1->1 map
// Can not use faGlobalMeshData at this point yet

View File

@ -60,19 +60,19 @@ class processorFaPatch
{
// Private data
//- My processro number
//- My processor number
int myProcNo_;
//- Neighbour processor number
int neighbProcNo_;
//- Processor-neighbbour patch edge centres
//- Processor-neighbour patch edge centres
vectorField neighbEdgeCentres_;
//- Processor-neighbbour patch edge lengths
//- Processor-neighbour patch edge lengths
vectorField neighbEdgeLengths_;
//- Processor-neighbbour patch neighbour face centres
//- Processor-neighbour patch neighbour face centres
vectorField neighbEdgeFaceCentres_;
//- Corresponding neighbouring local point label for every local point
@ -188,7 +188,7 @@ public:
return myProcNo_;
}
//- Return neigbour processor number
//- Return neighbour processor number
int neighbProcNo() const
{
return neighbProcNo_;
@ -233,19 +233,19 @@ public:
virtual tmp<vectorField> delta() const;
//- Return processor-neighbbour patch edge centres
//- Return processor-neighbour patch edge centres
const vectorField& neighbEdgeCentres() const
{
return neighbEdgeCentres_;
}
//- Return processor-neighbbour patch edge lengths
//- Return processor-neighbour patch edge lengths
const vectorField& neighbEdgeLengths() const
{
return neighbEdgeLengths_;
}
//- Return processor-neighbbour patch neighbour face centres
//- Return processor-neighbour patch neighbour face centres
const vectorField& neighbEdgeFaceCentres() const
{
return neighbEdgeFaceCentres_;

View File

@ -266,7 +266,7 @@ public:
virtual void write(Ostream&) const;
// Acces functions for geometrical data
// Access functions for geometrical data
//- Return patch point labels
const labelList& pointLabels() const;