Changeset 14055
- Timestamp:
- 11/29/12 16:18:13 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified issm/trunk-jpl/src/c/modules/Krigingx/Krigingx.cpp ¶
r14053 r14055 22 22 /*Intermediaries*/ 23 23 int mindata,maxdata; 24 double dmindata,dmaxdata ; //FIXME (Options come as double but we want to retrive integers)24 double dmindata,dmaxdata,dnumthreads; //FIXME (Options come as double but we want to retrive integers) 25 25 double radius; 26 26 char *output = NULL; … … 40 40 options->Get(&dmindata,"mindata",1.); mindata=int(dmindata);//FIXME (Options come as double but we want to retrive integers) 41 41 options->Get(&dmaxdata,"maxdata",50.); maxdata=int(dmaxdata);//FIXME (Options come as double but we want to retrive integers) 42 options->Get(&dnumthreads,"numthreads",double(num)); num=int(dnumthreads);//FIXME (Options come as double but we want to retrive integers) 42 43 43 44 /*Process observation dataset*/ … … 119 120 } 120 121 else if(strcmp(output,"v4")==0){ //Inverse distance weighting 122 #if !defined(_HAVE_GSL_) 123 _error_("GSL is required for v4 interpolation"); 124 #endif 121 125 /*initialize thread parameters: */ 122 126 gate.n_interp = n_interp; … … 138 142 } 139 143 else if(strcmp(output,"prediction")==0){ 144 #if !defined(_HAVE_GSL_) 145 _error_("GSL is required for v4 interpolation"); 146 #endif 140 147 141 148 /*initialize thread parameters: */
Note:
See TracChangeset
for help on using the changeset viewer.