feat: display.txt 新增 T_total 头字段(总模拟时间=NT×DT)

This commit is contained in:
2026-06-12 06:55:38 +08:00
parent ab3a847483
commit a3fa8b90f6
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -1445,6 +1445,7 @@ def run_simulation(save_trajectory=0):
header_fields={"DT": str(DT), "NSTEP": str(NSTEP), "method": str(METHOD),
"warmup_steps": str(warmup_steps or 0),
"dynamic_steps": str(record_steps),
"T_total": str(NT * DT),
"X_MAX": str(X_MAX), "X_MIN": str(X_MIN),
"Y_MAX": str(Y_MAX), "Y_MIN": str(Y_MIN),
"Z_MAX": str(Z_MAX), "Z_MIN": str(Z_MIN),