Octopus
augmentation_mixer_oct_m Module Reference

Auxiliary SCF mixer for the PAW one-center density matrix. More...

Detailed Description

Auxiliary SCF mixer for the PAW one-center density matrix.

For PAW the screened coupling D_ij is rebuilt every SCF step from the one-center density matrix rho_ij (nonlocal_pseudopotential onsite_density_matrix), which is recomputed from the output wavefunctions while the mesh potential vhxc is mixed. That inconsistency lets the one-center part of D lag the mixed mesh potential and drives limit-cycle oscillations, most visibly for meta-GGA where D carries the extra vtau contribution. Mixing rho_ij as an auxiliary field (exactly as lda_u_mixer mixes the DFT+U occupation matrix) removes the lag; it changes only the SCF path, not the fixed point.

With density mixing, the mixed density contains the mixed compensation charge, so rho_ij is mixed in the same way to keep the two consistent (rho - n^hat for the Bloechl scheme, and the one-center terms).

Data Types

type  augmentation_mixer_t
 

Functions/Subroutines

subroutine, public augmentation_mixer_init_auxmixer (namespace, mixer, smix, hm)
 
subroutine, public augmentation_mixer_clear (mixer, smix)
 
subroutine, public augmentation_mixer_end (mixer, smix)
 
subroutine, public augmentation_mixer_set_vout (mixer, hm)
 
subroutine, public augmentation_mixer_set_vin (mixer, hm)
 
subroutine, public augmentation_mixer_get_vnew (mixer, hm)
 

Function/Subroutine Documentation

◆ augmentation_mixer_init_auxmixer()

subroutine, public augmentation_mixer_oct_m::augmentation_mixer_init_auxmixer ( type(namespace_t), intent(in)  namespace,
type(augmentation_mixer_t), intent(inout)  mixer,
type(mix_t), intent(inout)  smix,
type(hamiltonian_elec_t), intent(in)  hm 
)

Definition at line 140 of file augmentation_mixer.F90.

◆ augmentation_mixer_clear()

subroutine, public augmentation_mixer_oct_m::augmentation_mixer_clear ( type(augmentation_mixer_t), intent(inout)  mixer,
type(mix_t), intent(inout)  smix 
)

Definition at line 172 of file augmentation_mixer.F90.

◆ augmentation_mixer_end()

subroutine, public augmentation_mixer_oct_m::augmentation_mixer_end ( type(augmentation_mixer_t), intent(inout)  mixer,
type(mix_t), intent(inout)  smix 
)

Definition at line 185 of file augmentation_mixer.F90.

◆ augmentation_mixer_set_vout()

subroutine, public augmentation_mixer_oct_m::augmentation_mixer_set_vout ( type(augmentation_mixer_t), intent(inout)  mixer,
type(hamiltonian_elec_t), intent(in)  hm 
)

Definition at line 200 of file augmentation_mixer.F90.

◆ augmentation_mixer_set_vin()

subroutine, public augmentation_mixer_oct_m::augmentation_mixer_set_vin ( type(augmentation_mixer_t), intent(inout)  mixer,
type(hamiltonian_elec_t), intent(in)  hm 
)

Definition at line 214 of file augmentation_mixer.F90.

◆ augmentation_mixer_get_vnew()

subroutine, public augmentation_mixer_oct_m::augmentation_mixer_get_vnew ( type(augmentation_mixer_t), intent(inout)  mixer,
type(hamiltonian_elec_t), intent(inout)  hm 
)

Definition at line 228 of file augmentation_mixer.F90.