/[escript]/trunk/escript/py_src/unitsSI.py
ViewVC logotype

Diff of /trunk/escript/py_src/unitsSI.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2904 by jfenwick, Thu Jan 28 02:03:15 2010 UTC revision 2905 by gross, Tue Feb 2 04:26:42 2010 UTC
# Line 60  some tools supporting physical units and Line 60  some tools supporting physical units and
60  :var sec: unit of second  :var sec: unit of second
61  :var minute : unit of minute  :var minute : unit of minute
62  :var h : unit of hour  :var h : unit of hour
63    :var hour : unit of hour
64  :var day : unit of day  :var day : unit of day
65  :var yr : unit of year  :var yr : unit of year
66  :var Myr : unit of mega year  :var Myr : unit of mega year
# Line 299  mm=Milli*m Line 300  mm=Milli*m
300  #  #
301  sec=Unit("sec","second",0.,1.)  sec=Unit("sec","second",0.,1.)
302  minute=Unit("min","minute",0.,60.)  minute=Unit("min","minute",0.,60.)
303  h=Unit("h","hour",0.,60.*60.)  hour=Unit("h","hour",0.,60.*60.)
304    h=hour
305  day=Unit("d","day",0.,60.*60.*24.)  day=Unit("d","day",0.,60.*60.*24.)
306  yr=Unit("yr","year",0.,60.*60.*24.*365.2425)  yr=Unit("yr","year",0.,60.*60.*24.*365.2425)
307    year=yr
308  Myr=Mega*yr  Myr=Mega*yr
309  Gyr=Giga*yr  Gyr=Giga*yr
310  #  #

Legend:
Removed from v.2904  
changed lines
  Added in v.2905

  ViewVC Help
Powered by ViewVC 1.1.26