Member Cantera::getSpeciesThermoTypes (std::vector< XML_Node * > &spDataNodeList, int &has_nasa, int &has_shomate, int &has_simple, int &has_other)
Make sure that spDadta_node is species Data XML node by checking its name is speciesData
Member Cantera::getVPSSMgrTypes (std::vector< XML_Node * > &spDataNodeList, int &has_nasa_idealGas, int &has_nasa_constVol, int &has_shomate_idealGas, int &has_shomate_constVol, int &has_simple_idealGas, int &has_simple_constVol, int &has_water, int &has_tpx, int &has_hptx, int &has_other)
Make sure that spDadta_node is species Data XML node by checking its name is speciesData
Member ckr::checkBalance (std::ostream &f, speciesTable &speciesData, reactionList &r, std::vector< int > &unbalanced, double tolerance)
I don't think this is used. Figure out what is used for writing floats, and codify that. minval and maxval should be codified. typeString should be codified as to its usage.
I don't think this is used. Figure out what is used for writing integers, and codify that. unitsString shouldn't be here, since it's an int. typeString should be codified as to its usage.
Member ctml::addInteger (Cantera::XML_Node &node, const std::string &titleString, const int value, const std::string unitsString="", const std::string typeString="")
I don't think this is used. Figure out what is used for writing integers, and codify that. unitsString shouldn't be here, since it's an int. typeString should be codified as to its usage.
Member ctml::addIntegerArray (Cantera::XML_Node &node, const std::string &titleString, const size_t n, const int *const values, const std::string unitsString="", const std::string typeString="", const doublereal minval=Cantera::Undef, const doublereal maxval=Cantera::Undef)
unitsString shouldn't be here, since it's an int. typeString should be codified as to its usage.
This is probably not implemented correctly. The stability of the salt should be added into this calculation. The underlying water model may be called to get the stability of the pure water solution, if needed.
Now have a compressible ss equation for liquid water. Therefore, this phase is compressible. May still want to change the independent variable however.
This is probably not implemented correctly. The stability of the salt should be added into this calculation. The underlying water model may be called to get the stability of the pure water solution, if needed.
Now have a compressible ss equation for liquid water. Therefore, this phase is compressible. May still want to change the independent variable however.
Make two solvent minimum fractions. One would be for calculation of the non-ideal factors. The other one would be for purposes of stoichiometry evaluation. the stoichiometry evaluation one would be a 1E-13 limit. Anything less would create problems with roundoff error.
Make the concept of saving state vectors more general, so that it can handle other cases where there are additional internal state variables, such as the voltage, a potential energy, or a strain field.
Fix potential energy Note, the potential energy terms seem to be orphaned at the moment. They are not connected to the Gibbs free energy calculation in this object
Add a scale factor based on the total mole numbers. The algorithm contains hard coded numbers based on the total mole number. If we ever were faced with a problem with significantly different total kmol numbers than one the algorithm would have problems.
Put some teeth into this level by overloading the setDensity() function. It should now throw an exception. Instead, setPressure routines should calculate the solution density and then call State:setDensity() directly.