Finalize Shell 0.6.1 gates and documentation

This commit is contained in:
Codex
2026-07-03 21:57:10 +08:00
parent 521509d45a
commit 3a6923b77d
7 changed files with 153 additions and 30 deletions
+34 -1
View File
@@ -296,6 +296,39 @@ git diff --check
0.6.0 不验收完整 `Shell` 动力学闭环,不验收真实水-气-结构工程爆炸响应,不验收真实 FEM-SPH 联合运行,也不验收工程级船舱破坏 benchmark。0.6.0 的 Shell gate 只证明 Shell material/section 输入、厚度/积分点/剪切修正校验、Shell 粒子状态数组和厚度积分点状态数组在小型模型内可构建、可检查。
## 7.7 0.6.1 Release Gate
0.6.1 在 0.6.0 `Shell` 输入与状态基线之上新增 director 输入/推断、局部坐标、转动状态、参考面积/惯量、Mindlin-Reissner 小变形膜/弯曲/横向剪切应变和厚度积分点应变增量映射。当前 gate 仍限定为小型运动学链路,不把 Shell 材料点更新、Shell 内力、Shell 内力矩、完整显式推进、restart、公开接口或工程响应纳入验收。
0.6.1 Shell 运动学专项 gate 包含:
- `input_shell_section`
- `input_shell_errors`
- `shell_state_build`
- `shell_section_integration`
- `shell_director_input`
- `shell_reference_geometry`
- `shell_director_update`
- `shell_rotation_kinematics`
- `shell_local_frame`
- `shell_membrane_strain`
- `shell_bending_strain`
- `shell_shear_strain`
- `shell_ip_strain_increment`
- `shell_061_source_size`
0.6.1 本地 release gate:
```powershell
cmake --build build-codex-unix --parallel
ctest --test-dir build-codex-unix --output-on-failure
ctest --test-dir build-codex-unix -R "^(input_shell_section|input_shell_errors|shell_state_build|shell_section_integration|shell_director_input|shell_reference_geometry|shell_director_update|shell_rotation_kinematics|shell_local_frame|shell_membrane_strain|shell_bending_strain|shell_shear_strain|shell_ip_strain_increment)$" --output-on-failure
ctest --test-dir build-codex-unix -R "^(source_size|shell_061_source_size)$" --output-on-failure
git diff --check
```
2026-07-03 本地结果:完整 CTest 113/113 通过,0.6.1 Shell 运动学专项 gate 13/13 通过,`source_size`/`shell_061_source_size` 2/2 通过,`git diff --check` 通过。
0.6.1 不验收完整 `Shell` 动力学闭环,不验收 Shell 材料点更新、内力、内力矩、稳定时间步、显式推进生产路径、restart、公开 C ABI/C++/Python/CLI 诊断字段、真实水-气-结构工程爆炸响应、真实 FEM-SPH 联合运行或工程级船舱破坏 benchmark。
## 8. Source Size 门禁
从第一版开始设置 source size 门禁。建议沿用 FEMLite 风格:
@@ -305,7 +338,7 @@ git diff --check
- 必要例外登记到例外清单。
- stale exception 应被检查。
0.6.0 当前只新增 Shell 输入与状态基线测试,尚未新增 Shell 接口层膨胀。`src/solid/sph_solid.f90` 继续作为 Solid 输入/material 表 owner,并在例外清单中登记说明;后续若拆分 Solid material ownership 应同步移除此例外。Shell 后续进入 director、材料点、内力、restart 和接口层时,应按实际膨胀情况拆分模块并追加专门 source size gate。
0.6.1 当前新增 Shell 运动学路径,`src/shell/sph_shell.f90` 暂作为 Shell 输入、状态和运动学 owner 登记说明性例外,并新增 `shell_061_source_size` gate 保持 stale exception 检查。后续进入 Shell 材料点、内力、restart 或接口层前,应优先拆分 Shell geometry/kinematics/diagnostics 模块,减少主文件例外范围。`src/solid/sph_solid.f90` 继续作为 Solid 输入/material 表 owner,并在例外清单中登记说明;后续若拆分 Solid material ownership 应同步移除此例外。
具体阈值可在实现阶段与 FEMLite 保持一致或按 SPHLite 文件结构微调。