ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/src/applications/utilities/stat2visco
(Generate patch)

Comparing trunk/src/applications/utilities/stat2visco (file contents):
Revision 1214 by xsun, Wed Jan 23 21:22:18 2008 UTC vs.
Revision 1390 by gezelter, Wed Nov 25 20:02:06 2009 UTC

# Line 30 | Line 30 | __author__ = "Dan Gezelter (gezelter@nd.edu)"
30   """
31  
32   __author__ = "Dan Gezelter (gezelter@nd.edu)"
33 < __version__ = "$Revision: 1.1 $"
34 < __date__ = "$Date: 2008-01-23 21:22:18 $"
33 > __version__ = "$Revision: 1.2 $"
34 > __date__ = "$Date: 2009-11-25 20:01:59 $"
35  
36   __copyright__ = "Copyright (c) 2007 by the University of Notre Dame"
37 < __license__ = "OOPSE"
37 > __license__ = "OpenMD"
38  
39   import sys
40   import getopt
# Line 83 | Line 83 | def readStatFile(statFileName):
83          time.append(float(L[0]))
84          temperature.append(float(L[4]))
85          #
86 <        # OOPSE prints out pressure in units of atm.
86 >        # OpenMD prints out pressure in units of atm.
87          #
88          pressure.append(float(L[5]))
89          volume.append(float(L[6]))
# Line 91 | Line 91 | def readStatFile(statFileName):
91          if doShear:
92              if (len(L) > 16):
93                  #
94 <                # OOPSE prints out the pressure tensor in units of amu*fs^-2*Ang^-1
94 >                # OpenMD prints out the pressure tensor in units of amu*fs^-2*Ang^-1
95                  #
96                  Pxx.append(float(L[8]))
97                  Pyy.append(float(L[12]))
# Line 110 | Line 110 | def readStatFile(statFileName):
110                  print "pressure tensor in columns 9-17 of the .stat file"
111                  print
112                  print "You may need to set the statFileFormat string"
113 <                print "explicitly in your .md file when running OOPSE."
114 <                print "Consult the OOPSE documentation for more details."
113 >                print "explicitly in your .md file when running OpenMD."
114 >                print "Consult the OpenMD documentation for more details."
115                  sys.exit()
116                  
117          line = statFile.readline()

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines