[test] Add spin-orbit + spin-polarized Wien2k converter test (CaOs2)#4
Open
krystophny wants to merge 1 commit into
Open
[test] Add spin-orbit + spin-polarized Wien2k converter test (CaOs2)#4krystophny wants to merge 1 commit into
krystophny wants to merge 1 commit into
Conversation
…CaOs2) dftkit's Wien2k converter is only covered by the non-SOC SrVO3 case. This adds a SOC + spin-polarized golden test: CaOs2, a cubic fluorite cell with two symmetry-equivalent correlated Os atoms whose magnetic point group has 16 operations, 8 of them time-reversal. It exercises the combined-spin 'ud' block and the time-reversal symmetry path of dmftproj + the converter on a small 8-k-point fixture, validated by h5diff against a reference produced by this converter.
1c2001d to
830cb84
Compare
This was referenced Jun 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #7 (dmftproj Fortran-to-Python port).
Adds the first spin-orbit + spin-polarized golden test for the Wien2k
converter. dftkit currently only tests the non-SOC SrVO3 case, so the SOC path
of dmftproj and the converter (the combined-spin
udblock, time-reversalsymmetry operations) is untested.
CaOs2 is a cubic fluorite-type cell with two symmetry-equivalent correlated Os
atoms; its magnetic point group has 16 operations, 8 of them time-reversal. The
test runs
convert_dft_inputon a small (8 k-point) dmftproj output fixture andh5diffs against a reference produced by this converter.It is also the characterization harness for incrementally porting
fortran/dmftprojto Python: with the converter output locked by this goldentest, each ported stage can be proven to leave the result unchanged.
Verification
The reference
wien2k_soc_convert.ref.h5was generated with this converter(
triqs_dftkit.wien2k.Converter.convert_dft_input); the test reruns the sameconverter and asserts
h5diff == 0. CI builds dftkit and runs it viactest.