Skip to content

+Fixed rare issue with MOM_geothermal and cleanup#1450

Merged
marshallward merged 3 commits into
mom-ocean:dev/gfdlfrom
Hallberg-NOAA:geothermal_cleanup
Aug 4, 2021
Merged

+Fixed rare issue with MOM_geothermal and cleanup#1450
marshallward merged 3 commits into
mom-ocean:dev/gfdlfrom
Hallberg-NOAA:geothermal_cleanup

Conversation

@Hallberg-NOAA
Copy link
Copy Markdown
Collaborator

Added a test to avoid attempting to deallocate the geothermal heating field if
it is not allocated, and changed the geo_heat element of geothermal_CS from a
pointer into an allocatable array. Also clarified the comments describing
several of the elements of geothermal_CS, and added a test to avoid logging the
value of GEOTHERMAL_DRHO_DT_INPLACE when the model is not in layered-mode and
this parameter is unused. This PR addresses MOM6 issue #1449. All answers are
bitwise identical in all cases that worked before, but there are fewer entries
in some ALE-mode MOM_parameter_doc files.

  Added a test to avoid attempting to deallocate the geothermal heating field if
it is not allocated, and changed the geo_heat element of geothermal_CS from a
pointer into an allocatable array.  Also clarified the comments describing
several of the elements of geothermal_CS, and added a test to avoid logging the
value of GEOTHERMAL_DRHO_DT_INPLACE when the model is not in layered-mode and
this parameter is unused.  This PR addresses MOM6 issue mom-ocean#1449.  All answers are
bitwise identical in all cases that worked before, but there are fewer entries
in some ALE-mode MOM_parameter_doc files.
@Hallberg-NOAA Hallberg-NOAA linked an issue Jul 21, 2021 that may be closed by this pull request
@marshallward
Copy link
Copy Markdown
Collaborator

@marshallward
Copy link
Copy Markdown
Collaborator

marshallward commented Aug 1, 2021

@marshallward marshallward merged commit 49aa47d into mom-ocean:dev/gfdl Aug 4, 2021
@Hallberg-NOAA Hallberg-NOAA deleted the geothermal_cleanup branch November 18, 2021 13:37
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.

Geothermal fails if enabled with GEOTHERMAL_SCALE = 0

2 participants