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
Make helper functions for pieces of vcs_solve_TP main loop

git-svn-id: https://cantera.googlecode.com/svn/cantera/trunk@2964 02a645c2-efd0-11dd-984d-ab748d24aa7e
Make function signatures independent of DEBUG_MODE

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