functional_x Function

public function functional_x(p, g, rho, d_rho) result(e)

exchange functional

Arguments

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

Return Value real(kind=long)