Changeset ba32cdd in sasmodels for sasmodels/kernel_iq.c
- Timestamp:
- Mar 24, 2016 6:36:40 PM (8 years ago)
- Branches:
- master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- 5ff1b03
- Parents:
- 151f3bc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/kernel_iq.c
r380e8c9 rba32cdd 74 74 75 75 #if MAX_PD > 0 76 77 printf("Entering polydispersity\n"); 76 //printf("Entering polydispersity\n"); 77 78 78 // Since we are no longer looping over the entire polydispersity hypercube 79 79 // for each q, we need to track the normalization values for each q in a … … 136 136 if (problem->pd_isvol[k]) partial_volweight *= wi; 137 137 } 138 printf("slow %d: ", loop_index);138 //printf("slow %d: ", loop_index); 139 139 for (int k=0; k < NPARS; k++) { 140 140 int coord = problem->par_coord[k]; … … 150 150 offset[k] = this_offset; 151 151 pvec[k] = values[this_offset]; 152 printf("p[%d]=v[%d]=%g ", k, offset[k], pvec[k]);153 } 154 printf("\n");152 //printf("p[%d]=v[%d]=%g ", k, offset[k], pvec[k]); 153 } 154 //printf("\n"); 155 155 weight = partial_weight * weights[problem->pd_offset[0]+pd_index[0]]; 156 156 if (problem->theta_par >= 0) { … … 168 168 weight = partial_weight*wi; 169 169 if (problem->pd_isvol[0]) vol_weight *= wi; 170 printf("fast %d: ", loop_index);170 //printf("fast %d: ", loop_index); 171 171 for (int k=0; k < problem->fast_coord_count; k++) { 172 172 const int pindex = problem->fast_coord_pars[k]; 173 173 pvec[pindex] = values[++offset[pindex]]; 174 printf("p[%d]=v[%d]=%g ", pindex, offset[pindex], pvec[pindex]);175 } 176 printf("\n");174 //printf("p[%d]=v[%d]=%g ", pindex, offset[pindex], pvec[pindex]); 175 } 176 //printf("\n"); 177 177 if (problem->theta_par == problem->pd_par[0]) { 178 178 weight *= fabs(cos(M_PI_180*pvec[problem->theta_par]));
Note: See TracChangeset
for help on using the changeset viewer.