|
real *8 function, dimension(2) | lnsrs (x, y) |
|
Definition at line 518 of file CALLING_cpHTO.f.
◆ lnsrs()
real*8 function, dimension(2) hto_ln_2_riemann::operator(.lnsrs.)::lnsrs |
( |
real*8, dimension(2), intent(in) |
x, |
|
|
real*8, dimension(2), intent(in) |
y |
|
) |
| |
Definition at line 523 of file CALLING_cpHTO.f.
527 real*8,
dimension(2) ::
lnsrs,x,y,olnsrs
528 real*8 ax,ay,teta,tnteta,ilnx,sr,si,sx,sy,xms
531 IF(abs(y(2)).ne.1.d0)
THEN
533 xms= x(1)*x(1)+x(2)*x(2)
534 IF(abs(1.d0-sqrt(xms)).lt.1.d-12)
THEN
535 teta= atan(abs(x(2)/x(1)))
542 lnsrs(2)= si*(pi-teta)
547 olnsrs= y(1).
fln.y(2)
552 lnsrs(1)= 0.5d0*log(x(1)*x(1)+x(2)*x(2))
555 IF(x(1).eq.0.d0)
THEN
562 ELSE IF(x(2).eq.0.d0)
THEN
583 IF((x(2) > 0.d0.and.y(2) > 0).or.
584 # (x(2) < 0.d0.and.y(2) < 0)) THEN
586 ELSEIF(x(2) > 0.d0.and.y(2) < 0)
THEN
589 print*,
'+++++++++++++++++++++++++++++++++++'
590 print*,
' anomaly ln '
593 print*,
'+++++++++++++++++++++++++++++++++++'
599 IF(abs(y(2)).ne.1.d0)
THEN
600 print*,
' Wrong argument for LNSRS '
604 IF((x(2)*y(2)) < 0.d0)
THEN
605 lnsrs(2)= ilnx+2.d0*y(2)*pi
The documentation for this interface was generated from the following file: