Allow salt_flux_added
to be used by generic tracers
#196
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.
We've recently suggested changes to NOAA-GFDL/ocean_BGC
generic_tracers
to provide a way to pass the salt restoring/correction applied by the ocean model to generic tracers. Those proposed changes add a new subroutinegeneric_tracer::generic_tracer_update_from_coupler
that receives the salt flux and passes it on the generic tracer'supdate_from_coupler
routine if it is needed. Currently this feature is only utilised by the WOMBAT generic tracers which exist in the ACCESS-NRI fork of NOAA-GFDL/ocean_BGC.To use this feature requires corresponding changes to the calling ocean model. In MOM6, the changes are as follows
MOM_forcing_type::fluxes_accumulate
generic_tracer::generic_tracer_coupler_accumulate
routine at the start ofMOM_generic_tracer::MOM_generic_tracer_column_physics
.This PR implements these changes in ACCESS-OM3 via patches.
Note, it would be good in the long run to have these changes included in the authoritative MOM6. However, this should only happen if/when
generic_tracer::generic_tracer_update_from_coupler
is available in NOAA-GFDL/ocean_BGC.