This commit is contained in:
xinxiao
2026-03-13 11:24:41 +08:00
commit 04e2bb29c7
238 changed files with 29102 additions and 0 deletions
@@ -0,0 +1,6 @@
function tm = ADtimestep(yitap, yitas, omega, dp, ds)
dp = abs(dp);
ds = abs(ds);
tm1 = (1 + omega) * yitap ./ (dp + omega * yitap);
tm2 = (1 + omega) * yitas ./ (ds + omega * yitas);
tm = min(min(tm1),min(tm2));