The Elk Code
 
Loading...
Searching...
No Matches
k_tf_sp.f90
Go to the documentation of this file.
1
2! Copyright (C) 2022 J. K. Dewhurst, S. Sharma and E. K. U. Gross.
3! This file is distributed under the terms of the GNU General Public License.
4! See the file COPYING for license details.
5
6subroutine k_tf_sp(n,rhoup,rhodn,dtdru,dtdrd)
7implicit none
8! arguments
9integer, intent(in) :: n
10real(8), intent(in) :: rhoup(n),rhodn(n)
11real(8), intent(out) :: dtdru(n),dtdrd(n)
12! local variables
13integer i
14do i=1,n
15 call k_tf1(2.d0*rhoup(i),dtdru(i))
16end do
17do i=1,n
18 call k_tf1(2.d0*rhodn(i),dtdrd(i))
19end do
20end subroutine
21
elemental subroutine k_tf1(rho, dtdr)
Definition k_tf1.f90:7
subroutine k_tf_sp(n, rhoup, rhodn, dtdru, dtdrd)
Definition k_tf_sp.f90:7