You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix ORCA CABS/F12 input generation and keyword duplication (#872)
This pull request improves the handling of complementary auxiliary basis
sets (CABS) for F12 calculations in ORCA jobs. It introduces a dedicated
`cabs` field for specifying the CABS basis, ensures that F12 methods
require a CABS basis, and updates documentation and tests to reflect
these changes. The logic for handling monoatomic species with DLPNO
methods is also clarified and tested.
**Improvements to ORCA F12/CABS handling:**
* Added a dedicated `cabs` field to the level specification for F12
calculations, ensuring that CABS is not packed into `auxiliary_basis`
and is correctly included in the ORCA input template.
[[1]](diffhunk://#diff-60b5d1eeb1dc88db3d353467fdf082daaee0a4d0d330af6e28f19971b4d64ebfR87-R94)
[[2]](diffhunk://#diff-a330a0112e60c2872ba1c9bd84f85a963f9edc44a273d883fed5b59c5e8b4a98L91-R101)
* Enforced that F12 methods require a CABS basis; an informative error
is raised if it is missing.
* Updated the input file generation logic to insert the CABS token only
when specified.
**Test and documentation updates:**
* Added tests to verify that F12 jobs with and without a CABS basis
behave as expected, and updated existing tests and documentation to use
the new `cabs` field.
[[1]](diffhunk://#diff-847b38ec557affc7fcb76250b62ea822ded48ecf55c1ee5315ce49b2814bfbefR191-R231)
[[2]](diffhunk://#diff-15e1a6128b75ab891a82f553500298b09e0e6c8abf5852df52504d1b94227af5L301-R308)
[[3]](diffhunk://#diff-a330a0112e60c2872ba1c9bd84f85a963f9edc44a273d883fed5b59c5e8b4a98L91-R101)
[[4]](diffhunk://#diff-a330a0112e60c2872ba1c9bd84f85a963f9edc44a273d883fed5b59c5e8b4a98L121-R128)
**DLPNO/monoatomic handling:**
* Improved logic for monoatomic species with DLPNO methods:
single-electron atoms (e.g., H) now fall back to HF, while heavier
monoatomics retain DLPNO. Added tests for this behavior.
[[1]](diffhunk://#diff-556ad66547f14f3f9a3915808a05b59151ee8216b817845d8d716577c0aeb5ebL1447-R1455)
[[2]](diffhunk://#diff-543ab169dfe340e750c06406160a449f8e1b27f63f3bd9a268a8fafd53e5a9b1L1021-R1022)
[[3]](diffhunk://#diff-01ac51eb991fbf67febc6d56918494d7dc92486aec7fe8b44a7c7db75f3c2e84R1008-R1035)
0 commit comments