#include <RegularSolution.h>
Public Member Functions | |
| RegularSolution () | |
| Generic constructor. Assumes STP. | |
| virtual | ~RegularSolution () |
| destructor | |
| virtual double | getMu (int i) |
| Returns chemical potential in J/mole. | |
| virtual double | getdMudX (int i, int j) |
| Returns dMu[i]/dX[j]). | |
| virtual void | getd2Gdm2 (double **d2gdm2) |
| virtual void | getd3Gdm3 (double ***d3gdm3) |
| virtual double | getHmix () |
| Enthalpy of mixing. | |
| virtual double | getSmix () |
| virtual double | getVmix () |
| Volume of mixing. | |
Protected Member Functions | |
| virtual void | init () |
| space allocation and variable initialization | |
| virtual double | dmuxs (int m, int p) |
| dRTln(gamma[m])/dX[p] | |
| void | updateWg () |
| updates Wg array to current conditions. Only needed if Ws or Wv not NULL | |
Protected Attributes | |
| double ** | Wg |
| Gibbs Margules parameters. Set to Wh by default. | |
| double ** | Wh |
| enthalpy Margules parameters | |
| double ** | Ws |
| double ** | Wv |
asymmetric regular solution class. Generic class for Phases which are regular asymmetric solutions. Converted to extensive properties 4/14/03 Wh, Ws and Wv supported.
Definition at line 15 of file RegularSolution.h.
| virtual void RegularSolution::getd2Gdm2 | ( | double ** | d2gdm2 | ) | [virtual] |
second derivative of Gibbs free energy with respect to moles (Joules/mole). param d2gdm2 ncomp by ncomp array to hold results.
Reimplemented from Solution.
| virtual void RegularSolution::getd3Gdm3 | ( | double *** | d3gdm3 | ) | [virtual] |
third derivative of Gibbs free energy with respect to moles (Joules/mole). param d3gdm3 ncomp by ncomp by ncomp array to hold results.
Reimplemented from Solution.
| virtual double RegularSolution::getSmix | ( | ) | [virtual] |
Entropy and derivatives Entropy of mixing
Reimplemented from Solution.
double** RegularSolution::Ws [protected] |
entropy Margules parameters. NULL by default. If allocated in subclass, Wg MUST also be allocated.
Definition at line 61 of file RegularSolution.h.
double** RegularSolution::Wv [protected] |
volume Margules parameters. NULL by default. If allocated in subclass, Wg MUST also be allocated.
Definition at line 64 of file RegularSolution.h.
1.7.1