Compute the energy-weighted density matrix.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(Matrix_ps), | intent(in) | :: | H |
The matrix to compute from. |
||
| type(Matrix_ps), | intent(in) | :: | D |
The density matrix. |
||
| type(Matrix_ps), | intent(inout) | :: | ED |
The energy-weighted density matrix. |
||
| real(kind=NTREAL), | intent(in), | optional | :: | threshold_in |
Threshold for flushing small values (default = 0). |