Skip to content

Commit

Permalink
fix #122 + updated release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Kerkemeier committed Aug 29, 2021
1 parent 672add6 commit b696458
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
* FEMSEM preconditioner
* NVIDIA AmgX solver
* Update file (nekrs.upd) for runtime modifications
* Validate key/value input in par
* Various bug fixes

## What you may have to change to be compatible
Expand Down
2 changes: 1 addition & 1 deletion examples/double_shear/double_shear.par
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
numSteps = 2000
polynomialOrder = 5
dt = 1e-03
timestepper = bdf3
timeStepper = tombo2

[PRESSURE]
residualTol = 1e-08
Expand Down
2 changes: 1 addition & 1 deletion src/lib/nekrs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ double dt(int tstep)
}

{
double maxDt;
double maxDt = std::numeric_limits<double>::max();
platform->options.getArgs("MAX DT", maxDt);
nrs->dt[0] = (nrs->dt[0] < maxDt) ? nrs->dt[0] : maxDt;
}
Expand Down

0 comments on commit b696458

Please sign in to comment.