Complete SPHLite 0.8.1 stage F gate

This commit is contained in:
Codex
2026-07-04 12:06:47 +08:00
parent 0c5728542a
commit 9ccf67033f
23 changed files with 722 additions and 108 deletions
+42 -2
View File
@@ -1,10 +1,10 @@
# 11 Benchmark 与验收矩阵
文档状态:0.8.0 gate 记录
文档状态:0.8.1 gate 记录
## 1. 当前状态
0.8.0 在 0.7.1 局部爆炸稳定化 gate 基础上新增 SPHLite 侧中立接触耦合接口 gate,覆盖 coupling region、粒子/Facet Proxy 导出、外部载荷/运动边界导入、显式步响应、diagnostics、restart、接口层和 mock coupling smoke。0.8.0 仍不作为真实 FEMLite 联合运行、连续体耦合或工程级水下接触爆炸 benchmark。
0.8.1 在 0.8.0 SPHLite 侧中立接触耦合接口 gate 基础上加固 facet pressure/traction/resultant、受控载荷分配、contact state、载荷守恒诊断、输出、restart、接口层和 mock coupling smoke。0.8.1 仍不作为真实 FEMLite 联合运行、连续体耦合或工程级水下接触爆炸 benchmark。
## 2. 0.1.0 Release Gate
@@ -471,6 +471,46 @@
|---|---|---|
| 2026-07-04 | `build-codex-unix` | 完整 CTest 163/163 通过,0.8.0 coupling 专项 gate 24/24 通过,Water/Gas/Explosive/Solid/Shell 分类 gate 6/6、19/19、28/28、33/33、14/14 通过,0.7.0 blast 回归 gate 19/19 通过,0.7.1 blast 专项 gate 7/7 通过,source size 相关 gate 8/8 通过,`git diff --check` 通过 |
## 2.16 0.8.1 Release Gate
0.8.1 默认 gate 在 0.8.0 中立接触耦合接口之上稳定载荷模式、分配策略、接触诊断和接口层。该 gate 只验收 SPHLite 侧小型 mock coupling 链路和接口契约,不验收真实 FEMLite 联合运行、外部 CouplingModule、连续体耦合或工程级船舶水下接触爆炸破坏 benchmark。
| 测试名 | 类型 | 验收点 |
|---|---|---|
| `input_coupling_load_mode_081` | Fortran input | `LOAD_MODE`、`DISTRIBUTION`、`CONTACT_STATE` 输入解析和兼容默认值 |
| `input_coupling_load_errors_081` | Fortran input | 非法 load mode、distribution、contact state 和 pressure/traction 缺少 facet proxy 错误 |
| `coupling_contact_state_081` | Fortran API | contact flag、normal、gap、penetration 和 contact pressure 缓存分配/清零 |
| `coupling_facet_pressure_081` | Fortran API | pressure 到 facet 合力和粒子力的方向、面积权重与最大 pressure 诊断 |
| `coupling_facet_traction_081` | Fortran API | traction 到粒子力的映射、质量权重和最大 traction 诊断 |
| `coupling_facet_resultant_081` | Fortran API | facet resultant 直接导入和分配 |
| `coupling_distribution_uniform_081` | Fortran API | uniform 分配策略 |
| `coupling_distribution_area_081` | Fortran API | area 分配策略和面积诊断 |
| `coupling_distribution_mass_081` | Fortran API | mass 分配策略和非法权重诊断 |
| `coupling_load_balance_081` | Fortran diagnostics | 输入/分配总力、力矩和误差有限性 |
| `coupling_contact_diagnostics_081` | Fortran diagnostics | active/skipped contact、最大 penetration、nonfinite 诊断 |
| `coupling_solver_order_081` | Fortran solver | pressure/traction/resultant 与 blast/coupling 外载荷显式步序 |
| `coupling_stale_epoch_081` | Fortran diagnostics | stale epoch 清理、重复导入和缓存清空 |
| `coupling_solid_surface_pressure_081` | Fortran smoke | Solid 等效 surface pressure 粒子力响应方向 |
| `coupling_shell_pressure_081` | Fortran smoke | Shell facet pressure 平动响应方向 |
| `coupling_mixed_pressure_motion_081` | Fortran smoke | pressure 与 direct motion boundary 混合优先级 |
| `coupling_output_081` | Fortran output | summary CSV 和 particle CSV 0.8.1 contact/载荷字段 |
| `coupling_restart_081` | Fortran restart | `STATE_0_8_1` 写入、读回和继续显式步 |
| `coupling_restart_080_compat` | Fortran restart | `STATE_0_8` 兼容读入后初始化 0.8.1 新增状态 |
| `coupling_fortran_api_081` | Fortran API | pressure、traction、resultant、contact state、load balance 和 diagnostics 入口 |
| `coupling_c_api_081` | C ABI | C 层 pressure/traction/contact diagnostics 入口和错误路径 |
| `coupling_cpp_api_081` | C++ wrapper | C++ 薄包装 pressure、traction 和 diagnostics |
| `coupling_python_081` | Python ctypes | Python debug wrapper 0.8.1 coupling 字段 |
| `coupling_cli_081` | CLI | inspect 输出 load mode、distribution 和 contact diagnostics |
| `coupling_smoke_081` | Fortran smoke | Solid 等效受压、Shell pressure、traction、pressure-motion 和 stale epoch mock 样例 |
| `coupling_source_size_081` | 工具门禁 | 0.8.1 source size 和 stale exception 检查 |
0.8.1 不验收真实 FEMLite 联合运行、外部 CouplingModule、连续体一部分 FEM 一部分 SPH 的生产级连续体耦合、工程级接触算法、工程级船舶水下接触爆炸破坏 benchmark、复杂撕裂/穿孔/碎片云、焊缝失效库、大规模并行或 GPU 后端。
本地验收记录:
| 日期 | 构建目录 | 结果 |
|---|---|---|
| 2026-07-04 | `build-codex-unix` | 完整 CTest 189/189 通过,0.8.1 coupling 专项 gate 26/26 通过,0.8.0 coupling 回归 gate 24/24 通过,Water/Gas/Explosive/Solid/Shell 分类 gate 6/6、19/19、29/29、33/33、14/14 通过,0.7.0 blast 回归 gate 15/15 通过,0.7.1 blast 专项 gate 11/11 通过,source size 相关 gate 9/9 通过,`git diff --check` 通过 |
## 3. 基础数值矩阵
| 领域 | 测试或 benchmark | 验收点 |