Changeset 303d8d6 in sasmodels for sasmodels/kernel_iq.c
- Timestamp:
- Mar 21, 2016 2:49:21 AM (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:
- 4a72d1a, 3a45c2c
- Parents:
- 03cac08
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/kernel_iq.c
r03cac08 r303d8d6 40 40 void KERNEL_NAME( 41 41 int nq, // number of q values 42 const int pd_start, // where we are in the polydispersity loop 43 const int pd_stop, // where we are stopping in the polydispersity loop 42 44 global const ProblemDetails *problem, 43 45 global const double *weights, … … 45 47 global const double *q, // nq q values, with padding to boundary 46 48 global double *result, // nq+3 return values, again with padding 47 const double cutoff, // cutoff in the polydispersity weight product 48 const int pd_start, // where we are in the polydispersity loop 49 const int pd_stop // where we are stopping in the polydispersity loop 49 const double cutoff // cutoff in the polydispersity weight product 50 50 ) 51 51 { 52 52 printf("hello\n"); 53 53 // Storage for the current parameter values. These will be updated as we 54 54 // walk the polydispersity cube. … … 177 177 #endif 178 178 179 // Accumulate I(q) 180 // Note: weight==0 must always be excluded 179 181 if (weight > cutoff) { 180 182 norm += weight;
Note: See TracChangeset
for help on using the changeset viewer.