mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: Correcting typos
This commit is contained in:
@ -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)
|
||||
{
|
||||
|
||||
@ -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,
|
||||
|
||||
@ -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
|
||||
|
||||
@ -138,7 +138,7 @@ protected:
|
||||
bool loadFromFiles_;
|
||||
|
||||
|
||||
// Read from dictonary
|
||||
// Read from dictionary
|
||||
|
||||
//- Names of fields to probe
|
||||
wordRes fieldSelection_;
|
||||
|
||||
@ -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
|
||||
|
||||
@ -57,7 +57,7 @@ class arraySet
|
||||
{
|
||||
// Private data
|
||||
|
||||
//- Coordinate syste
|
||||
//- Coordinate system
|
||||
coordinateSystem coordSys_;
|
||||
|
||||
//- Point density vector
|
||||
|
||||
@ -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.
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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;
|
||||
|
||||
|
||||
@ -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.
|
||||
|
||||
Reference in New Issue
Block a user