Télécharger r1f3kf.eso

Retour à la liste

Numérotation des lignes :

r1f3kf
  1. C R1F3KF SOURCE BP208322 18/10/08 21:15:10 9952
  2. CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
  3. C
  4. C FFTPACK 5.1
  5. C
  6. C Authors: Paul N. Swarztrauber and Richard A. Valent
  7. C
  8. CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
  9.  
  10. SUBROUTINE R1F3KF (IDO,L1,CC,IN1,CH,IN2,WA1,WA2)
  11. IMPLICIT INTEGER(I-N)
  12. IMPLICIT REAL*8(A-H,O-Z)
  13. REAL*8 CH(IN2,IDO,3,L1) ,CC(IN1,IDO,L1,3) ,
  14. 1 WA1(IDO) ,WA2(IDO)
  15. C
  16. ARG=8.D0*ATAN(1.0D0)/3.D0
  17. TAUR=COS(ARG)
  18. TAUI=SIN(ARG)
  19. DO 101 K=1,L1
  20. CH(1,1,1,K) = CC(1,1,K,1)+(CC(1,1,K,2)+CC(1,1,K,3))
  21. CH(1,1,3,K) = TAUI*(CC(1,1,K,3)-CC(1,1,K,2))
  22. CH(1,IDO,2,K) = CC(1,1,K,1)+TAUR*
  23. 1 (CC(1,1,K,2)+CC(1,1,K,3))
  24. 101 CONTINUE
  25. IF (IDO .EQ. 1) RETURN
  26. IDP2 = IDO+2
  27. DO 103 K=1,L1
  28. DO 102 I=3,IDO,2
  29. IC = IDP2-I
  30. CH(1,I-1,1,K) = CC(1,I-1,K,1)+((WA1(I-2)*CC(1,I-1,K,2)+
  31. 1 WA1(I-1)*CC(1,I,K,2))+(WA2(I-2)*CC(1,I-1,K,3)+WA2(I-1)*
  32. 1 CC(1,I,K,3)))
  33. CH(1,I,1,K) = CC(1,I,K,1)+((WA1(I-2)*CC(1,I,K,2)-
  34. 1 WA1(I-1)*CC(1,I-1,K,2))+(WA2(I-2)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-1)*
  55. 1 CC(1,I-1,K,3))))
  56. 102 CONTINUE
  57. 103 CONTINUE
  58. RETURN
  59. END
  60.  
  61.  
  62.  

© Cast3M 2003 - Tous droits réservés.
Mentions légales