Fixed a bad bug in deepStdVectorPointerCopy


git-svn-id: https://cantera.googlecode.com/svn/cantera/trunk@2944 02a645c2-efd0-11dd-984d-ab748d24aa7e
Fixed a long standing problem with the combination of storred XML files and duplicator functions.
Now the complete XML file is storred within the ThermPhase object starting with the root node.
This is needed for later processing of kinetics and transport mechanisms when the ThermoPhase
file is duplicated and the original file is deleted.

xml() is now a const function, and still returns the same pointer.
setXMLdata() is a new function will stores the xml data.




git-svn-id: https://cantera.googlecode.com/svn/cantera/trunk@2945 02a645c2-efd0-11dd-984d-ab748d24aa7e
[Thermo] Remove unimplemented overrides of getParameters/setParameters

git-svn-id: https://cantera.googlecode.com/svn/cantera/trunk@2946 02a645c2-efd0-11dd-984d-ab748d24aa7e
Make PDSS::temperature() virtual

This reflects how it's used, being overridden in several derived classes.

git-svn-id: https://cantera.googlecode.com/svn/cantera/trunk@2947 02a645c2-efd0-11dd-984d-ab748d24aa7e
Restructure ChemEquil::equilibrate to eliminate 'goto' statements

git-svn-id: https://cantera.googlecode.com/svn/cantera/trunk@2948 02a645c2-efd0-11dd-984d-ab748d24aa7e
[Equil] Eliminate 'mlequ' and 'gaussj' in favor of using LAPACK

git-svn-id: https://cantera.googlecode.com/svn/cantera/trunk@2949 02a645c2-efd0-11dd-984d-ab748d24aa7e
Eliminate 'goto' from ChemEquil::estimateEP_Brinkley

git-svn-id: https://cantera.googlecode.com/svn/cantera/trunk@2950 02a645c2-efd0-11dd-984d-ab748d24aa7e
Eliminate 'goto' from 'isDuplicateReaction'

git-svn-id: https://cantera.googlecode.com/svn/cantera/trunk@2951 02a645c2-efd0-11dd-984d-ab748d24aa7e
[Python] Fix to conversion of samples from Python 3 to Python 2

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.

git-svn-id: https://cantera.googlecode.com/svn/cantera/trunk@2952 02a645c2-efd0-11dd-984d-ab748d24aa7e
[VCS] Use local variable declarations where possible

git-svn-id: https://cantera.googlecode.com/svn/cantera/trunk@2953 02a645c2-efd0-11dd-984d-ab748d24aa7e
Remove commented-out code

git-svn-id: https://cantera.googlecode.com/svn/cantera/trunk@2954 02a645c2-efd0-11dd-984d-ab748d24aa7e
Standardize function used for writing a line of repeated characters

git-svn-id: https://cantera.googlecode.com/svn/cantera/trunk@2955 02a645c2-efd0-11dd-984d-ab748d24aa7e
Removed debugging code that didn't actually do anything

git-svn-id: https://cantera.googlecode.com/svn/cantera/trunk@2956 02a645c2-efd0-11dd-984d-ab748d24aa7e
Change debug code to avoid ifdefs where possible

Use "if (DEBUG_MODE_ENABLED)" instead of "#ifdef DEBUG_MODE". This makes
it easier to see the flow control logic, and the compiler will optimize
out the always-false conditionals when DEBUG_MODE_ENABLED is 0, so there
isn't any speed penalty.

git-svn-id: https://cantera.googlecode.com/svn/cantera/trunk@2957 02a645c2-efd0-11dd-984d-ab748d24aa7e
Fix some compiler warnings

git-svn-id: https://cantera.googlecode.com/svn/cantera/trunk@2958 02a645c2-efd0-11dd-984d-ab748d24aa7e
Remove goto and manual memory management from MultiPhase::equilibrate

git-svn-id: https://cantera.googlecode.com/svn/cantera/trunk@2959 02a645c2-efd0-11dd-984d-ab748d24aa7e
Set printLvl = loglevel for VCS solver since it doesn't use loglevel

git-svn-id: https://cantera.googlecode.com/svn/cantera/trunk@2960 02a645c2-efd0-11dd-984d-ab748d24aa7e
[Test] Add more tests of the VCS equilibrium solver

These tests are based on the 'plasma_equilibrium.py' example, and include
a fairly large number of phases, some of which are only present for certain
temperature ranges.

git-svn-id: https://cantera.googlecode.com/svn/cantera/trunk@2961 02a645c2-efd0-11dd-984d-ab748d24aa7e
Refactor vcs_solve_TP to eliminate goto

This contains just the changes to the flow control to give the same
behavior as the original implementation. Additional refactoring
still to come.

git-svn-id: https://cantera.googlecode.com/svn/cantera/trunk@2962 02a645c2-efd0-11dd-984d-ab748d24aa7e
Some cleanup of vcs_solve_TP

Use local variables where possible. Remove unreachable code.
Move repeated code out of if/else blocks. Flatten nested if statements.

git-svn-id: https://cantera.googlecode.com/svn/cantera/trunk@2963 02a645c2-efd0-11dd-984d-ab748d24aa7e