this module contains all subroutines related to finite temperature calculation
function returns the electronic entropy -
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=long), | intent(in) | :: | f_occ(:) |
this subroutine return calculates the chemical potential such that we have sum(F%N_occ) electrons at temperature P%T_eV with orbital energies F%CE fractional occupations are saved in F%f_occ. by Ludger Inhester 26/11/2014 Kota Hanasaki : revision 1406 to adapt to low temperature 01/12/2014 Kota Hanasaki : revision 1413 fix initial guess Mar 2017 Ludger Inhester : cleaned up code, restricted it to obitals F%Ncore+1, choose better variable names if improvement is smaller than this, increase trial step v = TWO* sum( fermi( F%CE(:),T_AU, mu ) ) - Ne Convergence Check...
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(param), | intent(in) | :: | p | |||
type(wf_data), | intent(inout) | :: | f | |||
logical, | optional | :: | yes_initialize |