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
6
subroutine
k_tf_sp
(n,rhoup,rhodn,dtdru,dtdrd)
7
implicit none
8
! arguments
9
integer
,
intent(in)
:: n
10
real
(8),
intent(in)
:: rhoup(n),rhodn(n)
11
real
(8),
intent(out)
:: dtdru(n),dtdrd(n)
12
! local variables
13
integer
i
14
do
i=1,n
15
call
k_tf1
(2.d0*rhoup(i),dtdru(i))
16
end do
17
do
i=1,n
18
call
k_tf1
(2.d0*rhodn(i),dtdrd(i))
19
end do
20
end subroutine
21
k_tf1
elemental subroutine k_tf1(rho, dtdr)
Definition
k_tf1.f90:7
k_tf_sp
subroutine k_tf_sp(n, rhoup, rhodn, dtdru, dtdrd)
Definition
k_tf_sp.f90:7
k_tf_sp.f90
Generated by
1.9.8