snappyHexMeshConfig: Fix for Gcc 5.4, and spelling corrections

This commit is contained in:
Chris Greenshields
2023-07-13 16:20:05 +01:00
parent c4fbbd440b
commit 6e64865cfd
2 changed files with 4 additions and 4 deletions

View File

@ -129,8 +129,8 @@ void Foam::meshingSurfaceList::setSurfaceTypes
( (
!operator[](surfi).closed() !operator[](surfi).closed()
&& ( && (
type == surfaceType::rotatingZone type == meshingSurface::surfaceType::rotatingZone
|| type == surfaceType::cellZone || type == meshingSurface::surfaceType::cellZone
) )
) )
{ {
@ -288,7 +288,7 @@ void Foam::meshingSurfaceList::setBounds(const boundBox& bb)
{ {
if (bb.contains(bb_)) if (bb.contains(bb_))
{ {
Info<< "Specifed bounding box contains the overall bounding box" Info<< "Specified bounding box contains the overall bounding box"
<< endl; << endl;
} }
else else

View File

@ -68,7 +68,7 @@ class snappyHexMeshConfiguration
//- Refinement level applied across the snappyHexMeshDict file //- Refinement level applied across the snappyHexMeshDict file
const label refinementLevel_; const label refinementLevel_;
//- Level of refinement on speficied surfaces //- Level of refinement on specified surfaces
const List<Tuple2<word, label>>& surfaceLevels_; const List<Tuple2<word, label>>& surfaceLevels_;
//- Refinement regions specified by surface and level //- Refinement regions specified by surface and level