The Elk Code
 
Loading...
Searching...
No Matches
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
6subroutine k_tfsc_sp(n,rhoup,rhodn,tauup,taudn,dtdru,dtdrd)
7implicit none
8! arguments
9integer, intent(in) :: n
10real(8), intent(in) :: rhoup(n),rhodn(n),tauup(n),taudn(n)
11real(8), intent(out) :: dtdru(n),dtdrd(n)
12! local variables
13integer i
14do i=1,n
15 call k_tfsc1(2.d0*rhoup(i),2.d0*tauup(i),dtdru(i))
16end do
17do i=1,n
18 call k_tfsc1(2.d0*rhodn(i),2.d0*taudn(i),dtdrd(i))
19end do
20end 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