File: stpsize.F

package info (click to toggle)
aces3 3.0.6-7
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 82,460 kB
  • sloc: fortran: 225,647; ansic: 20,413; cpp: 4,349; makefile: 953; sh: 137
file content (22 lines) | stat: -rw-r--r-- 470 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
      Subroutine Stpsize(Omega, Deltaq, Delx, Nvibs)
C 
      Implicit Double Precision (A-H, O-Z)
C
#include "machsp.com"
C
      Double Precision Na
C
      Dimension Deltaq(Nvibs), Omega(Nvibs)
     
      Parameter(h=6.62608D-34, c=2.99792458D+10, Na=6.02214D+23)
      
      PI = Acos(-1.0D+00)

      Do Imode = 1, Nvibs
         Deltaq(Imode) = Delx/(2.0D+00*PI*SQRT(c*Omega(Imode)/
     &                   h/Na*1.0D-23))
      Enddo 
C
      Return
      End