-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Rk3Pareschi IMEX time stepper #5760
Conversation
// | ||
// Not given in the reference. Any set of coefficients of the form | ||
// (0, 0, x, x, 1 - 2 x) works. | ||
{0.0, 0.0, 0.0, 0.0, 1.0}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's probably better to use a non-zero value of x so the error estimate samples the y-values across the interval. x=1/4 looks good. Using only the last value is probably not robust. This is the reason, by the way, that Dormand-Prince is 853 and not, say 87 or 86. These 'simpler' error estimates turned out not to sample the interval very well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, one small question that might be a typo. Please squash and rebase immediately :)
namespace TimeSteppers { | ||
/*! | ||
* \ingroup TimeSteppersGroup | ||
* \brief A fourth-order Runge-Kutta method with IMEX support. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fourth -> third?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep. Fixed.
ffbc717
to
1a33990
Compare
CI failure is unrelated. |
Note to @yoonso0-0: I've renamed the class since the last version I gave you.
Proposed changes
Upgrade instructions
Code review checklist
make doc
to generate the documentation locally intoBUILD_DIR/docs/html
.Then open
index.html
.code review guide.
bugfix
ornew feature
if appropriate.Further comments