Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | Friends

BermanPhase Class Reference

#include <BermanPhase.h>

Inheritance diagram for BermanPhase:
Phase Aenigmatite Apatite Corundum Fayalite Forsterite Magnetite Muscovite Perovskite Rutile Sphene Whitlockite

List of all members.

Public Member Functions

 BermanPhase ()
 blank constructor
 BermanPhase (BermanData *dat)
 constructor requiring only BermanData structure. STP assumed.
virtual void setPa (double lpa)
 set pressure in Pascals
virtual double getGibbs ()
 Gibbs free energy at T and P.
virtual double getEnthalpy ()
 Enthalpy at T and P.
virtual double getEntropy ()
 returns entropy at T and P
virtual double getCp ()
 returns heat capacity at T and P
virtual double getdCpdT ()
 derivative of Cp with respect to temperature
virtual double getVolume ()
 returns volume at T and P
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

Protected Member Functions

virtual void init (BermanData *bd)
 initialization function

Protected Attributes

BermanDatadat
 main data structure

Private Member Functions

double G (double tk, double pb)
 Gibbs function.
double H (double tk, double pb)
 enthalpy function
double S (double tk, double pb)
 entropy function
double Cp (double tk, double pb)
 Cp function.
double dCpdT (double tk, double pb)
 dCpdT function
double V (double tk, double pb)
 volume function
double dVdT (double tk, double pb)
 dVdT function
double dVdP (double tk, double pb)
 dVdP function
double d2VdT2 (double tk, double pb)
 d2VdT2 function
double d2VdTdP (double tk, double pb)
 d2VdT2 function
double d2VdP2 (double tk, double pb)
 d2VdT2 function

Private Attributes

const double pbr
 1 bar reference pressure
double pb
 pressure in bars

Friends

class BermanLambdaPhase
 BermanLambdaPhase has access to private functions and variables.

Detailed Description

generic class for Phases using Berman formulation

Author:
Victor Kress
Version:
1.0
See also:
BermanData

Definition at line 41 of file BermanPhase.h.


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