Skip to content

Conversation

@J-Lentz
Copy link

@J-Lentz J-Lentz commented Jun 17, 2025

This PR adds macro-based hooks to the full coupler. The motivation for this change is to implement "cheat mode", in which the main loop would be skipped and a tarball would be extracted at the end of the program. The subroutines which implement the hooks would be stored in a separate repository.

This PR also moves some variables from the full coupler's main program into full_coupler_mod, so that they can be accessed by the cheat-mode hooks via use rather than passing them as dummy arguments.

Jesse Lentz added 2 commits June 17, 2025 13:05
`num_cpld_calls` and `num_atmos_calls` have been moved from
`coupler_main` to `full_coupler_mod`, so that they can be accessed by
cheat-mode hooks without passing them as dummy arguments.
Add two macro-enabled hooks to the full coupler: a main loop pre-hook and a
post-hook which is run after `fms_end` is called.
@J-Lentz J-Lentz mentioned this pull request Jun 17, 2025
@J-Lentz J-Lentz closed this Jun 26, 2025
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.

1 participant