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.
Changed the rescaling of 6 ice shelf variables to cancel out common conversion factors that appear in several expressions.
The
C_basal_friction
argument toinitialize_ice_C_basal_friction()
is now in partially rescaled units, reflecting the portion that does not cancel out fractional-power units from a power law fit with an arbitrary power. TheC_basal_friction
array inice_shelf_dyn_CS
and theC_friction
variable ininitialize_ice_C_basal_friction()
were similarly rescaled. There are new scale factors in aget_param()
call and aMOM_read_data()
call and a conversion factor in aregister_restart_field()
call that reflect these changes.The
KE_tot
andmass_tot
variables inwrite_ice_shelf_energy()
, are kept in scaled units until they are written.The internal variable
fN
in calc_shelf_taub()is kept in scaled units, but there is now a scaling factor of
US%Z_to_Lin the expression for
fB. This latter could be folded into the
CF_Maxelement of
ice_shelf_dyn_CS`, but I am unsure whether this would be physically sensible.All answers should be bitwise identical and no output should change, but this has not been extensively tested yet.