Changeset 12727
- Timestamp:
- 07/24/12 16:35:21 (13 years ago)
- Location:
- issm/trunk-jpl/src/c/modules/Krigingx
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/modules/Krigingx/Krigingx.cpp
r12600 r12727 96 96 } 97 97 else if(strcmp(output,"idw")==0){ //Inverse distance weighting 98 double power; 99 options->Get(&power,"power",2.); 98 100 /*initialize thread parameters: */ 99 101 gate.n_interp = n_interp; … … 108 110 gate.error = error; 109 111 gate.percent = xNewZeroInit<double>(num); 112 gate.power = power; 110 113 111 114 /*launch the thread manager with Krigingxt as a core: */ … … 270 273 double *error = gate->error; 271 274 double *percent = gate->percent; 275 double power = gate->power; 272 276 273 277 /*Intermediaries*/ 274 278 double localpercent; 275 double power = 2.;276 279 277 280 /*partition loop across threads: */ -
issm/trunk-jpl/src/c/modules/Krigingx/Krigingx.h
r12421 r12727 29 29 double *error; 30 30 double *percent; 31 double power;//for idw 31 32 }KrigingxThreadStruct; 32 33
Note:
See TracChangeset
for help on using the changeset viewer.