48 logical :: apply = .false.
50 type(mixfield_t) :: field
57 type(namespace_t),
intent(in) :: namespace
58 type(vtau_mixer_t),
intent(inout) :: mixer
59 type(mix_t),
intent(inout) :: smix
60 type(hamiltonian_elec_t),
intent(in) :: hm
61 integer,
intent(in) :: np
62 integer,
intent(in) :: nspin
81 type(vtau_mixer_t),
intent(inout) :: mixer
82 type(mix_t),
intent(inout) :: smix
84 if (.not. mixer%apply)
return
94 type(vtau_mixer_t),
intent(inout) :: mixer
95 type(mix_t),
intent(inout) :: smix
97 if (.not. mixer%apply)
return
107 type(vtau_mixer_t),
intent(inout) :: mixer
108 type(hamiltonian_elec_t),
intent(in) :: hm
110 if (.not. mixer%apply)
return
120 type(vtau_mixer_t),
intent(inout) :: mixer
121 type(hamiltonian_elec_t),
intent(in) :: hm
123 if (.not. mixer%apply)
return
133 type(vtau_mixer_t),
intent(in) :: mixer
134 type(hamiltonian_elec_t),
intent(inout) :: hm
136 if (.not. mixer%apply)
return
A module to handle KS potential, without the external potential.
subroutine, public vtau_set_vin(field, this)
subroutine, public vtau_set_vout(field, this)
subroutine, public vtau_get_vnew(field, this)
integer, parameter, public generalized_kohn_sham_dft
subroutine, public mixfield_end(smix, mixfield)
Deallocate all arrays of a mixfield instance.
integer pure function, public mix_scheme(this)
subroutine, public mixfield_init(smix, mixfield, d1, d2, d3, func_type)
Initialise all attributes of a mixfield instance.
subroutine, public mix_add_auxmixfield(namespace, smix, mixfield)
subroutine, public mixfield_clear(scheme, mixfield)
Zero all potential and field attributes of a mixfield instance.
integer pure function, public mix_d3(this)
type(type_t), public type_float
subroutine, public vtau_mixer_end(mixer, smix)
subroutine, public vtau_mixer_init_auxmixer(namespace, mixer, smix, hm, np, nspin)
subroutine, public vtau_mixer_set_vout(mixer, hm)
subroutine, public vtau_mixer_get_vnew(mixer, hm)
subroutine, public vtau_mixer_clear(mixer, smix)
subroutine, public vtau_mixer_set_vin(mixer, hm)