potential_x Function

public function potential_x(p, rho, d_rho) result(pot)

exchange potential

Arguments

Type IntentOptional Attributes Name
type(param), intent(in) :: p
real(kind=long), intent(in) :: rho(:)
real(kind=long), intent(in), optional :: d_rho(:)

Return Value real(kind=long), (size(rho))