From c3d154fd72081179c486678aa1a2c098b6b558ce Mon Sep 17 00:00:00 2001 From: Ivan Mitrichev Date: Tue, 19 Jan 2016 17:24:18 +0300 Subject: [PATCH] [ctml] fix molecular geometry (nonlin -> nonlinear) Fix list of allowed values. Remove incorrect default value. Resolves #316. --- interfaces/cython/cantera/ctml_writer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interfaces/cython/cantera/ctml_writer.py b/interfaces/cython/cantera/ctml_writer.py index 171b5859a..28013374a 100644 --- a/interfaces/cython/cantera/ctml_writer.py +++ b/interfaces/cython/cantera/ctml_writer.py @@ -942,13 +942,13 @@ class gas_transport(transport): """ Species-specific Transport coefficients for gas-phase transport models. """ - def __init__(self, geom = 'nonlin', + def __init__(self, geom, diam = 0.0, well_depth = 0.0, dipole = 0.0, polar = 0.0, rot_relax = 0.0, acentric_factor = None): """ :param geom: A string specifying the molecular geometry. One of ``atom``, - ``linear``, or ``nonlin``. Required. + ``linear``, or ``nonlinear``. Required. :param diam: The Lennard-Jones collision diameter in Angstroms. Required. :param well_depth: