From 5060afcec31dad754680d2232487b578b357c08b Mon Sep 17 00:00:00 2001 From: Harry Moffat Date: Mon, 3 Dec 2007 22:04:37 +0000 Subject: [PATCH] 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. --- Cantera/python/ctml_writer.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Cantera/python/ctml_writer.py b/Cantera/python/ctml_writer.py index aa525d76f..037f7db2d 100644 --- a/Cantera/python/ctml_writer.py +++ b/Cantera/python/ctml_writer.py @@ -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