Changeset a1daf86 in sasview for src/sas/sascalc/calculator/c_extensions/sld2i.c
- Timestamp:
- Nov 13, 2017 6:02:21 PM (6 years ago)
- Branches:
- master, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- a57ae07
- Parents:
- 95d7c4f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sascalc/calculator/c_extensions/sld2i.c
r7e82256 ra1daf86 81 81 sumj_du = cassign(0.0, 0.0); 82 82 sumj_dd = cassign(0.0, 0.0); 83 //printf ("%d", i);83 //printf("i: %d\n", i); 84 84 //q = sqrt(qx[i]*qx[i] + qy[i]*qy[i]); // + qz[i]*qz[i]); 85 85 86 86 for(j=0; j<this->n_pix; j++){ 87 //printf("j: %d\n", j); 87 88 if (this->sldn_val[j]!=0.0 88 89 ||this->mx_val[j]!=0.0 … … 141 142 I_out[i] *= (1.0E+8 / count); //in cm (unit) / number; //to be multiplied by vol_pix 142 143 } 143 //printf ("count = %d %g %g %g %g\n", count, sldn_val[0],mx_val[0], my_val[0],mz_val[0]);144 //printf("count = %d %g %g %g %g\n", count, this->sldn_val[0],this->mx_val[0], this->my_val[0], this->mz_val[0]); 144 145 } 145 146 /** … … 203 204 I_out[i] *= (1.0E+8 / count); //in cm (unit) / number; //to be multiplied by vol_pix 204 205 } 205 //printf 206 //printf("count = %d %g %g %g %g\n", count, sldn_val[0],mx_val[0], my_val[0], mz_val[0]); 206 207 }
Note: See TracChangeset
for help on using the changeset viewer.