Skip to content

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 07 May 09:46
· 32 commits to main since this release
4020f23

ClimaSeaIce v0.5.0

Diff since v0.4.10

Breaking changes

  • SeaIceModel keyword ice_density renamed sea_ice_density. The struct field is renamed accordingly.
  • New SeaIceModel keywords snow_density and phase_transitions. Bulk densities and phase-transition parameters are now shared at the model level rather than stored per-slab.
  • SlabThermodynamics no longer accepts phase_transitions. Pass it to SeaIceModel instead. The field is removed from the struct.
  • snow_slab_thermodynamics no longer accepts density, heat_capacity, or reference_latent_heat. Set them via SeaIceModel(; snow_density, phase_transitions = PhaseTransitions(...)).
  • latent_heat(phase_transitions, T) is now per-mass, not volumetric. Callers must multiply by sea_ice_density or snow_density to
    recover energy per volume.
  • slab.internal_heat_flux now stores the raw coefficient (e.g. ConductiveFlux) rather than a pre-assembled FluxFunction. Code reaching through slab.internal_heat_flux.parameters.flux must be updated; the wrapper is built inside the tendency layer.
  • Custom internal-flux types now plug in via flux_kernel dispatch (ClimaSeaIce.SeaIceThermodynamics.flux_kernel(::MyFlux) = my_kernel) instead of being wrapped at slab construction.

Merged pull requests:

Closed issues:

  • PhaseTransitions incorrectly removes "ice" qualifier from heat capacity and density (#133)