accurately calculated max v

This commit is contained in:
2024-09-08 12:17:58 +08:00
parent c201220e04
commit bf1c864823
2 changed files with 28 additions and 9 deletions

View File

@@ -188,7 +188,7 @@ if __name__ == "__main__":
orbit = BetterOrbit()
loong = Loong(orbit, 224, mp.mpf("1.0"), mp.mpf("1e-8"))
res_list = []
for ti in np.arange(5, 10, 0.025):
for ti in np.arange(10, 20, 0.025):
print(f"calculating time_point={ti}", file=sys.stderr)
res_list.append(loong.CalcStatusListByTime(mp.mpf(ti), res_list[-1] if res_list else None))
# 转换成内置浮点数并保留6位