41 class VCS_SPECIES_THERMO;
81 void vcs_initSizes(
const size_t nspecies0,
const size_t nelements,
const size_t nphase0);
118 int vcs(
VCS_PROB* vprob,
int ifunc,
int ipr,
int ip1,
int maxit);
148 int vcs_solve_TP(
int print_lvl,
int printDetails,
int maxit);
151 int vcs_PS(
VCS_PROB* vprob,
int iph,
int printLvl,
double& feStable);
153 void vcs_reinsert_deleted(
size_t kspec);
225 int vcs_basopt(
const bool doJustComponents,
double aw[],
double sa[],
double sm[],
226 double ss[],
double test,
bool*
const usedZeroedSpecies);
239 size_t vcs_basisOptMax(
const double*
const molNum,
const size_t j,
const size_t n);
251 bool vcs_evaluate_speciesType();
350 void vcs_chemPotPhase(
const int stateCalc,
const size_t iph,
const double*
const molNum,
351 double*
const ac,
double*
const mu_i,
352 const bool do_deleted =
false);
496 void vcs_dfe(
const int stateCalc,
const int ll,
const size_t lbot,
const size_t ltop);
593 void check_tmoles()
const;
627 void vcs_deltag(
const int l,
const bool doDeleted,
const int vcsState,
628 const bool alterZeroedPhases =
true);
630 void vcs_printDeltaG(
const int stateCalc);
652 const int stateCalc,
const bool alterZeroedPhases =
true);
669 void vcs_switch_pos(
const bool ifunc,
const size_t k1,
const size_t k2);
697 int vcs_solve_phaseStability(
const int iphase,
int ifunc,
double& funcval,
int print_lvl);
735 int vcs_TP(
int ipr,
int ip1,
int maxit,
double T,
double pres);
737 int vcs_evalSS_TP(
int ipr,
int ip1,
double Temp,
double pres);
769 double vcs_VolTotal(
const double tkelvin,
const double pres,
770 const double w[],
double volPM[]);
879 double*
const sm,
double*
const ss);
941 void vcs_CalcLnActCoeffJac(
const double*
const moleSpeciesVCS);
956 double vcs_line_search(
const size_t irxn,
const double dx_orig,
959 double vcs_line_search(
const size_t irxn,
const double dx_orig);
1046 bool vcs_elabcheck(
int ibound);
1047 void vcs_elabPhase(
size_t iphase,
double*
const elemAbundPhase);
1048 int vcs_elcorr(
double aa[],
double x[]);
1074 int vcs_setMolesLinProg();
1077 double vcs_Total_Gibbs(
double* w,
double* fe,
double* tPhMoles);
1090 const double*
const fe);
1186 int delta_species(
const size_t kspec,
double*
const delta_ptr);
1344 const size_t k1,
const size_t k2)
const;
1352 double l2normdg(
double dg[])
const;
1357 void prneav()
const;
1359 void checkDelta1(
double*
const ds,
double*
const delTPhMoles,
int kspec);
1375 void vcs_inest(
double*
const aw,
double*
const sa,
double*
const sm,
1376 double*
const ss,
double test);
1409 const size_t irxn,
const double*
const molNum,
1410 double*
const ac,
double*
const mu_i);
1436 void vcs_setFlagsVolPhases(
const bool upToDate,
const int stateCalc);
1438 void vcs_setFlagsVolPhase(
const size_t iph,
const bool upToDate,
const int stateCalc);
1989 std::vector<std::vector<size_t> > phasePopProblemLists_;
2071 friend class vcs_phaseStabilitySolve;
2077 int linprogmax(
double*,
double*,
double*,
double*,
size_t,
size_t,
size_t);