8 #include "cantera/equil/MultiPhaseEquil.h"
25 doublereal tol,
int maxsteps,
int maxiter,
41 if (ixy == TP || ixy == HP || ixy == SP || ixy == TV) {
43 double err = s.
equilibrate(ixy, tol, maxsteps, maxiter, loglevel);
60 addLogEntry(
"multiphase equilibrium can be done only for TP, HP, SP, or TV");
101 doublereal rtol,
int maxsteps,
int maxiter,
int loglevel)
126 int estimateEquil = 0;
133 rtol, maxsteps, maxiter, loglevel-1);
146 addLogEntry(
"Trying single phase ChemEquil solver.");
156 }
else if (solver == 1) {
162 equilibrate(m, XY, rtol, maxsteps, maxiter, loglevel-1);
175 addLogEntry(
"Trying single phase ChemEquil solver.");
194 bool useThermoPhaseElementPotentials =
true;
195 retnSub = e.
equilibrate(s, XY, useThermoPhaseElementPotentials,
208 "Both equilibrium solvers failed");