9 |
|
|
10 |
c2f_error = 0 |
c2f_error = 0 |
11 |
|
|
12 |
|
|
13 |
c if(C2F_DEBUG.EQ.1.eq.1)print * |
c if(C2F_DEBUG.EQ.1.eq.1)print * |
14 |
if(verbose.eq.1)print * |
if(verbose.eq.1)print * |
15 |
$ ,c2f_path(1:c2f_pathlen)//'trk-maskvk.dat' |
$ ,c2f_path(1:c2f_pathlen)//'trk-maskvk.dat' |
37 |
c2f_error = 1 |
c2f_error = 1 |
38 |
goto 1000 |
goto 1000 |
39 |
endif |
endif |
40 |
|
if(verbose.eq.1)print*,'view ',iv,': ',(mask_vk(iv,i),i=1,24) |
41 |
enddo |
enddo |
42 |
1000 close(10) |
1000 close(10) |
43 |
1001 continue |
c 1001 continue |
44 |
return |
return |
45 |
end |
end |
46 |
|
|
173 |
c2f_error = 1 |
c2f_error = 1 |
174 |
return |
return |
175 |
endif |
endif |
176 |
c print*,'---- ANGULAR BINNING ----' |
if(DEBUG.EQ.1)THEN |
177 |
c print*,'Bin - angL - angR' |
print*,'---- ANGULAR BINNING ----' |
178 |
|
print*,'Bin - angL - angR' |
179 |
|
endif |
180 |
101 format(i2,' ',f6.2,' ',f6.2) |
101 format(i2,' ',f6.2,' ',f6.2) |
181 |
xnn=0 |
xnn=0 |
182 |
do ibin=1,nangmax |
do ibin=1,nangmax |
184 |
$ ,IOSTAT=iostat |
$ ,IOSTAT=iostat |
185 |
$ )xnn,angL(ibin),angR(ibin) |
$ )xnn,angL(ibin),angR(ibin) |
186 |
if(iostat.ne.0)goto 1000 |
if(iostat.ne.0)goto 1000 |
187 |
c write(*,101)int(xnn),angL(ibin),angR(ibin) |
if(DEBUG.EQ.1)write(*,101)int(xnn),angL(ibin),angR(ibin) |
188 |
enddo |
enddo |
189 |
1000 nangbin=int(xnn) |
1000 nangbin=int(xnn) |
190 |
close(10) |
close(10) |
191 |
if(nangbin.eq.0)c2f_error = 1 |
if(nangbin.eq.0)c2f_error = 1 |
192 |
c print*,'-------------------------' |
if(DEBUG.EQ.1)THEN |
193 |
c print*,nangbin |
print*,'-------------------------' |
194 |
|
print*,nangbin |
195 |
|
endif |
196 |
|
|
197 |
|
|
198 |
|
|