/[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 2146 by jpye, Tue Dec 15 08:34:56 2009 UTC revision 2147 by kchittur, Fri Jan 22 04:15:50 2010 UTC
# Line 49  better later on, hopefully. */ Line 49  better later on, hopefully. */
49  #include "hydrogen.h"  #include "hydrogen.h"
50  #include "water.h"  #include "water.h"
51  #include "carbondioxide.h"  #include "carbondioxide.h"
52    #include "methane.h"
53    
54  #ifndef ASC_EXPORT  #ifndef ASC_EXPORT
55  # error "Where is ASC_EXPORT?"  # error "Where is ASC_EXPORT?"
# Line 182  int helmholtz_prepare(struct BBoxInterp Line 183  int helmholtz_prepare(struct BBoxInterp
183          bbox->user_data = (void*)&helmholtz_data_water;          bbox->user_data = (void*)&helmholtz_data_water;
184      }else if(strcmp(comp,"carbondioxide")==0){      }else if(strcmp(comp,"carbondioxide")==0){
185          bbox->user_data = (void*)&helmholtz_data_carbondioxide;          bbox->user_data = (void*)&helmholtz_data_carbondioxide;
186        }else if(strcmp(comp,"methane")==0){
187            bbox->user_data = (void*)&helmholtz_data_methane;  
188      }else{      }else{
189          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.");
190      }      }

Legend:
Removed from v.2146  
changed lines
  Added in v.2147

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