Default expansionRatio to 1 for mesh extrusion

This commit is contained in:
Chris Greenshields
2015-05-18 13:18:03 +01:00
parent afe7e3eee9
commit 83f36adb8e

View File

@ -42,7 +42,7 @@ Foam::extrudeModel::extrudeModel
)
:
nLayers_(dict.lookupOrDefault<label>("nLayers", 1)),
expansionRatio_(readScalar(dict.lookup("expansionRatio"))),
expansionRatio_(dict.lookupOrDefault<scalar>("expansionRatio", 1)),
dict_(dict),
coeffDict_(dict.subDict(modelType + "Coeffs"))
{}