More comments added

This commit is contained in:
Harry Moffat 2003-08-20 15:03:27 +00:00
parent 9d74e4f0de
commit 5e5b2a245e

View file

@ -580,7 +580,15 @@ namespace Cantera {
/**
* Create a new ThermoPhase object.
* Create a new ThermoPhase object and initializes it according
* to the XML tree database.
* This routine first looks up the identity of the model for the
* solution thermodynamics in the model attribute of the thermo
* child of the xml phase node. Then, it does a string lookup on
* the model to figure out what ThermoPhase derived class is
* assigned. It mallocs a new instance of that class, and then
* calls importPhase() to populate that class with the correct
* parameters from the XML tree.
*/
ThermoPhase* newPhase(XML_Node& xmlphase) {
XML_Node& th = xmlphase.child("thermo");