An inline custom basis loses the orbitals from results.h5 (two MO-of-diatomics examples)
还没有人认领这个 Issue。
评估
调研方向
Start by comparing the shipped inputs and results.h5 files for ecceqm-H2_cation and ecceqm-He2_cation with their neutral partners. Trace how inline basis_data is parsed into basis records and how ResultsFromCalc uses flatBasis to validate orbital coefficients. Decide whether the general parser path or the two examples should change; done means both cation examples expose orbitals and their MO diagrams and density maps are available.
由索引模型根据 Issue 内容生成。
描述
data/client/examples/genchem/molecular-orbitals-of-diatomics/ecceqm-H2_cation and ecceqm-He2_cation ship
ok: no orbitals (the stored basis set does not match the orbital coefficients (or is not Gaussian))
Both carry a full Props/MO (12395 / 12410 bytes, 28 basis-function columns) plus MOBETA, ORBENG, ORBOCC and LOCMO. Their neutral partners ecceqm-H2 and ecceqm-He2 pass the check (ok: alpha tr(PS) 2.000000 of 2.0000, ... 4 AOs).
The difference is in the inputs. The two cations are the only diatomics in that topic that use
method uhf
basis custom
basis_data
while the neutrals use basis 6-31G*. An inline custom basis leaves no matching stored basis-set record, so the shell set and the coefficient block disagree (4 shells against 28 functions) and ResultsFromCalc falls back to the no-orbitals path.
Effect: two examples in the topic whose entire purpose is MO diagrams ship without orbitals in results.h5, so the MO diagram and density map are unavailable for exactly the two cases a student is asked to compare against the neutrals.
This is a different fault from #1282 (there the MO property reads back empty; here it reads fine and the basis record is missing), with the same visible result.
Two possible fixes, needs a decision:
- Store the inline
basis_dataas a basis-set record at parse time, soflatBasisfinds the shells it needs. Fixes it for every code that accepts an inline basis. - Change the two examples to a named basis. Cheaper, but loses whatever the custom basis was chosen to show — check the topic's notes before taking this route.
Found during the #1282 audit of the shipped example set; read from the shipped files, nothing rerun.
- 主要语言
- C
- 星标
- 10
- 派生
- 8
- 平均合并
- 6 小时 32 分钟
- 30 天内合并 PR
- 1
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
FriendsofECCE/ECCE 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
FriendsofECCE/ECCE#1358 ·
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
FriendsofECCE/ECCE#1353 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
FriendsofECCE/ECCE#1348 ·
-
难度 2/5 1-3 小时 新手友好度 76/100
FriendsofECCE/ECCE#1347 ·
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
FriendsofECCE/ECCE#1345 ·
查看 FriendsofECCE/ECCE 的全部 Issue
相似的 Issue
-
documentation
难度 2/5 1-3 小时 新手友好度 84/100
Life-Framework/Life-Framework#5378 ·
维护者通常 1 天内回复
-
Bug Status: Needs Triage
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
bug status: planned ui
难度 2/5 1-3 小时 新手友好度 70/100
ChupathingyCE/chupathingyce#2126 ·
维护者通常 1 天内回复
-
good first issue simulation
难度 1/5 1-3 小时 新手友好度 92/100
MarcosAsh/Lattice_Fluid_Dynamics#270 ·
维护者通常 1 天内回复
-
needs-kind
难度 1/5 1 小时以内 新手友好度 82/100
falcosecurity/libs#3173 · 1 条评论 ·
维护者通常 1 天内回复