Energy-Pathways-Group / GLOceanKit

Tools for physical oceanography in Matlab and Objective-C
21 stars 11 forks source link

Model integration does not respected updated wvt values #87

Open JeffreyEarly opened 10 months ago

JeffreyEarly commented 10 months ago

Specifically, if you pause a model run and then modify the wvt, the new values will not be used in the integrator. WVModel line 825 reads self.updateIntegratorValues(t,y0); and this causes a copied set of y0 values to be reused. Strikes me that we might be doing a bunch of extra work too!