This PR will improve the calculation of budgets by
Doing the time-integral with the appropriate value (i.e. value of integral at step N depends on the dissipation rate at time step N-1, not at time-step N)
Move the variables holding the current integral value outside of model.auxliary_fields using Ref(val).
This PR will improve the calculation of budgets by
N
depends on the dissipation rate at time stepN-1
, not at time-stepN
)model.auxliary_fields
usingRef(val)
.