Changeset 71b751d in sasmodels for sasmodels/models/fractal_core_shell.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_core_shell.c
rbdd08df r71b751d 16 16 double cor_length) 17 17 { 18 //The radius for the building block of the core shell particle that is 18 //The radius for the building block of the core shell particle that is 19 19 //needed by the Teixeira fractal S(q) is the radius of the whole particle. 20 20 const double cs_radius = radius + thickness; 21 21 const double sq = fractal_sq(q, cs_radius, fractal_dim, cor_length); 22 const double pq = core_shell_kernel(q, radius, thickness,23 22 const double fq = core_shell_fq(q, radius, thickness, 23 core_sld, shell_sld, solvent_sld); 24 24 25 25 // Note: core_shell_kernel already performs the 1e-4 unit conversion 26 return volfraction * sq * pq;26 return 1.0e-4 * volfraction * sq * fq * fq; 27 27 } 28
Note: See TracChangeset
for help on using the changeset viewer.