Tcl/Tk changed some operations which previously resulted in undefined behavior
into errors, including one case that occurred when updating the "Mixtures" menu
in MixMaster.
MixMaster now modifies the existing Menu when adding an item, rather than
completely regenerating it, which avoids this problem.
Cherry-pick of trunk r3162.
3to2 cannot be called as an executable on Windows, but it can be called
as a script. Assume that the 3to2 script is installed in
PYTHONROOT\Scripts, which is the default for installation by pip.
Cherry-pick of trunk r3113.
Some calls to the print function weren't being converted to print statements
correctly by 3to2, so now we use the alternative fix, which is to use the
backported print function.
Fixes Issue 216.
Cherry-pick of trunk r2952.
Allow coefficient data to begin on the same line as the declaration of the
order of the polynomial in each dimension.
Fixes Issue 219.
Cherry-pick of trunk r2937.
When using Python 3, using -1 as the dummy value for density and site_density
causes probems, because the (ordered) comparison between a density specified
with units (as a tuple) and 0 is not allowed. Instead, use None as the
placeholder value.
Cherry-pick of trunk commit r2800.
Use separate SCons Environments so the 'py_include_dirs' variable (which
contains the Numpy include directory) can be distinct for each Python module.
Cherry-pick of trunk r2710.
This addesses a parsing error that would occur if a mechanism contained both
'foo' and 'foo+', where reactions written as 'foo+bar' would be parsed as a
reaction with 'foo+' and 'bar'.
See Issue 182.
Cherry pick of trunk commit r2701.
Fixes the case where the next section header contains a modifier, e.g. 'thermo
all' or 'reactions <units>'.
Based on a patch provided by Bryan Weber.
See Issue 199.
Cherry-pick of trunk r2662.
Warn when a species is given multiple times in the input list. Do not add the
duplicate species to speciesList.
Based on patch provided by Bryan Weber.
Resolves Issue 199.
Cherry-pick of trunk r2660.
Adding the attribute allow_discontinuities="true" to a phase's
'thermo' node (CTML) or adding 'allow_discontinuous_thermo' to a
phase's 'options' argument (CTI) will disable the automatic adjustment
of the provided polynomials so that enthalpy and entropy are
continuous at the midpoint temperature.
Cherry-pick of trunk r2590.
This fixes the problem of some output (notably from the 1D solver)
going to std::cout when that is not the primary output location,
e.g. when using IDLE or the IPython QtConsole.
There are three problems with this function. It does not work, since
it calls ctmethods with the wrong number of arguments. Even if that
were fixed, it wouldn't do what it claims, as the method it calls
generates a CTI file, not an XML file. Finally, it is redundant, as
the 'ck2cti' function can be used for generating the CTI file, and the
CTI to XML conversion is handled automatically when importing the
phase.
Therefore, this function is being removed.