Skip to content

Commit

Permalink
Default expansionRatio to 1 for mesh extrusion
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Greenshields committed May 18, 2015
1 parent f83c6e4 commit 939cdc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mesh/extrudeModel/extrudeModel/extrudeModel.C
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
{}
Expand Down

0 comments on commit 939cdc3

Please sign in to comment.