(+)Modified some optional arguments#1435
Merged
Merged
Conversation
Modified optional arguments in 4 modules to reflect their actual usage. 1. Eliminated the optional argument full_prec to zonal_flux_adjust and meridional_flux_adjust, which were always called with the hard-coded value "true", and made the optional arguments monotonic and simple_2nd to PPM_reconstruction_[xy] mandatory. 2. Eliminated the optional argument eta_bt to calculate_diagnostic_fields, which was never present. 3. Made the two optional arguments to unit_scaling_init mandatory. 4. Eliminated the optional do_i argument to F_to_ent, which was never present in calls, and made the parameter just_read_params to entrain_diffusive_init mandatory. All answers are bitwise identical.
adcroft
approved these changes
Jun 30, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Modified optional arguments in 4 modules to reflect their actual usage.
Eliminated the optional argument full_prec to zonal_flux_adjust and
meridional_flux_adjust, which were always called with the hard-coded value
"true", and made the optional arguments monotonic and simple_2nd to
PPM_reconstruction_[xy] mandatory.
Eliminated the optional argument eta_bt to calculate_diagnostic_fields, which
was never present.
Made the two optional arguments to unit_scaling_init mandatory.
Eliminated the optional do_i argument to F_to_ent, which was never present
in calls, and made the parameter just_read_params to entrain_diffusive_init
mandatory.
All answers are bitwise identical.