mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: make coeffs dictionaries optional for surfaceFeatureExtract
This commit is contained in:
@ -52,7 +52,7 @@ Foam::surfaceFeaturesExtraction::extractFromNone::extractFromNone
|
||||
:
|
||||
method()
|
||||
{
|
||||
const dictionary& coeffDict = dict.subOrEmptyDict("extractFromNoneCoeffs");
|
||||
const dictionary& coeffDict = dict.optionalSubDict("noneCoeffs");
|
||||
|
||||
coeffDict.readIfPresent("includedAngle", includedAngle_);
|
||||
coeffDict.readIfPresent("geometricTestOnly", geometricTestOnly_);
|
||||
|
||||
Reference in New Issue
Block a user