boutproject / boutdata

GNU Lesser General Public License v3.0
0 stars 2 forks source link

No support for new Hermes-3 input style #73

Closed mikekryjak closed 2 years ago

mikekryjak commented 2 years ago

Hermes-3 features species options in the below format:

type = (evolve_density, evolve_momentum, evolve_pressure,
        noflow_boundary
)

BoutData does not interpret the brackets correctly. The expected behaviour would be for it to read the options in the following hierarchy:

Instead, it does the following:

It looks like it interprets the brackets as part of the option string and doesn't consider the bracket contents as children of the same option header.

johnomotani commented 2 years ago

@mikekryjak could you include a MWE in this issue please (i.e. BOUT.inp and python script that fails to read the BOUT.inp properly)?