mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: update surfaceFeatureExtract to work with new surfaceFeatures
This commit is contained in:
@ -1021,7 +1021,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
autoPtr<surfaceFeatures> set;
|
||||
|
||||
scalar includedAngle = -1;
|
||||
scalar includedAngle = 0.0;
|
||||
|
||||
if (extractionMethod == "extractFromFile")
|
||||
{
|
||||
@ -1123,7 +1123,7 @@ int main(int argc, char *argv[])
|
||||
Info<< "Removing features with number of edges < "
|
||||
<< minElem << endl;
|
||||
|
||||
set().trimFeatures(minLen, minElem);
|
||||
set().trimFeatures(minLen, minElem, includedAngle);
|
||||
}
|
||||
}
|
||||
|
||||
@ -1223,7 +1223,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
|
||||
surfaceFeatures newSet(surf);
|
||||
newSet.setFromStatus(edgeStat);
|
||||
newSet.setFromStatus(edgeStat, includedAngle);
|
||||
|
||||
Info<< nl
|
||||
<< "Initial feature set:" << nl
|
||||
|
||||
Reference in New Issue
Block a user