10
0
mirror of https://gitlab.com/scemama/irpf90.git synced 2024-12-22 12:23:32 +01:00
irpf90/example/uvwt.irp.f

32 lines
480 B
FortranFixed
Raw Normal View History

BEGIN_PROVIDER [integer, t ]
2017-03-17 21:50:07 +01:00
IMPLICIT NONE
t = u1+v+4
END_PROVIDER
BEGIN_PROVIDER [integer,w]
2017-03-17 21:50:07 +01:00
IMPLICIT NONE
w = d5+3
END_PROVIDER
BEGIN_PROVIDER [ integer, v ]
2017-03-17 21:50:07 +01:00
IMPLICIT NONE
v = u2+w+2
2011-11-23 18:28:08 +01:00
END_PROVIDER
BEGIN_PROVIDER [ integer, u1 ]
2017-03-17 21:50:07 +01:00
IMPLICIT NONE
integer :: fu
u1 = fu(d1,d2)
END_PROVIDER
BEGIN_PROVIDER [ integer, u2 ]
2017-03-17 21:50:07 +01:00
IMPLICIT NONE
integer :: fu
u2 = fu(d3,d4)
END_PROVIDER
2017-03-17 21:50:07 +01:00
INTEGER function fu(x,y)
INTEGER, INTENT(in) :: x,y
2017-07-11 21:05:56 +02:00
fu = x+y+1
2017-03-17 21:50:07 +01:00
END FUNCTION