Changes in sasmodels/models/polymer_micelle.c [925ad6e:c3ebc71] in sasmodels
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/polymer_micelle.c
r925ad6e rc3ebc71 31 31 32 32 // Self-correlation term of the core 33 const double bes_core = s as_3j1x_x(q*radius_core);33 const double bes_core = sph_j1c(q*radius_core); 34 34 const double term1 = square(n_aggreg*beta_core*bes_core); 35 35 … … 41 41 // Interference cross-term between core and chains 42 42 const double chain_ampl = (qrg2 == 0.0) ? 1.0 : -expm1(-qrg2)/qrg2; 43 const double bes_corona = s as_sinx_x(q*(radius_core + d_penetration * rg));43 const double bes_corona = sinc(q*(radius_core + d_penetration * rg)); 44 44 const double term3 = 2.0 * n_aggreg * n_aggreg * beta_core * beta_corona * 45 45 bes_core * chain_ampl * bes_corona;
Note: See TracChangeset
for help on using the changeset viewer.