triqs_dftkit.wien2k.driver.Driver.run_update_stage

Driver.run_update_stage(N_k, Eint_m_dc, mu=0.0, beta=0.0, **kwargs)[source]

Apply the DMFT charge density correction and reconverge one cycle.

Runs lapw2 -qdmft (which rebuilds the valence density from N_k), lcore and mixer to obtain the new density, then lapw0 and lapw1 to get the potential and eigenvectors that go with it, and finally rebuilds the projectors so the archive is current when this returns.

Safe to call repeatedly with a fresh N_k, which modest’s CSC loop does several times per DMFT iteration.

mu (eV) and beta (1/eV) are accepted only to fill their slots in case.qdmft, converted to Ry there. lapw2 reads both and uses neither, so omitting them changes nothing.