.true. iff pseudo-salt is enabled alongside SSS piston
restoring — an un-mirrored salinity source
(rdb_ocean_surface_flux.F90 restore branch) that would make
the deviation diagnostic measure the restoring term instead of
the passive-transport-path error. Drives a configure-time
fail-loud abort.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| logical, | intent(in) | :: | enable_ps | |||
| logical, | intent(in) | :: | enable_restore_salt |
pure function pseudo_salt_conflicts_restore(enable_ps, enable_restore_salt) result(conflict) !! `.true.` iff pseudo-salt is enabled alongside SSS piston !! restoring — an un-mirrored salinity source !! (`rdb_ocean_surface_flux.F90` restore branch) that would make !! the deviation diagnostic measure the restoring term instead of !! the passive-transport-path error. Drives a configure-time !! fail-loud abort. logical, intent(in) :: enable_ps logical, intent(in) :: enable_restore_salt logical :: conflict conflict = enable_ps .and. enable_restore_salt end function pseudo_salt_conflicts_restore