The Elk Code
k_tfsc_sp.f90
Go to the documentation of this file.
1 
2 ! Copyright (C) 2025 J. K. Dewhurst and S. Sharma.
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_tfsc_sp(n,rhoup,rhodn,tauup,taudn,dtdru,dtdrd)
7 implicit none
8 ! arguments
9 integer, intent(in) :: n
10 real(8), intent(in) :: rhoup(n),rhodn(n),tauup(n),taudn(n)
11 real(8), intent(out) :: dtdru(n),dtdrd(n)
12 ! local variables
13 integer i
14 do i=1,n
15  call k_tfsc1(2.d0*rhoup(i),2.d0*tauup(i),dtdru(i))
16 end do
17 do i=1,n
18  call k_tfsc1(2.d0*rhodn(i),2.d0*taudn(i),dtdrd(i))
19 end do
20 end subroutine
21 
elemental subroutine k_tfsc1(rho, tau, dtdr)
Definition: k_tfsc1.f90:7
subroutine k_tfsc_sp(n, rhoup, rhodn, tauup, taudn, dtdru, dtdrd)
Definition: k_tfsc_sp.f90:7