(*
 Copyright (C) 2017 M.A.L. Marques

 This Source Code Form is subject to the terms of the Mozilla Public
 License, v. 2.0. If a copy of the MPL was not distributed with this
 file, You can obtain one at http://mozilla.org/MPL/2.0/.
*)

(* type: lda_exc *)

$include "vwn.mpl"

f_vwn := (rs, z) ->
  + f_aux(A_vwn[1], b_vwn[1], c_vwn[1], x0_vwn[1], rs)
  + f_aux(A_rpa[3], b_rpa[3], c_rpa[3], x0_rpa[3], rs)*f_zeta(z)*(1 - z^4)/fpp_vwn
  - DRPA(rs, z)*f_zeta(z)*(1 - z^4)
  +  DMC(rs, z)*f_zeta(z):

f := (rs, z) -> f_vwn(rs, z):
