1 SUBROUTINE wrcoil(nk,nkcoil,rk,zk,tk,necon,wecon)
5 real*8 rk(*),zk(*),tk(*),wecon(*)
6 integer nk,nkcoil,necon(*)
8 write(fname,
'(a,a)') path(1:kname),
'ecur.wr'
9 open(1,file=fname,form=
'formatted')
14 write(1,*) (rk(i),i=1,nk)
15 write(1,*) (zk(j),j=1,nk)
16 write(1,*) (tk(j),j=1,nk)
17 write(1,*) (wecon(j),j=1,nkcoil)
18 write(1,*) (necon(j),j=1,nkcoil)
23 SUBROUTINE rdcoil(nk,nkcoil,rk,zk,tk,necon,wecon)
27 real*8 rk(*),zk(*),tk(*),wecon(*)
28 integer nk,nkcoil,necon(*)
30 write(fname,
'(a,a)') path(1:kname),
'ecur.wr'
31 open(1,file=fname,form=
'formatted')
36 read(1,*) (rk(i),i=1,nk)
37 read(1,*) (zk(j),j=1,nk)
38 read(1,*) (tk(j),j=1,nk)
39 read(1,*) (wecon(j),j=1,nkcoil)
40 read(1,*) (necon(j),j=1,nkcoil)
subroutine rdcoil(nk, nkcoil, rk, zk, tk, necon, wecon)
subroutine wrcoil(nk, nkcoil, rk, zk, tk, necon, wecon)