The Elk Code
stheta_lr.f90
Go to the documentation of this file.
1 
2 ! Copyright (C) 2009 J. K. Dewhurst, S. Sharma and E. K. U. Gross
3 ! This file is distributed under the terms of the GNU Lesser General Public
4 ! License. See the file COPYING for license details.
5 
6 elemental real(8) function stheta_lr(x)
7 implicit none
8 ! arguments
9 real(8), intent(in) :: x
10 ! local variables
11 real(8), parameter :: pi=3.1415926535897932385d0
12 stheta_lr=0.5d0+atan(2.d0*x)/pi
13 end function
14 
real(8), parameter pi
Definition: modmain.f90:1232
elemental real(8) function stheta_lr(x)
Definition: stheta_lr.f90:7