Changeset e9b1663d in sasmodels for sasmodels/models/cylinder.c
- Timestamp:
- Mar 23, 2016 1:02:10 PM (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:
- 76a9ffe
- Parents:
- 69aa451 (diff), 34edbb8 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/cylinder.c
r03cac08 re9b1663d 30 30 double sn, cn; 31 31 SINCOS(alpha, sn, cn); 32 const double fq = sinc(qh*cn) * J1c(qr*sn);32 const double fq = sinc(qh*cn) * sas_J1c(qr*sn); 33 33 total += Gauss76Wt[i] * fq*fq * sn; 34 34 } … … 57 57 58 58 SINCOS(alpha, sn, cn); 59 const double fq = sinc(q*0.5*length*cn) * J1c(q*radius*sn);59 const double fq = sinc(q*0.5*length*cn) * sas_J1c(q*radius*sn); 60 60 const double s = (sld-solvent_sld) * form_volume(radius, length); 61 61 return 1.0e-4 * square(s * fq);
Note: See TracChangeset
for help on using the changeset viewer.