-
Notifications
You must be signed in to change notification settings - Fork 14
/
dydz.f
29 lines (28 loc) · 1.15 KB
/
dydz.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
c ********************** dydz ***************************
c * ---- *
c * this function calculates the derivative of y *
c * (being omega_cyclotron_i/omega) with respect to z*
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 dydz(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'
dydz=w(i)*dbmdz
return
end