EnergyDensityMatrix Subroutine

public subroutine EnergyDensityMatrix(Hamiltonian, Density, EnergyDensity, threshold_in)

Compute the energy-weighted density matrix.

Arguments

Type IntentOptional AttributesName
type(Matrix_ps), intent(in) :: Hamiltonian

The matrix to compute from.

type(Matrix_ps), intent(in) :: Density

The density matrix.

type(Matrix_ps), intent(inout) :: EnergyDensity

The energy-weighted density matrix.

real(kind=NTREAL), intent(in), optional :: threshold_in

Threshold for flushing small values (default = 0).


Contents

None