Commit Graph

12 Commits

Author SHA1 Message Date
03ab39eb50 feat: 添加 5 个 SYNSPEC 数学模块 (第9批)
- ispec: 谱线轮廓类型判断
- starkir: 红外 Stark 加宽
- tint: 温度积分
- voigtk: Voigt 函数 (K 系数)
- wtot: He I 线总宽度

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-25 08:02:25 +08:00
0674b4f174 feat: 添加 9 个 SYNSPEC 数学模块 (第8批)
新增模块:
- count_words: 字符串单词计数工具
- divhe2: He II Stark 轮廓除数参数计算
- extprf: 谱线轮廓波长外推 (Cooper 公式)
- feautr: Lyman-α Stark 加宽 (Feautrier 方法)
- gamhe: 中性氦 Stark 加宽参数
- griem: Griem Stark 阻尼参数计算
- intrp: 二分法高效插值程序
- partdv: 配分函数计算 (含压力效应)
- sffhmi_old: H- 自由-自由截面 (Kurucz 公式)

改进:
- 修复 fortran-analyzer 注释行误匹配问题

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-25 06:52:44 +08:00
c0e70ef895 feat: 添加 lagran 和 yint 模块
- lagran: Lagrange 三点插值函数
- yint: 二次插值函数(数组版本)

这两个纯数学函数用于数值插值。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-25 01:54:00 +08:00
a086e313cb feat: 添加更多重构模块 (第7批)
包含 IO 和 math 模块的实现:
- IO: initia, levcd, linset, ltegr, ltegrd, odfset, outpri, resolv, srtfrq, start, tabini, xenini
- Math: accel2, alisk1, alisk2, alist1, alist2, concor, conout, conref, contmd, contmp, coolrt, greyd, inilam, linsel, lucy, lymlin, matcon, matgen, moleq, newdm, newdmt, odf1, opacf0, opacf1, opacfa, opacfd, opacfl, opactr, opadd, opahst, pgset, princ, prnt, pzeval, quasim, radpre, radtot, rates1, ratsp1, rdata, rdatax, rechck, rhoeos, rhonen, rhsgen, rossop, rtecf1, rtecmc, rtecmu, rtecom, rtefr1, rteint, russel, rybchn, rybene, rybheq, rybsol, sgmer1, sigave, sigk, solve, solves, state, steqeq, temcor, temper, topbas, trmder, trmdrt

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-25 01:46:29 +08:00
21cb6af16c fix: 修复 InvInt::default() 初始化
InvInt 的 xi2 和 xi3 数组应该预计算为 1/I² 和 1/I³,
与 Fortran INITIA 中的初始化逻辑一致。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-25 01:46:08 +08:00
8de90f4ab3 重构6 2026-03-23 15:45:52 +08:00
5078d6120e 重构5,无io和无io依赖的模块已经全部重构完毕,接下来是重构剩余的模块,主要是io和依赖io的模块。 2026-03-22 17:08:40 +08:00
59404207c3 重构4 2026-03-22 00:30:20 +08:00
497e62e13c 重构3 2026-03-21 16:23:35 +08:00
f286ddacfe 重构2 2026-03-21 09:12:18 +08:00
8e21522d2d 重构1 2026-03-19 22:16:23 +08:00
1e30b7bc63 git push -u origin main 2026-03-19 14:05:33 +08:00