mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-04-01 08:58:32 -04:00
Ann new file getpp3.f90.
This commit is contained in:
parent
17d9c6bf81
commit
93fd8246fb
22
lib/superfox/getpp3.f90
Normal file
22
lib/superfox/getpp3.f90
Normal file
@ -0,0 +1,22 @@
|
||||
subroutine getpp3(s3,workdat,p)
|
||||
|
||||
use sfox_mod
|
||||
real s3(NQ,NN)
|
||||
integer workdat(NN)
|
||||
integer a(NN)
|
||||
|
||||
! a(1:NN)=workdat(NN:1:-1)
|
||||
a=workdat
|
||||
|
||||
psum=0.
|
||||
do j=1,NN
|
||||
i=a(j)+1
|
||||
x=s3(i,j)
|
||||
s3(i,j)=0.
|
||||
psum=psum + x
|
||||
s3(i,j)=x
|
||||
enddo
|
||||
p=psum/NN
|
||||
|
||||
return
|
||||
end subroutine getpp3
|
Loading…
Reference in New Issue
Block a user