Advance V5 core capabilities and planning

This commit is contained in:
shenw
2026-06-26 00:48:57 +08:00
parent 38623b518a
commit 26639d8dc2
139 changed files with 41386 additions and 1328 deletions
+12 -1
View File
@@ -617,7 +617,18 @@ end subroutine
- `preconditioner` 使用 `LPRECOND_NONE=0`、`LPRECOND_JACOBI=1`。
- `status_code` 使用 `LS_STATUS_IDLE=0`、`LS_STATUS_CONVERGED=1`、`LS_STATUS_FAILED=-1`、`LS_STATUS_UNSUPPORTED=-2`。
- CG 主要面向对称正定系统;BiCGSTAB 和 GMRES 可用于非对称 CSR 小系统。
- `LSOLVER_EXTERNAL` 仅作为外部稀疏求解器预留路径;当前配置可记录,但实际求解返回 unsupported。
- `LSOLVER_EXTERNAL` 通过独立 backend 枚举选择外部求解路径。当前接口包含
`NONE`、`SUPERLU`、`MUMPS`、`MKL_PARDISO`、`REF_DIRECT` 和 `FILE`;未编译
的第三方库后端返回 unavailable/unsupported,`REF_DIRECT` 和 `FILE` 用于默认
构建下的 adapter 验证。
- file-exchange 后端由 `femlite_configure_linear_solver_external_file` 配置 prefix、
command、auto-run、keep-files、index-base 和 storage。command 支持 `{matrix}`、
`{rhs}`、`{solution}`、`{csr}`、`{manifest}`、`{tol}`、`{max_iter}` 等模板 token,
并支持 `{manifest:q}` 形式的命令行引用。
- `femlite_get_linear_solver_external_info` 查询当前外部 backend、可用性和能力位;
`femlite_get_linear_solver_external_diag` 查询最近一次外部 CSR 请求摘要;
`femlite_get_linear_solver_external_file_diag` 查询 file-exchange 的导出、命令和
residual audit 摘要。
- 静力、隐式 Newmark 和非线性 Newton 修正方程均通过同一分发层求解。
### 12.7 壳稳定控制