From d6612b4803d70e9d18b51363b7383dde018565fb Mon Sep 17 00:00:00 2001 From: Codex Date: Fri, 3 Jul 2026 08:37:22 +0800 Subject: [PATCH] Review 0.2.2 solver output and interface boundaries --- .../sph_coupling_interface.f90 | 2 +- todo.md | 40 +++++++++---------- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/src/coupling_interface/sph_coupling_interface.f90 b/src/coupling_interface/sph_coupling_interface.f90 index 22a4f7d..3e4eaa0 100644 --- a/src/coupling_interface/sph_coupling_interface.f90 +++ b/src/coupling_interface/sph_coupling_interface.f90 @@ -97,7 +97,7 @@ contains node_ids = 0 ierr = SPH_SUCCESS if (index /= 1) then - call sph_error_set(SPH_ERROR_ARGUMENT, 'no coupling facets are available in 0.1.1') + call sph_error_set(SPH_ERROR_ARGUMENT, 'no coupling facets are available in the neutral placeholder') ierr = SPH_ERROR_ARGUMENT end if end subroutine sph_coupling_export_facet diff --git a/todo.md b/todo.md index a4f13ed..a28c2a3 100644 --- a/todo.md +++ b/todo.md @@ -86,29 +86,29 @@ ## 阶段 G:求解、输出与重启动 -- [ ] 复核显式时间推进仍采用 Velocity-Verlet 路线。 -- [ ] 复核 0.2.2 不引入隐式求解器。 -- [ ] 复核 stable dt 诊断仍覆盖 CFL、加速度和黏性约束。 -- [ ] 复核 `TIME` 与 `STEPS` 双约束运行逻辑。 -- [ ] 复核最后小步不超过 `end_time`。 -- [ ] 复核粒子 CSV 输出字段保持 0.2.1 兼容。 -- [ ] 复核 summary CSV 输出字段保持 0.2.1 兼容。 -- [ ] 复核手动输出不改变物理状态。 -- [ ] 复核 restart 写入 Water 求解关键状态。 -- [ ] 复核 restart 读回后可继续 Water 显式步。 +- [x] 复核显式时间推进仍采用 Velocity-Verlet 路线。 +- [x] 复核 0.2.2 不引入隐式求解器。 +- [x] 复核 stable dt 诊断仍覆盖 CFL、加速度和黏性约束。 +- [x] 复核 `TIME` 与 `STEPS` 双约束运行逻辑。 +- [x] 复核最后小步不超过 `end_time`。 +- [x] 复核粒子 CSV 输出字段保持 0.2.1 兼容。 +- [x] 复核 summary CSV 输出字段保持 0.2.1 兼容。 +- [x] 复核手动输出不改变物理状态。 +- [x] 复核 restart 写入 Water 求解关键状态。 +- [x] 复核 restart 读回后可继续 Water 显式步。 ## 阶段 H:接口与耦合边界 -- [ ] 复核 Fortran 公共 API 保持 0.2.1 兼容。 -- [ ] 复核 C ABI 头文件保持 0.2.1 兼容。 -- [ ] 复核 C wrapper 不重新定义物理语义。 -- [ ] 复核 C++ wrapper 仍为轻量 RAII 封装。 -- [ ] 复核 Python wrapper 仍通过 C ABI 调用。 -- [ ] 复核 Python 不直接访问 Fortran 内部符号。 -- [ ] 复核 CLI 不绕过公共生命周期接口。 -- [ ] 复核 CouplingInterface 不出现 FEMLite 内部结构依赖。 -- [ ] 复核 CouplingInterface 命名不绑定外部模块最终名称。 -- [ ] 复核默认 gate 不运行真实 FEM-SPH 联合测试。 +- [x] 复核 Fortran 公共 API 保持 0.2.1 兼容。 +- [x] 复核 C ABI 头文件保持 0.2.1 兼容。 +- [x] 复核 C wrapper 不重新定义物理语义。 +- [x] 复核 C++ wrapper 仍为轻量 RAII 封装。 +- [x] 复核 Python wrapper 仍通过 C ABI 调用。 +- [x] 复核 Python 不直接访问 Fortran 内部符号。 +- [x] 复核 CLI 不绕过公共生命周期接口。 +- [x] 复核 CouplingInterface 不出现 FEMLite 内部结构依赖。 +- [x] 复核 CouplingInterface 命名不绑定外部模块最终名称。 +- [x] 复核默认 gate 不运行真实 FEM-SPH 联合测试。 ## 阶段 I:测试门禁