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

@ -180,7 +180,7 @@ void Foam::directMethod::appendToDirectSeeds
{
// source cell srcI not yet mapped
// identfy if target cell exists for source cell srcI
// identify if target cell exists for source cell srcI
bool found = false;
forAll(tgtNbr, j)
{

View File

@ -92,7 +92,7 @@ protected:
const label tgtCellI
);
//- Append target cell neihgbour cells to cellIDs list
//- Append target cell neighbour cells to cellIDs list
virtual void appendNbrCells
(
const label tgtCelli,

View File

@ -104,7 +104,7 @@ private:
//- Target to source cell addressing
labelListList tgtToSrcCellAddr_;
//- Source to target cell interplation weights
//- Source to target cell interpolation weights
scalarListList srcToTgtCellWght_;
//- Target to source cell interpolation weights
@ -229,7 +229,8 @@ private:
// Parallel operations
//- Determine whether the meshes are split across multiple pocessors
//- Determine whether the meshes are split across multiple
//- processors
label calcDistribution
(
const polyMesh& src,
@ -267,7 +268,7 @@ private:
List<labelList>& procLocalFaceIDs
) const;
//- Collect pieces of tgt mesh from other procssors and restructure
//- Collect pieces of tgt mesh from other processors and restructure
void distributeAndMergeCells
(
const mapDistribute& map,
@ -526,7 +527,7 @@ public:
//- Interpolate a field with a defined operation. Values
// passed in via 'result' are used to initialise the return
// value. Optionallly uses gradient correction (internal
// value. Optionally uses gradient correction (internal
// field only) if interpolationMethod supports it
template<class Type, class CombineOp>
void mapSrcToTgt
@ -582,7 +583,7 @@ public:
//- Interpolate a field with a defined operation. Values
// passed in via 'result' are used to initialise the return
// value. Optionallly uses gradient correction (internal
// value. Optionally uses gradient correction (internal
// field only) if interpolationMethod supports it
template<class Type, class CombineOp>
void mapTgtToSrc

View File

@ -138,7 +138,7 @@ protected:
bool loadFromFiles_;
// Read from dictonary
// Read from dictionary
//- Names of fields to probe
wordRes fieldSelection_;

View File

@ -47,7 +47,7 @@ public:
{
// Keep x.
// Note:chould check for y != unsetVal but multiple sample cells
// Note: should check for y != unsetVal but multiple sample cells
// already handled in read().
}
else

View File

@ -57,7 +57,7 @@ class arraySet
{
// Private data
//- Coordinate syste
//- Coordinate system
coordinateSystem coordSys_;
//- Point density vector

View File

@ -90,7 +90,7 @@ void Foam::patchCloudSet::calcSamples
// Not very random
Random rndGen(123456);
// Make bb asymetric just to avoid problems on symmetric meshes
// Make bb asymmetric just to avoid problems on symmetric meshes
bb = bb.extend(rndGen, 1e-4);
// Make sure bb is 3D.

View File

@ -92,7 +92,7 @@ protected:
//- Returns cell next to boundary face
label getBoundaryCell(const label) const;
//- Returns the neigbour cell or the owner if face in on the boundary
//- Returns the neighbour cell or the owner if face in on the boundary
label getNeighbourCell(const label) const;
//- Return the cell in which the point on the sample line

View File

@ -492,7 +492,7 @@ void Foam::isoSurface::calcCutTypes
Foam::point Foam::isoSurface::calcCentre(const triSurface& s)
{
// Caculate centre of surface.
// Calculate centre of surface.
vector sum = Zero;

View File

@ -166,7 +166,7 @@ class isoSurfaceCell
const labelledTri&
);
//- Caculate centre of surface.
//- Calculate centre of surface.
static point calcCentre(const triSurface&);
//- Replace surface (localPoints, localTris) with single point.