• Main Page
  • Classes
  • Files
  • File List

AlloyLiquid.h

00001 #ifndef ALLOYLIQUID_H
00002 #define ALLOYLIQUID_H
00003 
00004 #include "MeltsSolution.h"
00005 #include "BermanPhase.h"
00006 
00019 class AlloyLiquid: public MeltsSolution {
00020  public:
00022   AlloyLiquid();
00024   virtual ~AlloyLiquid();
00026   const int NCOMP;
00028   const int FELIQUID;
00030   const int NILIQUID;
00031  protected:
00033   virtual void init();
00034 };
00035 
00037 // Function prototypes for relevant MELTS routines
00039 
00042 extern int testAlL(int mask, double t, double p,int na,int nr,char **names,
00043                    char **formulas,double *r,double *m);
00044 
00047 extern void conAlL(int inpMask,int outMask,double t,double p,
00048                    double *e,double *m,double *r,double *x,double **dm,
00049                    double ***d2m,double **dr,double ****d3m);
00050 
00053 extern void actAlL(int mask,double t,double p,double *x,
00054                    double *a,double *mu,double **dr);
00055 
00058 extern void gmixAlL(int mask,double t,double p,double *x,
00059                     double *gmix,double *dr,double **dr2,
00060                     double ***dr3);
00061 
00064 extern void hmixAlL(int mask,double t,double p,double *x,
00065                     double *hmix);
00068 extern void smixAlL(int mask,double t,double p,double *x,
00069                     double *smix,double *dr,double **dr2);
00070 
00073 extern void cpmixAlL(int mask,double t,double p,double *x,
00074                      double *cpmix,double *dt,double *dr);
00075 
00078 extern void vmixAlL(int mask,double t,double p,double *x,
00079                     double *vmix,double *dr,double **dr2,
00080                     double *dt,double *dp,double *dt2,
00081                     double *dtdp,double *dp2,double *drdt,
00082                     double *drdp);
00083     
00084 #endif  
00085 

Generated on Fri Aug 6 2010 13:30:28 for phases by  doxygen 1.7.1