Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

+Top-level arguments control MOM6 time stepping #896

Merged
merged 4 commits into from
Mar 18, 2019

Conversation

Hallberg-NOAA
Copy link
Collaborator

Allow the top-level optional control arguments to specify the timestepping of
MOM6, including ignoring the DIABATIC_FIRST flag when there are separate calls
to step the dynamics and thermodynamics. No answers or parameter_doc files are
changed in any existing test cases. The list of commits in this PR include:

  Added new overloaded variants of safe_alloc_ptr and safe_alloc_alloc to allow
the index range of the third (vertical) index to have an arbitrary starting
value.  All answers are bitwise identical.
  Added error messages and Adcroft reciprocals to trap or handle cases when dt=0
in various routines in MOM_diabatic_driver including diabatic and
legacy_diabatic.  All answers are bitwise identical.
  Allow optional arguments to step_MOM to effectively override the value of
DIABATIC_FIRST.  All answers are bitwise identical in the existing test cases.
@Hallberg-NOAA
Copy link
Collaborator Author

This PR is being tested with https://gitlab.gfdl.noaa.gov/ogrp/MOM6/pipelines/7131

  Store the thermodynamic clock at the start of update_ocean_model so that it
does not get incorrectly updated during purely dynamic steps. When both dynamics
and thermodynamics are stepped together, nothing is changed, but when they are
stepped separately, this correct the thermodynamic clock that is used primarily
for diagnostics.  All answers are bitwise identical in the existing test cases.
@Hallberg-NOAA
Copy link
Collaborator Author

This updated PR is being tested with https://gitlab.gfdl.noaa.gov/ogrp/MOM6/pipelines/7272

@adcroft adcroft merged commit 3ebcb68 into mom-ocean:dev/gfdl Mar 18, 2019
@Hallberg-NOAA Hallberg-NOAA deleted the coupling_options branch July 30, 2021 19:00
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