Changeset 71b751d in sasmodels for sasmodels/models/fractal.c
- Timestamp:
- Aug 14, 2018 10:09:34 AM (6 years ago)
- Branches:
- master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- 86aa992
- Parents:
- 2f8cbb9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/fractal.c
r4788822 r71b751d 19 19 20 20 //calculate P(q) for the spherical subunits 21 const double pq = square(form_volume(radius) * (sld_block-sld_solvent)22 *sas_3j1x_x(q*radius) );21 const double fq = form_volume(radius) * (sld_block-sld_solvent) 22 *sas_3j1x_x(q*radius); 23 23 24 24 // scale to units cm-1 sr-1 (assuming data on absolute scale) … … 27 27 // combined: 1e-4 * I(q) 28 28 29 return 1.e-4 * volfraction * sq * pq;29 return 1.e-4 * volfraction * sq * fq * fq; 30 30 } 31
Note: See TracChangeset
for help on using the changeset viewer.