Skip to content

(+)Modified some optional arguments#1435

Merged
adcroft merged 2 commits into
mom-ocean:dev/gfdlfrom
Hallberg-NOAA:modify_opt_arg
Jun 30, 2021
Merged

(+)Modified some optional arguments#1435
adcroft merged 2 commits into
mom-ocean:dev/gfdlfrom
Hallberg-NOAA:modify_opt_arg

Conversation

@Hallberg-NOAA
Copy link
Copy Markdown
Collaborator

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.

Hallberg-NOAA and others added 2 commits June 25, 2021 18:02
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.
Copy link
Copy Markdown
Collaborator

@adcroft adcroft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@adcroft adcroft merged commit ab0ae40 into mom-ocean:dev/gfdl Jun 30, 2021
@Hallberg-NOAA Hallberg-NOAA deleted the modify_opt_arg 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.

2 participants