-
Notifications
You must be signed in to change notification settings - Fork 14
/
dydphi.f
32 lines (29 loc) · 1.18 KB
/
dydphi.f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
c ********************** dydphi **************************
c * ------ *
c * this function calculates the derivative of y *
c * (being omega_cyclotron_i/omega) with respect to phi*
c * (i - type of particles) *
c ********************************************************
c
c------------------------------------------------------------------
c !
c input parameters !
c !
c z, r phi - coordinates of the point where the derivative is !
c calculated. !
c i = 1 - electrons, !
c > 1 - ions. !
c rho is from common one.i
c------------------------------------------------------------------
double precision
1function dydphi(z,r,phi,i)
!implicit double precision (a-h,o-z)
implicit none !YuP[2020-01-14]
integer i !YuP[2020-01-14]
real*8 z,r,phi !YuP[2020-01-14]
include 'param.i'
include 'one.i'
dydphi=0.d0
dydphi=w(i)*dbmdph
return
end