Public Member Functions | Protected Member Functions | Protected Attributes

RegularSolution Class Reference

#include <RegularSolution.h>

Inheritance diagram for RegularSolution:
Solution Phase FeNiLiq FeNiMetChuang

List of all members.

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

Detailed Description

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.

Author:
Victor Kress
Version:
1.0

Definition at line 15 of file RegularSolution.h.


Member Function Documentation

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.


Member Data Documentation

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.


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