setAndNormalToFaceZone: Standardise input syntax

The set is now specified with a "set" keyword, as the fact that it is a
faceSet is clear from context. The old "faceSet" keyword is maintained
for backwards compatibility.
This commit is contained in:
Will Bainbridge
2021-12-09 15:54:55 +00:00
parent 491f355d97
commit da18afe589

View File

@ -64,7 +64,7 @@ Foam::setAndNormalToFaceZone::setAndNormalToFaceZone
)
:
topoSetSource(mesh),
setName_(dict.lookup("faceSet")),
setName_(dict.lookupBackwardsCompatible<word>({"set", "faceSet"})),
normal_(dict.lookup("normal"))
{}