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

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

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 114  const HelmholtzData helmholtz_data_nitro Line 114  const HelmholtzData helmholtz_data_nitro
114              );\              );\
115              exit(1);\              exit(1);\
116          }else{\          }else{\
117              fprintf(stderr,"    OK, %s(%f,%f,%s) = %8.2e with %.2f%% err.\n"\              fprintf(stderr,"    OK, %s(%f,%f,%s) = %8.2e with %.6f%% err.\n"\
118                  ,#FN,PARAM1,PARAM2,#PARAM3,VAL,relerrpc\                  ,#FN,PARAM1,PARAM2,#PARAM3,VAL,relerrpc\
119              );\              );\
120          }\          }\
# Line 157  int main(void){ Line 157  int main(void){
157      fprintf(stderr,"CP0 TESTS\n");      fprintf(stderr,"CP0 TESTS\n");
158      for(i=0; i<n;++i){      for(i=0; i<n;++i){
159          cp0 = td[i].cp0*1e3;          cp0 = td[i].cp0*1e3;
160          ASSERT_TOL(CP0_TEMP, td[i].T+273.15, td[i].rho, d, cp0, cp0*1e-4);          ASSERT_TOL(CP0_TEMP, td[i].T+273.15, td[i].rho, d, cp0, cp0*1e-6);
161      }      }
162    
163  #undef CP0_TEMP  #undef CP0_TEMP

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

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