Changeset c3ccaec in sasmodels for sasmodels/models/linear_pearls.c
- Timestamp:
- Feb 7, 2017 2:10:50 PM (7 years ago)
- Branches:
- master, core_shell_microgels, costrafo411, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- a90aa1c
- Parents:
- aa107ef (diff), fe8ff99 (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. - git-author:
- Paul Kienzle <pkienzle@…> (02/07/17 14:10:50)
- git-committer:
- GitHub <noreply@…> (02/07/17 14:10:50)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/linear_pearls.c
r4367142 rc3ccaec 44 44 45 45 //sine functions of a pearl 46 double psi = s ph_j1c(q * radius);46 double psi = sas_3j1x_x(q * radius); 47 47 48 48 // N pearls interaction terms 49 49 double structure_factor = (double)num_pearls; 50 50 for(int num=1; num<num_pearls; num++) { 51 structure_factor += 2.0*(num_pearls-num)*s inc(q*separation*num);51 structure_factor += 2.0*(num_pearls-num)*sas_sinx_x(q*separation*num); 52 52 } 53 53 // form factor for num_pearls
Note: See TracChangeset
for help on using the changeset viewer.