make propsDict of noDrag model optional again

since all entries this propsDict are optional, it is only convenient to
make it optional
This commit is contained in:
danielque
2018-10-09 09:59:35 +02:00
parent e4c26a3004
commit 288ddfaf86

View File

@ -61,7 +61,7 @@ noDrag::noDrag
)
:
forceModel(dict,sm),
propsDict_(dict.subDict(word(typeName + "Props"))),
propsDict_(dict.subOrEmptyDict(word(typeName + "Props"))),
verbose_(propsDict_.found("verbose")),
noDEMForce_(propsDict_.found("noDEMForce")),
keepCFDForce_(propsDict_.found("keepCFDForce"))