Public Member Functions | Public Attributes | Protected Member Functions | Static Protected Attributes | Private Member Functions | Private Attributes

Feldspar Class Reference

#include <Feldspar.h>

Inheritance diagram for Feldspar:
MeltsSolution Solution Phase

List of all members.

Public Member Functions

 Feldspar ()
 constructor
virtual ~Feldspar ()
 destructor
virtual double getGibbs ()
 returns Gibbs free energy
virtual double getMu (int i)
 returns component chemical potential
virtual double getEnthalpy ()
 returns enthalpy
virtual double getEntropy ()
 returns entropy
virtual double getCp ()
 returns heat capacity
virtual double getdCpdT ()
 derivative of Cp with respect to temperature.
virtual double getVolume ()
 returns volume in m^3
virtual double getdVdT ()
 returns dVdT
virtual double getdVdP ()
 returns dVdP
virtual double getd2VdT2 ()
 d2V/dT2 in M^3/Kelvin^2
virtual double getd2VdTdP ()
 d2V/dTdP in M^3/KelvinPascal
virtual double getd2VdP2 ()
 d2V/dP2 in M^3/Pascal^2

Public Attributes

const int NCOMP
 number of components
const int ALBITE
 index of albite component
const int ANORTHITE
 index of anorthite component
const int SANIDINE
 index of sanadine component

Protected Member Functions

virtual void init ()
 initialization function

Static Protected Attributes

static BermanData ssdata []
 array of data for standard states

Private Member Functions

void updateDisorder (double tk, double pb)
 check to see if endmember ordering needs to be updated

Private Attributes

double lastTk
 last temperature used in albite and sanidine ordering routines
double lastPb
 last pressure used in albite and sanidine ordering routines
double gDisAb
 Gibbs free energy of disorder - albite (Salje, via Berman, 1988).
double hDisAb
 Enthalpy of disorder - albite (Salje, via Berman, 1988).
double sDisAb
 Entropy of disorder - albite (Salje, via Berman, 1988).
double cpDisAb
 Heat Capacity of disorder - albite (Salje, via Berman, 1988).
double dcpdtDisAb
 dCpdT of disorder - albite (Salje, via Berman, 1988)
double vDisAb
 Volume of disorder - albite (Salje, via Berman, 1988).
double dvdtDisAb
 dVdT of disorder - albite (Salje, via Berman, 1988)
double dvdpDisAb
 dVdP of disorder - albite (Salje, via Berman, 1988)
double d2vdt2DisAb
 d2VdT2 of disorder - albite (Salje, via Berman, 1988)
double d2vdtdpDisAb
 D2VdTdP of disorder - albite (Salje, via Berman, 1988).
double d2vdp2DisAb
 d2VdP2 of disorder - albite (Salje, via Berman, 1988)
double gDisSn
 Gibbs free energy of disorder - sanidine (Berman, 1988).
double hDisSn
 Enthalpy of disorder - sanidine (Berman, 1988).
double sDisSn
 Entropy of disorder - sanidine (Berman, 1988).
double cpDisSn
 Heat Capacity of disorder - sanidine (Berman, 1988).
double dcpdtDisSn
 dCpdT of disorder - sanidine (Berman, 1988)
double vDisSn
 Volume of disorder - sanidine (Berman, 1988).
double dvdtDisSn
 dVdT of disorder - sanidine (Berman, 1988)
double dvdpDisSn
 dVdP of disorder - sanidine (Berman, 1988)
double d2vdt2DisSn
 d2VdT2 of disorder - sanidine (Berman, 1988)
double d2vdtdpDisSn
 D2VdTdP of disorder - sanidine (Berman, 1988).
double d2vdp2DisSn
 d2VdP2 of disorder - sanidine (Berman, 1988)

Detailed Description

Feldspar class file. Wrapper for Ghiorso's implementation Feldspar solution parameters from Elkins, Linda T., Grove, Timothy L. Ternary feldspar experiments and thermodynamic models American Mineralogist 75, 544-559

Id:
Feldspar.h,v 1.5 2006/01/09 18:36:00 ghiorso Exp
Author:
Mark Ghiorso
Mark Hirshchmann
Richard Sack
Victor Kress
Version:
Revision:
1.5

Definition at line 21 of file Feldspar.h.


The documentation for this class was generated from the following file: