diff options
Diffstat (limited to 'lib/ft8var/syncdist.f90')
| -rw-r--r--[-rwxr-xr-x] | lib/ft8var/syncdist.f90 | 74 |
1 files changed, 37 insertions, 37 deletions
diff --git a/lib/ft8var/syncdist.f90 b/lib/ft8var/syncdist.f90 index ff40754b..68bf814b 100755..100644 --- a/lib/ft8var/syncdist.f90 +++ b/lib/ft8var/syncdist.f90 @@ -1,37 +1,37 @@ -ip=maxloc(s81)
-if(icos7(k-1).eq.(ip(1)-1)) then
- nsmax(1)=nsmax(1)+1
-else
- s81(ip(1)-1)=0.; ip=maxloc(s81)
- if(icos7(k-1).eq.(ip(1)-1)) then
- nsmax(2)=nsmax(2)+1
- else
- s81(ip(1)-1)=0.; ip=maxloc(s81)
- if(icos7(k-1).eq.(ip(1)-1)) then
- nsmax(3)=nsmax(3)+1
- else
- s81(ip(1)-1)=0.; ip=maxloc(s81)
- if(icos7(k-1).eq.(ip(1)-1)) then
- nsmax(4)=nsmax(4)+1
- else
- s81(ip(1)-1)=0.; ip=maxloc(s81)
- if(icos7(k-1).eq.(ip(1)-1)) then
- nsmax(5)=nsmax(5)+1
- else
- s81(ip(1)-1)=0.; ip=maxloc(s81)
- if(icos7(k-1).eq.(ip(1)-1)) then
- nsmax(6)=nsmax(6)+1
- else
- s81(ip(1)-1)=0.; ip=maxloc(s81)
- if(icos7(k-1).eq.(ip(1)-1)) then
- nsmax(7)=nsmax(7)+1
- else
- s81(ip(1)-1)=0.; ip=maxloc(s81)
- if(icos7(k-1).eq.(ip(1)-1)) nsmax(8)=nsmax(8)+1
- endif
- endif
- endif
- endif
- endif
- endif
-endif
+ip=maxloc(s81) +if(icos7(k-1).eq.(ip(1)-1)) then + nsmax(1)=nsmax(1)+1 +else + s81(ip(1)-1)=0.; ip=maxloc(s81) + if(icos7(k-1).eq.(ip(1)-1)) then + nsmax(2)=nsmax(2)+1 + else + s81(ip(1)-1)=0.; ip=maxloc(s81) + if(icos7(k-1).eq.(ip(1)-1)) then + nsmax(3)=nsmax(3)+1 + else + s81(ip(1)-1)=0.; ip=maxloc(s81) + if(icos7(k-1).eq.(ip(1)-1)) then + nsmax(4)=nsmax(4)+1 + else + s81(ip(1)-1)=0.; ip=maxloc(s81) + if(icos7(k-1).eq.(ip(1)-1)) then + nsmax(5)=nsmax(5)+1 + else + s81(ip(1)-1)=0.; ip=maxloc(s81) + if(icos7(k-1).eq.(ip(1)-1)) then + nsmax(6)=nsmax(6)+1 + else + s81(ip(1)-1)=0.; ip=maxloc(s81) + if(icos7(k-1).eq.(ip(1)-1)) then + nsmax(7)=nsmax(7)+1 + else + s81(ip(1)-1)=0.; ip=maxloc(s81) + if(icos7(k-1).eq.(ip(1)-1)) nsmax(8)=nsmax(8)+1 + endif + endif + endif + endif + endif + endif +endif |
