Complete Explosive 0.4.0 gate

This commit is contained in:
Codex
2026-07-03 12:53:34 +08:00
parent 187af844d1
commit d4c8c39253
25 changed files with 1118 additions and 288 deletions
+31 -2
View File
@@ -1,10 +1,10 @@
# 11 Benchmark 与验收矩阵
文档状态:0.3.1 gate 记录
文档状态:0.4.0 gate 记录
## 1. 当前状态
0.3.1 在 0.3.0 `Gas` 最小闭环基础上新增 Gas 多材料、material/EOS 分派、Gas 源项占位、扩展诊断和 restart 兼容 gate,并继续保留工程 benchmark 矩阵作为长期规划。本版本的 pressure wave smoke、Gas bubble metrics 和 Gas 源项测试只用于小规模数值链路检查,不作为工程精度 benchmark。
0.4.0 在 0.3.1 `Gas` 稳定化基础上新增 `Explosive` 起步闭环 gate,并继续保留工程 benchmark 矩阵作为长期规划。本版本的 Explosive programmed burn、Gas 源项注入、phase 转化、pressure wave smoke 和 Gas bubble metrics 只用于小规模数值链路检查,不作为工程精度 benchmark。
## 2. 0.1.0 Release Gate
@@ -207,6 +207,35 @@
|---|---|---|
| 2026-07-03 | `build-codex-unix` | 0.3.1 gate 37/37 通过,`source_size` 1/1 通过,`git diff --check` 通过 |
## 2.7 0.4.0 Release Gate
0.4.0 默认 gate 在 0.3.1 Gas gate 基础上新增 Explosive 输入、反应、Gas 源项/phase 转化、summary、restart 和接口层验收。
| 测试名 | 类型 | 验收点 |
|---|---|---|
| `input_explosive` | Fortran input | Explosive material、section、control、ignition、product Gas/JWL EOS |
| `input_explosive_errors` | Fortran input | 非法爆速、非法 product、非法 ignition、缺密度、非法 burn time、非法能量、product Gas 缺 EOS |
| `explosive_detonation_time` | Fortran module | 按初始坐标和爆速计算爆轰到达时间范围 |
| `explosive_reaction_progress` | Fortran module | programmed burn 下 `lambda` 单调增加并限制在 `[0,1]` |
| `explosive_release_source` | Fortran module | `CONVERSION=SOURCE` 向 Gas 源项注入质量、动量和能量 |
| `explosive_to_gas_phase` | Fortran module | `CONVERSION=PHASE` 完全反应后不可逆转为 Gas |
| `explosive_gas_coupling` | Fortran module | 产物 Gas material 使用 JWL EOS 并刷新 Gas summary |
| `explosive_summary` | Fortran API | Explosive 粒子数、反应粒子数、`lambda` 范围和释放量一致性 |
| `explosive_restart_040` | Fortran restart | `STATE_0_4` 写入读回并继续显式步 |
| `explosive_restart_031_compat` | Fortran restart | 0.3.1 restart 兼容读入并初始化空 Explosive 状态 |
| `explosive_c_api` | C ABI | 点火点设置和 Explosive summary 查询 |
| `explosive_python` | Python `ctypes` | Explosive summary 和点火接口薄包装 |
| `explosive_cli` | CLI | inspect/run 输出 Explosive 字段 |
| `explosive_source_size` | 工具门禁 | Explosive 模块拆分、source size 和 stale exception 检查 |
0.4.0 不验收 `Solid`、`Shell` 的生产级物理结果,也不验收真实 FEM-SPH 联合运行。Explosive-Gas 链路仍是小规模数值闭环,不代表工程级水下爆炸 benchmark。
本地验收记录:
| 日期 | 构建目录 | 结果 |
|---|---|---|
| 2026-07-03 | `build-codex-unix` | 完整 CTest 51/51 通过,Explosive gate 14/14 通过,`source_size` 1/1 通过,`git diff --check` 通过 |
## 3. 基础数值矩阵
| 领域 | 测试或 benchmark | 验收点 |