MPAS-Dev / MPAS-Model

Repository for MPAS models and shared framework releases.
238 stars 317 forks source link

Add new routine for checking consistency of dynamics options #1084

Closed mgduda closed 1 year ago

mgduda commented 1 year ago

This PR adds a new routine, mpas_atm_dynamics_checks, that checks for consistency within dynamics options at model start-up, similar in concept to what is done by the existing physics_compatibility_check and mpas_atm_bdy_checks routines.

The mpas_atm_dynamics_checks routine is called from the mpas_atm_run_compatibility, and it currently only checks that config_positive_definite is false in the &nhyd_model group; if this check fails, warnings are printed to the log file, but no errors are generated.