Changeset a34b811 in sasmodels for sasmodels/kernel_iq.c
- Timestamp:
- Mar 28, 2019 5:02:53 PM (5 years ago)
- Branches:
- master, ticket-1257-vesicle-product, ticket_1156, ticket_822_more_unit_tests
- Children:
- db1d9d5
- Parents:
- e5cb3df
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/kernel_iq.c
r12f4c19 ra34b811 27 27 // parameters in the parameter table. 28 28 // CALL_VOLUME(form, shell, table) : assign form and shell values 29 // CALL_ EFFECTIVE_RADIUS(type, table) : call the R_eff function29 // CALL_RADIUS_EFFECTIVE(mode, table) : call the R_eff function 30 30 // CALL_IQ(q, table) : call the Iq function for 1D calcs. 31 31 // CALL_IQ_A(q, table) : call the Iq function with |q| for 2D data. … … 285 285 pglobal double *result, // nq+1 return values, again with padding 286 286 const double cutoff, // cutoff in the dispersity weight product 287 int32_t effective_radius_type // which effective radius to compute287 int32_t radius_effective_mode // which effective radius to compute 288 288 ) 289 289 { … … 703 703 weighted_form += weight * form; 704 704 weighted_shell += weight * shell; 705 if ( effective_radius_type != 0) {706 weighted_radius += weight * CALL_ EFFECTIVE_RADIUS(effective_radius_type, local_values.table);705 if (radius_effective_mode != 0) { 706 weighted_radius += weight * CALL_RADIUS_EFFECTIVE(radius_effective_mode, local_values.table); 707 707 } 708 708 BUILD_ROTATION();
Note: See TracChangeset
for help on using the changeset viewer.