/[ascend]/trunk/models/johnpye/fprops/ideal.h
ViewVC logotype

Diff of /trunk/models/johnpye/fprops/ideal.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1854 by jpye, Tue Sep 2 06:56:47 2008 UTC revision 1855 by jpye, Thu Sep 11 13:50:55 2008 UTC
# Line 45  typedef struct IdealPowTerm_struct{ Line 45  typedef struct IdealPowTerm_struct{
45      of the form      of the form
46    
47          A0_I * tau^P          A0_I * tau^P
48    
49        and this converts to terms of the form
50    
51            C_I * tau^P
52    
53        however, we need terms of the form
54    
55            c_i * T^P
56        
57        so we need to convert
58    
59            c_i = C_i * Tstar^P
60  */  */
61  #define IDEALPOWTERM_FROM_HELM0(A0_I, P) {-(A0_I)*(-(P))*(-(P)+1), -(P)}  #define IDEALPOWTERM_FROM_HELM0(A0_I, P) {(A0_I)*(P)*(1-(P)), -(P)}
62    
63    
64  /*  /*

Legend:
Removed from v.1854  
changed lines
  Added in v.1855

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22