Changeset a34b811 in sasmodels for sasmodels/kernel_iq.c


Ignore:
Timestamp:
Mar 28, 2019 5:02:53 PM (5 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, ticket-1257-vesicle-product, ticket_1156, ticket_822_more_unit_tests
Children:
db1d9d5
Parents:
e5cb3df
Message:

use radius_effective/radius_effective_mode/radius_effective_modes consistently throughout the code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/kernel_iq.c

    r12f4c19 ra34b811  
    2727//      parameters in the parameter table. 
    2828//  CALL_VOLUME(form, shell, table) : assign form and shell values 
    29 //  CALL_EFFECTIVE_RADIUS(type, table) : call the R_eff function 
     29//  CALL_RADIUS_EFFECTIVE(mode, table) : call the R_eff function 
    3030//  CALL_IQ(q, table) : call the Iq function for 1D calcs. 
    3131//  CALL_IQ_A(q, table) : call the Iq function with |q| for 2D data. 
     
    285285    pglobal double *result,       // nq+1 return values, again with padding 
    286286    const double cutoff,          // cutoff in the dispersity weight product 
    287     int32_t effective_radius_type // which effective radius to compute 
     287    int32_t radius_effective_mode // which effective radius to compute 
    288288    ) 
    289289{ 
     
    703703      weighted_form += weight * form; 
    704704      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); 
    707707      } 
    708708      BUILD_ROTATION(); 
Note: See TracChangeset for help on using the changeset viewer.