Skip to content

[test] Add spin-orbit + spin-polarized Wien2k converter test (CaOs2)#4

Open
krystophny wants to merge 1 commit into
TRIQS:unstablefrom
krystophny:port/dmftproj-soc-harness
Open

[test] Add spin-orbit + spin-polarized Wien2k converter test (CaOs2)#4
krystophny wants to merge 1 commit into
TRIQS:unstablefrom
krystophny:port/dmftproj-soc-harness

Conversation

@krystophny

@krystophny krystophny commented Jun 15, 2026

Copy link
Copy Markdown

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 ud block, time-reversal
symmetry 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_input on a small (8 k-point) dmftproj output fixture and
h5diffs against a reference produced by this converter.

It is also the characterization harness for incrementally porting
fortran/dmftproj to Python: with the converter output locked by this golden
test, each ported stage can be proven to leave the result unchanged.

Verification

The reference wien2k_soc_convert.ref.h5 was generated with this converter
(triqs_dftkit.wien2k.Converter.convert_dft_input); the test reruns the same
converter and asserts h5diff == 0. CI builds dftkit and runs it via ctest.

…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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant