Octopus
hamiltonian_elec.F90 File Reference

Go to the source code of this file.

Modules

module  hamiltonian_elec_oct_m
 

Data Types

type  hamiltonian_elec_oct_m::hamiltonian_elec_t
 

Functions/Subroutines

subroutine, public hamiltonian_elec_oct_m::hamiltonian_elec_init (hm, namespace, space, gr, ions, ext_partners, st, theory_level, xc, mc, kpoints, need_exchange, xc_photons)
 
subroutine build_external_potentials ()
 
subroutine external_potentials_checks ()
 
subroutine build_interactions ()
 
subroutine, public hamiltonian_elec_oct_m::hamiltonian_elec_end (hm)
 
logical function hamiltonian_elec_oct_m::hamiltonian_elec_hermitian (hm)
 
subroutine hamiltonian_elec_oct_m::hamiltonian_elec_span (hm, delta, emin, namespace)
 
pure logical function, public hamiltonian_elec_oct_m::hamiltonian_elec_inh_term (hm)
 
subroutine, public hamiltonian_elec_oct_m::hamiltonian_elec_set_inh (hm, st)
 
subroutine, public hamiltonian_elec_oct_m::hamiltonian_elec_remove_inh (hm)
 
subroutine, public hamiltonian_elec_oct_m::hamiltonian_elec_adjoint (hm)
 
subroutine, public hamiltonian_elec_oct_m::hamiltonian_elec_not_adjoint (hm)
 
subroutine hamiltonian_elec_oct_m::hamiltonian_elec_update (this, mesh, namespace, space, ext_partners, time)
 (re-)build the Hamiltonian for the next application: More...
 
subroutine build_phase ()
 
subroutine, public hamiltonian_elec_oct_m::hamiltonian_elec_update_pot (this, mesh, accumulate)
 Update the KS potential of the electronic Hamiltonian. More...
 
subroutine, public hamiltonian_elec_oct_m::hamiltonian_elec_epot_generate (this, namespace, space, gr, ions, ext_partners, st, time)
 
real(real64) function, public hamiltonian_elec_oct_m::hamiltonian_elec_get_time (this)
 
pure logical function, public hamiltonian_elec_oct_m::hamiltonian_elec_apply_packed (this)
 
subroutine, public hamiltonian_elec_oct_m::zhamiltonian_elec_apply_atom (hm, namespace, space, latt, species, pos, ia, mesh, psi, vpsi)
 
subroutine, public hamiltonian_elec_oct_m::hamiltonian_elec_dump_vhxc (restart, hm, space, mesh, ierr)
 
subroutine, public hamiltonian_elec_oct_m::hamiltonian_elec_load_vhxc (restart, hm, space, mesh, ierr)
 
subroutine, public hamiltonian_elec_oct_m::hamiltonian_elec_update_with_ext_pot (this, mesh, space, ext_partners, time, mu)
 This is an extension of "hamiltonian_elec_update_pot" to be used by the CFM4 propagator. It updates the Hamiltonian by considering a weighted sum of the external potentials at times time(1) and time(2), weighted by alpha(1) and alpha(2). More...
 
subroutine, public hamiltonian_elec_oct_m::hamiltonian_elec_set_vhxc (hm, mesh, vold, vold_tau)
 
logical function, public hamiltonian_elec_oct_m::hamiltonian_elec_needs_current (hm, states_are_real)
 
subroutine, public hamiltonian_elec_oct_m::zhamiltonian_elec_apply_all (hm, namespace, mesh, st, hst)
 
subroutine, public hamiltonian_elec_oct_m::magnus (hm, namespace, mesh, psi, hpsi, ik, vmagnus, set_phase)
 
subroutine hamiltonian_elec_oct_m::vborders (mesh, hm, psi, hpsi)
 
logical function, public hamiltonian_elec_oct_m::hamiltonian_elec_has_kick (hm)
 
subroutine hamiltonian_elec_oct_m::hamiltonian_elec_set_mass (this, namespace, mass)
 set the effective electron mass, checking whether it was previously redefined. More...
 
subroutine, public hamiltonian_elec_oct_m::hamiltonian_elec_copy_and_set_phase (hm, gr, kpt, psib, psib_with_phase)
 Copy a batch to another batch and apply the Bloch phase to it. More...
 
subroutine hamiltonian_elec_oct_m::dhamiltonian_elec_apply (hm, namespace, mesh, psib, hpsib, terms, set_bc)
 
subroutine hamiltonian_elec_oct_m::dhamiltonian_elec_magnus_apply (hm, namespace, mesh, psib, hpsib, vmagnus)
 
subroutine, public hamiltonian_elec_oct_m::dhamiltonian_elec_apply_batch (hm, namespace, mesh, psib, hpsib, terms, set_bc)
 
subroutine hamiltonian_elec_oct_m::dhamiltonian_elec_external (this, mesh, psib, vpsib)
 
subroutine, public hamiltonian_elec_oct_m::dhamiltonian_elec_apply_single (hm, namespace, mesh, psi, hpsi, ist, ik, terms, set_bc, set_phase)
 
subroutine hamiltonian_elec_oct_m::dhamiltonian_elec_magnus_apply_batch (hm, namespace, mesh, psib, hpsib, vmagnus)
 
subroutine hamiltonian_elec_oct_m::dh_mgga_terms (hm, mesh, psib, hpsib, ghost_update)
 
subroutine, public hamiltonian_elec_oct_m::dvmask (mesh, hm, st)
 
subroutine, public hamiltonian_elec_oct_m::dhamiltonian_elec_diagonal (hm, mesh, diag, ik)
 
subroutine hamiltonian_elec_oct_m::zhamiltonian_elec_apply (hm, namespace, mesh, psib, hpsib, terms, set_bc)
 
subroutine hamiltonian_elec_oct_m::zhamiltonian_elec_magnus_apply (hm, namespace, mesh, psib, hpsib, vmagnus)
 
subroutine, public hamiltonian_elec_oct_m::zhamiltonian_elec_apply_batch (hm, namespace, mesh, psib, hpsib, terms, set_bc)
 
subroutine hamiltonian_elec_oct_m::zhamiltonian_elec_external (this, mesh, psib, vpsib)
 
subroutine, public hamiltonian_elec_oct_m::zhamiltonian_elec_apply_single (hm, namespace, mesh, psi, hpsi, ist, ik, terms, set_bc, set_phase)
 
subroutine hamiltonian_elec_oct_m::zhamiltonian_elec_magnus_apply_batch (hm, namespace, mesh, psib, hpsib, vmagnus)
 
subroutine hamiltonian_elec_oct_m::zh_mgga_terms (hm, mesh, psib, hpsib, ghost_update)
 
subroutine, public hamiltonian_elec_oct_m::zvmask (mesh, hm, st)
 
subroutine, public hamiltonian_elec_oct_m::zhamiltonian_elec_diagonal (hm, mesh, diag, ik)
 

Variables

integer, parameter, public hamiltonian_elec_oct_m::length = 1
 
integer, parameter, public hamiltonian_elec_oct_m::velocity = 2
 
integer, parameter, public hamiltonian_elec_oct_m::independent_particles = 2
 
integer, parameter, public hamiltonian_elec_oct_m::hartree = 1
 
integer, parameter, public hamiltonian_elec_oct_m::hartree_fock = 3
 
integer, parameter, public hamiltonian_elec_oct_m::kohn_sham_dft = 4
 
integer, parameter, public hamiltonian_elec_oct_m::generalized_kohn_sham_dft = 5
 
integer, parameter, public hamiltonian_elec_oct_m::rdmft = 7
 

Function/Subroutine Documentation

◆ build_external_potentials()

subroutine hamiltonian_elec_init::build_external_potentials
private

Definition at line 640 of file hamiltonian_elec.F90.

◆ external_potentials_checks()

subroutine hamiltonian_elec_init::external_potentials_checks
private

Definition at line 721 of file hamiltonian_elec.F90.

◆ build_interactions()

subroutine hamiltonian_elec_init::build_interactions
private

Definition at line 750 of file hamiltonian_elec.F90.

◆ build_phase()

subroutine build_phase
private

Definition at line 1107 of file hamiltonian_elec.F90.