Tutorial Ch 4: Multiple mechanisms in the same host application#867
Draft
Tutorial Ch 4: Multiple mechanisms in the same host application#867
Conversation
- Add Python notebook: tutorials/4. multiple_mechanisms.ipynb - Rename existing tutorials 4-11 to 5-12 to accommodate new Ch 4 - Update cross-reference in 6. hpc_parallelization.ipynb (4 → 5) - Add Fortran test: fortran/test/tutorial/test_multiple_mechanisms.F90 - Register Fortran test in fortran/test/integration/CMakeLists.txt - Add Fortran docs: docs/source/user_guide/fortran/chapter4.rst - Update docs/source/user_guide/fortran/index.rst to include chapter4 - Update docs/source/user_guide/python/notebooks/index.rst with new/renumbered entries - Fix binder link for HPC parallelization doc (5 → 6) Agent-Logs-Url: https://github.com/NCAR/musica/sessions/0952954f-4e6c-4610-bc3e-e272310b586b Co-authored-by: K20shores <13836216+K20shores@users.noreply.github.com>
Agent-Logs-Url: https://github.com/NCAR/musica/sessions/0952954f-4e6c-4610-bc3e-e272310b586b Co-authored-by: K20shores <13836216+K20shores@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add solvers for multiple mechanisms in the same host application
Tutorial Ch 4: Multiple mechanisms in the same host application
May 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds Tutorial Chapter 4 covering how to create and run independent MICM solver instances for different chemical mechanisms within a single host application — a common pattern in multi-domain atmospheric models.
Python tutorial (
tutorials/4. multiple_mechanisms.ipynb)A→B→C(Arrhenius) and a reversibleD⇌E+FsystemMICMsolver +stateper mechanism; advances both in the same time loopFortran tutorial (
fortran/test/tutorial/test_multiple_mechanisms.F90)configs/v0/analytical(6-species with Arrhenius + user-defined rates)configs/v1/analytical/config.json(3-species pure Arrhenius)tutorial_multiple_mechanismsinfortran/test/integration/CMakeLists.txtFortran docs (
docs/source/user_guide/fortran/chapter4.rst)Tutorial renumbering
Existing tutorials 4–11 shifted to 5–12 to place the new chapter in its logical position (after user-defined reactions, before parallelization). Updated all cross-references and doc index links accordingly.