#include <SulfLiq.h>
Public Member Functions | |
| SulfLiq () | |
| constructor | |
| virtual | ~SulfLiq () |
| destructor | |
| virtual void | setTk (double ltk) |
| set temperature in Kelvins | |
| virtual void | setPa (double lpq) |
| set pressure in Pascals | |
| virtual int | setFugacity (double logfo2, double logfs2, int verbose) |
| virtual int | setFugacity (double logfo2, double logfs2) |
| defaults to quiet | |
| virtual int | setlogfo2 (double logfo2) |
| sets log10 oxygen fugacity by adjusting oxygen content | |
| virtual int | setlogfs2 (double logfs2) |
| sets log10 sulfur fugacity by adjusting sulfur content | |
| double | getVolume () |
| returns phase volume in M^3 | |
| double | getdVdT () |
| returns dVdT in M^3/K | |
| double | getlogfo2 () |
| returns log10(fO2) | |
| double | getlogfs2 () |
| returns log10(fS2) | |
Public Attributes | |
| const int | NCOMP |
| number of components | |
| const int | NSPEC |
| number of species | |
| const int | ODEX |
| O index. | |
| const int | SDEX |
| S index. | |
| const int | FDEX |
| Fe index. | |
| const int | NDEX |
| Ni index. | |
| const int | CDEX |
| Cu index. | |
| const int | WUDEX |
| FeO index. | |
| const int | HMDEX |
| FeO1.5 index. | |
| const int | BUDEX |
| NiO index. | |
| const int | TTDEX |
| FeS index. | |
| const int | MIDEX |
| NiS index. | |
| const int | DJDEX |
| Cu2S index. | |
| const int | OPDEX |
| FeOS index. | |
| const int | NSDEX |
| Ni(.25)S(.25)O index. | |
| const int | CVDEX |
| CuS index. | |
| const int | TEDEX |
| CuO index. | |
| const double | STR |
| reference temperature (must be same as SLSSPhase) | |
Protected Member Functions | |
| virtual void | init () |
| allocates space and initializes variables | |
Protected Attributes | |
| Phase * | po2 |
| pointer to O2 gas phase | |
| Phase * | ps2 |
| pointer to S2 gas phase | |
Static Protected Attributes | |
| static double | allstoich [15][5] |
| matrix of species stoichiometries | |
Sulfide liquid class. Using model and data from Kress (1997), Kress (2000) and Kress (2001)
Definition at line 98 of file SulfLiq.h.
| virtual int SulfLiq::setFugacity | ( | double | logfo2, | |
| double | logfs2, | |||
| int | verbose | |||
| ) | [virtual] |
Adjusts O and S corresponding to input log10(fo2) and log10(fS2).
| logfo2 | = log10(fo2) | |
| logfs2 | = log10(fs2) | |
| verbose | = if true, print progress |
1.7.1