MultiPhaseEquil.h Source File#
MultiPhaseEquil.h
Go to the documentation of this file.
Headers for the MultiPhase object that is used to set up multiphase equilibrium problems (see Chemica...
A class for full (non-sparse) matrices with Fortran-compatible data storage, which adds matrix operat...
Definition DenseMatrix.h:55
double computeReactionSteps(vector< double > &dxi)
Compute the change in extent of reaction for each reaction.
Definition MultiPhaseEquil.cpp:508
double stepComposition(int loglevel=0)
Take one step in composition, given the gradient of G at the starting point, and a vector of reaction...
Definition MultiPhaseEquil.cpp:425
void unsort(vector< double > &x)
Re-arrange a vector of species properties in sorted form (components first) into unsorted,...
Definition MultiPhaseEquil.cpp:392
int setInitialMoles(int loglevel=0)
Estimate the initial mole numbers.
Definition MultiPhaseEquil.cpp:192
void getComponents(const vector< size_t > &order)
This method finds a set of component species and a complete set of formation reactions for the non-co...
Definition MultiPhaseEquil.cpp:249
string speciesName(const size_t kGlob) const
Name of species with global index kGlob.
Definition MultiPhase.cpp:746
Generated by