functional_c Function

public function functional_c(p, g, rho_a, rho_b) result(e)

correlation functional

Arguments

Type IntentOptional Attributes Name
type(param), intent(in) :: p
type(grid3d), intent(in) :: g
real(kind=long), intent(in) :: rho_a(:)
real(kind=long), intent(in) :: rho_b(:)

Return Value real(kind=long)