topoSet: Rationalised the name keyword for zones and patches
For a set to zone conversion the name of the zone is now specified with the 'zone' keyword. For a patch to set conversion the name of the patch is now specified with the 'patch' keyword. Backward-compatibility is supported for both these changes. Additionally the file name of a searchableSurface file is specified with the 'file' keyword. This should be 'surface' but that keyword is currently and confusingly used for the surface type rather than name and this cannot be changed conveniently while maintaining backward compatibility.
This commit is contained in:
@ -35,10 +35,7 @@ actions
|
||||
type faceSet;
|
||||
action new;
|
||||
source patchToFace;
|
||||
sourceInfo
|
||||
{
|
||||
name freeSurface;
|
||||
}
|
||||
patch freeSurface;
|
||||
}
|
||||
|
||||
{
|
||||
|
||||
@ -21,10 +21,7 @@ actions
|
||||
type faceSet;
|
||||
action new;
|
||||
source patchToFace;
|
||||
sourceInfo
|
||||
{
|
||||
name floatingObject;
|
||||
}
|
||||
patch floatingObject;
|
||||
}
|
||||
|
||||
{
|
||||
|
||||
@ -35,10 +35,7 @@ actions
|
||||
type faceSet;
|
||||
action new;
|
||||
source patchToFace;
|
||||
sourceInfo
|
||||
{
|
||||
name freeSurface;
|
||||
}
|
||||
patch freeSurface;
|
||||
}
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user