As previously implemented, calling densSpinodalLiquid or densSpinodalGas would crash since the pointer fdpdv_ was uninitialized, and furthermore could not even be initialized with an instance of the spinodalFunc class because this class was abstract. Also fix densSpinodalLiquid and densSpinodalGas to actually calculate the roots of the equation of state which are used as bounds for the search interval. |
||
|---|---|---|
| .. | ||
| cantera | ||