Skip to content

Conversation

dwfncar
Copy link

@dwfncar dwfncar commented Aug 25, 2025

  • Added subdirs core_atmosphere/chemistry and core_atmosphere/chemistry/musica, with Makefiles.
  • Modified core_atmosphere/Makefile to build chemistry source.
  • Added MUSICA MICM stub modules chemistry/mpas_atm_chemistry.F and chemistry/musica/mpas_musica.F.

The module chemistry/mpas_atm_chemistry.F has non-implemented stub subroutines for

  • init_chemistry (will call musica_init from mpas_musica)
  • step_chemistry (will call musica_step from mpas_musica)
  • finalize_chemistry (will call musica_finalize from mpas_musica)

chemistry/musica/mpas_musica.F will define the mpas_musica module with the musica_init, musica_step, and musica_finalize subroutines, also to be implemented.
It uses and directly links to the MUSIC MICM modules

  • musica_micm
  • musica_state
  • musica_util

Also included is an error checking function has_error_occurred.

Note that the call to music_init will take as an argument the chemistry species defined as a new mpas_var_array to be implemented in a new framework module, for instance mpas_runtime_vars. The calling arguments will be further specified in subsequent PRs.

…/musica, with Makefiles. Modified core_atmosphere/Makefile to build chemistry source. Added MUSICA MICM stub modules chemistry/mpas_atm_chemistry.F and chemistry/musica/mpas_musica.F.
…at the end of atm_core_init in mpas_atm_core.F.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants