fix: Fortran engine use_marker/alpha header passthrough + case04 Moon orbit fix

- engines/fortran/main.f90:
  - 新增 use_marker 和 alpha_str 的读取、传递、写入 display.txt header
  - 新增 json_get_alpha 函数兼容 JSON 单值或 6 元数组
- engines/release/: 引擎校准缓存 & fortran.json 参数
- examples/case04/: 修正月球位置 (11.5→10.5) 和速度 (526→647),
  地月距缩至希尔半径以内 (0.5 < 1.0), 新增希尔半径验证说明
- examples/Readme.html: case04/case09 描述更新
This commit is contained in:
2026-06-19 08:05:05 +08:00
parent c8d12e7f45
commit 6c06c00f4b
8 changed files with 158 additions and 35 deletions
+4 -4
View File
@@ -1,4 +1,4 @@
n mass radius x y z vx vy vz fix_x fix_y fix_z
1 27000 2.0 0 0 0 0 0 0 1 1 1
2 81 0.5 10 0 0 0 0 520 0 0 0
3 1 0.3 11.5 0 0 0 0 526 0 0 0
n mass radius x y z vx vy vz fix_x fix_y fix_z
1 27000 1.0 0 0 0 0 0 0 1 1 1
2 81 0.2 10 0 0 0 0 520 0 0 0
3 1 0.1 10.5 0 0 0 0 647 0 0 0
+1 -1
View File
@@ -74,7 +74,7 @@ T_total: 10.0
NSTEP: 2
# ── 时间步长 ──────────────────────────────────
DT: 0.001 # 时间步长 (s)
DT: 0.0001 # 时间步长 (s)
# 抽帧范围:只保存 [sample_start, sample_end) 区间内的帧
sample_start: null # null 表示从头开始(帧索引从 0 起)