snappyHexMeshConfig: Fix for Gcc 5.4, and spelling corrections

This commit is contained in:
Will Bainbridge
2023-07-11 11:08:35 +01:00
parent 2b3b820c90
commit f5485c4609
3 changed files with 8 additions and 8 deletions

View File

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

View File

@ -117,10 +117,10 @@ Usage
Refinement level at specified surfaces, e.g. '((pipe 2) (baffles 1))'
- \par -refinementRegions \<entry\>
Refinement regions specfied by '( (<surface> <level>) (...) )'
Refinement regions specified by '( (<surface> <level>) (...) )'
- \par -refinementBoxes \<entry\>
Refinement boxes specfied by '( (<min> <max> <level>) (...) )'
Refinement boxes specified by '( (<min> <max> <level>) (...) )'
- \par -refinementDists \<entry\>
Refinement distance specified by '( (<surface> <dist> <level>) (...) )'
@ -261,14 +261,14 @@ int main(int argc, char *argv[])
(
"refinementRegions",
"entry",
"refinement regions specfied by '( (<surface> <level>) (...) )'"
"refinement regions specified by '( (<surface> <level>) (...) )'"
);
argList::addOption
(
"refinementBoxes",
"entry",
"refinement boxes specfied by '( (<min> <max> <level>) (...) )'"
"refinement boxes specified by '( (<min> <max> <level>) (...) )'"
);
argList::addOption

View File

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