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

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

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

revision 1904 by jpye, Tue Sep 23 06:46:28 2008 UTC revision 1905 by jpye, Sat Sep 27 04:54:12 2008 UTC
# Line 20  int helm_run_test_cases(const HelmholtzD Line 20  int helm_run_test_cases(const HelmholtzD
20  */  */
21  int helm_check_u(const HelmholtzData *d, unsigned ntd, const TestData *td);  int helm_check_u(const HelmholtzData *d, unsigned ntd, const TestData *td);
22    
23    /**
24        Check dp/dT values (rho constant) by comparison with finite
25        difference estimates (check that helmholtz_p is working first!)
26    */
27    int helm_check_p_T(const HelmholtzData *d, unsigned ntd, const TestData *td);
28    
29  /* a simple macro to actually do the testing */  /* a simple macro to actually do the testing */
30  #define ASSERT_TOL(FN,PARAM1,PARAM2,PARAM3,VAL,TOL) {\  #define ASSERT_TOL(FN,PARAM1,PARAM2,PARAM3,VAL,TOL) {\
31          double cval; cval = FN(PARAM1,PARAM2,PARAM3);\          double cval; cval = FN(PARAM1,PARAM2,PARAM3);\

Legend:
Removed from v.1904  
changed lines
  Added in v.1905

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