BOUT-dev icon indicating copy to clipboard operation
BOUT-dev copied to clipboard

CVODE mxorder setting no longer works

Open mikekryjak opened this issue 1 year ago • 4 comments

I've noticed that CVODE won't stay on first order in some of my recent test runs. From @Steven-Roberts:

There's been two options to set the max order: cvode_max_order and mxorder. In some of the recent changes, I accidentally have mxorder going unused. A temporary fix is to switch to cvode_max_order. For a proper fix, some options are: Allow both options as it was before Allow one option and remove the unused other option so at least there will be an error when parsing the input file.

mikekryjak avatar Jul 18 '24 09:07 mikekryjak

Ah, we probably want to restore the option in master/5.1.1, mark it as deprecated (not sure we actually have a way of doing this for input options), and then add it to the input upgrader when we remove it.

ZedThree avatar Jul 19 '24 15:07 ZedThree

I can make a PR fix Monday. Which should be deprecated? cvode_max_order or mxorder?

Steven-Roberts avatar Jul 20 '24 00:07 Steven-Roberts

I think maybe deprecate mxorder and keep cvode_max_order?

To be honest, looking through the rest of the options, we don't have terribly consistent naming scheme -- another one for the to do list, sort out option names!

ZedThree avatar Jul 24 '24 16:07 ZedThree

Ok, sounds good. I'll get started on a fix

Steven-Roberts avatar Jul 24 '24 16:07 Steven-Roberts