Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/polymer_micelle.c

    r925ad6e rc3ebc71  
    3131 
    3232    // Self-correlation term of the core 
    33     const double bes_core = sas_3j1x_x(q*radius_core); 
     33    const double bes_core = sph_j1c(q*radius_core); 
    3434    const double term1 = square(n_aggreg*beta_core*bes_core); 
    3535 
     
    4141    // Interference cross-term between core and chains 
    4242    const double chain_ampl = (qrg2 == 0.0) ? 1.0 : -expm1(-qrg2)/qrg2; 
    43     const double bes_corona = sas_sinx_x(q*(radius_core + d_penetration * rg)); 
     43    const double bes_corona = sinc(q*(radius_core + d_penetration * rg)); 
    4444    const double term3 = 2.0 * n_aggreg * n_aggreg * beta_core * beta_corona * 
    4545                 bes_core * chain_ampl * bes_corona; 
Note: See TracChangeset for help on using the changeset viewer.