/[ascend]/trunk/models/johnpye/fprops/helmholtz.c
ViewVC logotype

Diff of /trunk/models/johnpye/fprops/helmholtz.c

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

revision 2214 by jpye, Wed Dec 9 08:40:36 2009 UTC revision 2215 by jpye, Mon Jul 12 23:11:29 2010 UTC
# Line 260  double helmholtz_g(double T, double rho, Line 260  double helmholtz_g(double T, double rho,
260      double phir = helm_resid(tau,delta,data);      double phir = helm_resid(tau,delta,data);
261      double phi0 = helm_ideal(tau,delta,data->ideal);      double phi0 = helm_ideal(tau,delta,data->ideal);
262            
263      return data->R * T * (phi0 + phir - 1. - delta * phir_d);      return data->R * T * (phi0 + phir + 1. - delta * phir_d);
264  }  }
265    
266  /**  /**

Legend:
Removed from v.2214  
changed lines
  Added in v.2215

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