ENH: add default control values to ease SIMPLE->PIMPLE transition

- add const-ness for control variables

- drop unused fluxGradp variable

- use lookupOrDefault instead of found/lookup combination
This commit is contained in:
Mark Olesen
2010-05-20 08:24:55 +02:00
parent 0abf9b4529
commit 80b8071e75
18 changed files with 93 additions and 134 deletions

View File

@ -46,7 +46,6 @@ PISO
nCorrectors 2;
nNonOrthogonalCorrectors 1;
momentumPredictor yes;
fluxGradp no;
}

View File

@ -63,7 +63,6 @@ PISO
nCorrectors 2;
nNonOrthogonalCorrectors 0;
momentumPredictor yes;
fluxGradp no;
}
relaxationFactors

View File

@ -71,7 +71,6 @@ PISO
nCorrectors 2;
nNonOrthogonalCorrectors 0;
momentumPredictor yes;
fluxGradp no;
}
relaxationFactors