Bug Fixes to ctml_writer.py. There were some undefined symbols, 'eV' and

'ElectronMass' that were causing all cti to ctml conversions processes
using python to fail.
This checkin defines these symbols. The test suite now passes.
This commit is contained in:
Harry Moffat 2007-12-03 22:04:37 +00:00
parent 310babdc20
commit 5060afcec3

View file

@ -176,7 +176,10 @@ class XMLnode:
# constants that can be used in .cti files
OneAtm = 1.01325e5
OneBar = 1.0e5
# Conversion from eV to J/kmol (electronCharge * Navrog)
eV = 96.4853E6
# Electron Mass in kg
ElectronMass = 9.10938188e-31
import types, math, copy