Changeset fec69dd in sasmodels
- Timestamp:
- Mar 21, 2016 7:24:43 PM (9 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:
- 6fd8de0
- Parents:
- ea1f14d
- Location:
- sasmodels
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/core.py
rea1f14d rfec69dd 237 237 weights = weights.astype(dtype=kernel.dtype) 238 238 values = values.astype(dtype=kernel.dtype) 239 print("kernel poly",values)240 239 return kernel(details, weights, values, cutoff) 241 240 -
sasmodels/kernel_iq.c
rea1f14d rfec69dd 165 165 if (problem->pd_isvol[0]) vol_weight *= wi; 166 166 for (int k=0; k < problem->fast_coord_count; k++) { 167 printf("fast loop %d coord %d idx %d ?%d offset %d %g\n", 168 k,problem->fast_coord_pars[k],pd_index[0], 169 problem->fast_coord_pars[k], 170 offset[problem->fast_coord_pars[k]], 171 values[offset[problem->fast_coord_pars[k]]] 172 ); 167 173 pvec[problem->fast_coord_pars[k]] 168 174 = values[offset[problem->fast_coord_pars[k]]++]; 175 169 176 } 170 177 if (problem->theta_par ==problem->pd_par[0]) { -
sasmodels/kernelcl.py
r25b30fd rfec69dd 242 242 key = "%s-%s-%s"%(name, dtype, fast) 243 243 if key not in self.compiled: 244 #print("compiling",name)244 print("compiling",name) 245 245 dtype = np.dtype(dtype) 246 program = compile_model(self.get_context(dtype), str(source), dtype, fast) 246 program = compile_model(self.get_context(dtype), 247 str(source), dtype, fast) 247 248 self.compiled[key] = program 248 249 return self.compiled[key] -
sasmodels/kerneldll.py
r48fbd50 rfec69dd 267 267 max_pd = self.info['max_pd'] 268 268 start, stop = 0, details[4*max_pd-1] 269 print(details) 269 270 args = [ 270 271 self.q_input.nq, # nq
Note: See TracChangeset
for help on using the changeset viewer.