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

Some ergonomic improvements for `Options`

Open ZedThree opened this issue 4 months ago • 1 comments

A couple of things that would make Options even nicer to use:

  • C++ iterator API: currently we have e.g. getChildren() which is const. Adding const/non-const begin/end would make the class more idiomatic
  • Add .units(), .longname() etc for standard attributes
  • Port Hermes-3 getNonFinal as e.g. .getQuiet?

ZedThree avatar Aug 08 '25 08:08 ZedThree

Also something like .update(const Options&)

ZedThree avatar Oct 06 '25 16:10 ZedThree