/[ascend]/branches/sid/models/johnpye/fprops/fluids.c
ViewVC logotype

Diff of /branches/sid/models/johnpye/fprops/fluids.c

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

revision 2982 by sid, Mon Jun 1 05:55:00 2015 UTC revision 2983 by sid, Sun Jun 28 00:24:21 2015 UTC
# Line 8  Line 8 
8  #include <stdio.h>  #include <stdio.h>
9  #include <assert.h>  #include <assert.h>
10    
11  //#define FLUIDS_DEBUG  #define FLUIDS_DEBUG //sid change
12  #ifdef FLUIDS_DEBUG  #ifdef FLUIDS_DEBUG
13  # include "color.h"  # include "color.h"
14  # define MSG FPROPS_MSG  # define MSG FPROPS_MSG
# Line 48  static int nfluids = 0 + FLUIDS(F,X) + R Line 48  static int nfluids = 0 + FLUIDS(F,X) + R
48    
49  const PureFluid *fprops_fluid(const char *name, const char *corrtype, const char *source){  const PureFluid *fprops_fluid(const char *name, const char *corrtype, const char *source){
50      int i;      int i;
51    
52    
53      MSG("Looking for fluid '%s' of type '%s', with source text '%s'",name,corrtype,source);      MSG("Looking for fluid '%s' of type '%s', with source text '%s'",name,corrtype,source);
54      for(i = 0; i < nfluids; ++i){      for(i = 0; i < nfluids; ++i){
55          if(0==strcmp(name, fluids[i]->name)){          if(0==strcmp(name, fluids[i]->name)){

Legend:
Removed from v.2982  
changed lines
  Added in v.2983

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