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

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

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

revision 2109 by jpye, Wed Apr 29 03:38:10 2009 UTC revision 2110 by jpye, Mon Dec 7 04:13:05 2009 UTC
# Line 48  better later on, hopefully. */ Line 48  better later on, hopefully. */
48  #include "nitrogen.h"  #include "nitrogen.h"
49  #include "hydrogen.h"  #include "hydrogen.h"
50  #include "water.h"  #include "water.h"
51    #include "carbondioxide.h"
52    
53  #ifndef ASC_EXPORT  #ifndef ASC_EXPORT
54  # error "Where is ASC_EXPORT?"  # error "Where is ASC_EXPORT?"
# Line 172  int helmholtz_prepare(struct BBoxInterp Line 173  int helmholtz_prepare(struct BBoxInterp
173          bbox->user_data = (void*)&helmholtz_data_hydrogen;          bbox->user_data = (void*)&helmholtz_data_hydrogen;
174      }else if(strcmp(comp,"water")==0){      }else if(strcmp(comp,"water")==0){
175          bbox->user_data = (void*)&helmholtz_data_water;          bbox->user_data = (void*)&helmholtz_data_water;
176        }else if(strcmp(comp,"carbondioxide")==0){
177            bbox->user_data = (void*)&helmholtz_data_carbondioxide;
178      }else{      }else{
179          ERROR_REPORTER_HERE(ASC_USER_ERROR,"Component name was not recognised. Check the source-code for for the supported species.");          ERROR_REPORTER_HERE(ASC_USER_ERROR,"Component name was not recognised. Check the source-code for for the supported species.");
180      }      }

Legend:
Removed from v.2109  
changed lines
  Added in v.2110

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