Evaluate electronic entropy and thermodynamic temperature in real-time.
The entropy is computed from the time-dependent occupations \f$n_{nk}(t)\f$:
\f[ S(t) = - \sum_{nk} w_k [n_{nk} \ln(n_{nk}/s) + (s-n_{nk}) \ln(1-n_{nk}/s)] \f]
where \f$s\f$ is the spin_occ (typically 2 for non-magnetic systems).
Electron (\f$S_e\f$) and hole (\f$S_h\f$) entropies are computed separately.
The temperature is derived from the relation: \f[ \frac{1}{T} = \frac{\Delta S}{\Delta E} \f] where \f$\Delta S\f$ and \f$\Delta E\f$ are the variations of entropy and energy between two consecutive time steps.
HA2KEL.| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(levels), | intent(in) | :: | en |
Electronic levels. |
||
| type(bz_samp), | intent(in) | :: | k |
BZ sampling structure. |
||
| complex(kind=SP), | intent(in) | :: | dG_lesser(RT_bands(1):RT_bands(2),RT_bands(1):RT_bands(2),PAR_G_k_range(1):PAR_G_k_range(2),n_sp_pol) | |||
| real(kind=SP), | intent(inout) | :: | Entr(3) | |||
| real(kind=SP), | intent(out) | :: | TEntr(3) | |||
| real(kind=SP), | intent(inout) | :: | EnEntr(3) | |||
| real(kind=SP), | intent(in) | :: | E_IP |
Independent particle energy variation. |