-
Notifications
You must be signed in to change notification settings - Fork 61
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
+Add set_initialized #152
+Add set_initialized #152
Conversation
Added the overloaded interface set_initialized() to the MOM_restart module, to record that fields have been initialized, despite not appearing in a restart file. This will allow for a second call to set_initialized() after a call to query_initialized() to replicate the existing behavior of query_initialized() after MOM6 PR mom-ocean#149 (NOAA-GFDL#149) has been accepted. All answers are bitwise identical, but there is a new public interface.
Codecov Report
@@ Coverage Diff @@
## dev/gfdl #152 +/- ##
============================================
+ Coverage 34.05% 34.23% +0.18%
============================================
Files 259 257 -2
Lines 70126 69802 -324
Branches 12984 12928 -56
============================================
+ Hits 23879 23897 +18
+ Misses 41753 41431 -322
+ Partials 4494 4474 -20
Continue to review full report at Codecov.
|
Gaea regression: https://gitlab.gfdl.noaa.gov/ogrp/MOM6/-/pipelines/16055 ✔️ I did not see any case where this was used, but I assume that is for a future PR. |
Call set_initialized for variables after they are initialized, when their lack of initialization was detected via query_initialized. This commit reproduces the model's behavior prior to the removal of the code that set the initialized flag within query_initialized in NOAA-GFDL#149, and it completes the set of changes that was envisioned when set_initialized was added in NOAA-GFDL#152. All answers are bitwise identical.
Call set_initialized for variables after they are initialized, when their lack of initialization was detected via query_initialized. This commit reproduces the model's behavior prior to the removal of the code that set the initialized flag within query_initialized in #149, and it completes the set of changes that was envisioned when set_initialized was added in #152. All answers are bitwise identical.
Added the overloaded interface set_initialized() to the MOM_restart module, to
record that fields have been initialized, despite not appearing in a restart
file. This will allow for a second call to set_initialized() after a call to
query_initialized() to replicate the existing behavior of query_initialized()
after MOM6 PR #149 (#149) has been
accepted. All answers are bitwise identical, but there is a new public
interface.