Skip to content

Case sensitive namelist blocks and items in PHYEX #20

Description

@BenoitVie

A recent update in PHYEX made the namelist blocks and items case-sensitive. Phyex1D handles namelists via f90nml which turns everything lowercase, thus most of the namelist is ignored (everything except the PHYEX block which is handled directly in physics.py).
Setting
nml.uppercase=True
in the "setup" function in physics.py, just before
nml.write(namel.name, force=True)
solves the problem, providing that all namelist blocks are fully uppercase (would not work with MODD_NEBn with a lowercase n for example).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions