You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(BMT): coupled Tier-3 donor linearization for the 2M+P3 ManualJacobian
Make the ManualJacobian usable in mixed-phase by donor-linearizing the
mixed-phase quadrature transfers into the substep Jacobian. For a transfer of
primal rate S from donor d to receiver r, add -D on the donor diagonal and +D
on the (r, d) off-diagonal with D = S/max(floor, x_d), reusing the per-process
rates of _per_process_2mp3 (no gamma_inc shape derivative).
The dominant coupling is the ice->rain melt source (mass donor q_ice, number
donor n_ice, rim mass/volume on their own donors); without it the rain melt
source integrates explicitly and diverges with the step. The liquid-ice
collision cloud/rain sinks self-limit on their own donors.
Mixed-phase error vs the fine explicit reference drops from 88-2420
(non-convergent) to 0.0157-1.54 and converges under nsub, matching ExactJacobian
to the same order of magnitude; ice-only is unchanged (melt/collision inactive
below freezing). 0-alloc, type-stable (F32+F64); existing rosenbrock tests pass.
0 commit comments