# 11 Benchmark 与验收矩阵 文档状态:0.6.3 版整理稿 ## 1. 当前发布 Gate 0.6.3 发布 gate: ```powershell cmake --build build-codex-gcc --parallel ctest --test-dir build-codex-gcc -R "^(smoke|element_infrastructure|database_topology|element_stiffness|shell_internal|c_api)$" --output-on-failure ctest --test-dir build-codex-gcc -R "^source_size$" --output-on-failure ctest --test-dir build-codex-gcc -L v5_acceptance --output-on-failure git diff --check ``` ## 2. 0.6.3 矩阵 | 领域 | 测试 | 验收点 | |---|---|---| | 单元名称 | `element_infrastructure` | 支持名称 canonicalize,不支持名称明确失败 | | `S4R` 拓扑 | `element_infrastructure`、`database_topology` | 4 节点、shell、1 积分点 | | `C3D8R` 拓扑 | `element_infrastructure`、`database_topology` | 8 节点、solid、1 积分点 | | 积分描述符 | `element_infrastructure` | 现有规则行为保持稳定 | | Gauss-Lobatto | `element_infrastructure` | 四边形/六面体点数、对称性、权重和 | | Newton-Cotes | `element_infrastructure` | 四边形/六面体点数、对称性、权重和 | | `S4R` 刚度/内力 | `element_stiffness`、`shell_internal` | reduced path、hourglass、刚体检查 | | `C3D8R` 刚度/内力 | `element_stiffness`、`smoke` | reduced path、hourglass、刚体检查、线弹性平均状态 | | Fortran introspection | `database_topology` | 元数据、节点、坐标、积分点、形函数、Jacobian、B 矩阵 | | C introspection | `c_api` | C wrapper 成功路径和小缓冲区失败 | ## 3. V5 Acceptance 矩阵 | 领域 | 代表测试或 benchmark | |---|---| | Mohr-Coulomb | `material_mohr_coulomb`、`material_mc_driver`、强度折减模块测试 | | 线性求解器 | `linear_solver_cg`、`csr_diagnostics` | | 接触 | `contact_mortar_al`、`contact_mortar_report`、contact examples | | Cohesive | `cohesive_contact` | | 颗粒 | `particle_acceptance`、颗粒耦合模块测试 | | 屈曲 | `buckling_support`、小规模 `*BUCKLING` CLI 子集 | | 壳/实体示例 | shell patch、Scordelis-Lo、基础壳/实体 smoke | | CLI | static、implicit、buckling CLI smoke | ## 4. 已移除历史难例 以下高难度 examples 已从当前示例目录移除,不再作为当前交付或默认 gate: - `strengthReduction` - `mohr_coulomb_yield_surface` - `ball_adhesion_decohesion` - `Dynamic_Grain_Packing_of_a_Flexible_Container` - `buckling_corrugated_shell` - `roll_forming` - `two_arches` - `block_on_arch` - `blasting_rock` - `failure_prediction_in_a_layered_shell` - `golfBallImpact` - `nonlinear_harmonic` - `stress_dependent_elasticity` - `cylinder_roller_contact` - `euler_column_buckling` - `membrane_airbag_inflation` - `pinched_hemispherical_shell` - `spherical_cap_with_central_point_load` 若后续恢复这些示例,需要重新补输入、README、运行脚本、checker 和验收阈值。 ## 5. 长跑与研究项 以下不属于默认 gate: - 完整球冠 `uz=-6.2 m` PDF 曲线匹配。 - Mohr-Coulomb 临界失稳云图。 - 大规模工业级 contact 收敛。 - DEM/FEM 大规模颗粒长跑。 - 生产级滚压工艺链。 ## 6. 维护规则 - 新 benchmark 必须有输入、README、运行命令、checker 和验收指标。 - compact benchmark 不得写成完整工业能力。 - benchmark 输出默认写入结果目录,不得提交全量 CSV/VTK。 - 发布 gate 变化必须同步更新 `06_test_and_verification_plan.md` 和本文档。