diff --git a/src/foam/meshes/polyMesh/globalMeshData/globalProcFaceIndex.C b/src/foam/meshes/polyMesh/globalMeshData/globalProcFaceIndex.C index 149ff962a..0b221932f 100644 --- a/src/foam/meshes/polyMesh/globalMeshData/globalProcFaceIndex.C +++ b/src/foam/meshes/polyMesh/globalMeshData/globalProcFaceIndex.C @@ -35,7 +35,7 @@ void Foam::globalProcFaceIndex::calcFaceIndex() const polyBoundaryMesh& patches = mesh_.boundaryMesh(); - // Assing unique face label to all master processor faces + // Assign unique face label to all master processor faces // Count faces and processor faces per processor forAll (patches, patchI) diff --git a/src/foam/meshes/polyMesh/globalMeshData/globalProcFaceIndex.H b/src/foam/meshes/polyMesh/globalMeshData/globalProcFaceIndex.H index 2da075d12..6655e3b53 100644 --- a/src/foam/meshes/polyMesh/globalMeshData/globalProcFaceIndex.H +++ b/src/foam/meshes/polyMesh/globalMeshData/globalProcFaceIndex.H @@ -33,7 +33,7 @@ Description Face offsets counts a number of unique faces on each processor, excluding slave processor patch faces, which are given master face index. - If needed, global face indes from all faces can be derived from this data + If needed, global face index from all faces can be derived from this data Currently, faces are ordered with internal faces first, followed by patch faces in patch order, excluding slave processor patches. @@ -122,7 +122,7 @@ public: //- Return global face label for all faces of current mesh // Sized to number of live faces in the mesh - const labelList globalLabel() const + const labelList& globalLabel() const { return globalLabel_; }