Changeset 6794301 in sasmodels for sasmodels/models/surface_fractal.c
- Timestamp:
- Mar 20, 2016 10:23:05 AM (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:
- 3a45c2c, 9da407c
- Parents:
- 8b935d1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/surface_fractal.c
r9c461c7 r6794301 26 26 //calculate S(q) 27 27 mmo = 5.0 - surface_dim; 28 sq = exp(lanczos_gamma(mmo))*sin(-(mmo)*atan(q*cutoff_length));28 sq = sas_gamma(mmo)*sin(-(mmo)*atan(q*cutoff_length)); 29 29 sq *= pow(cutoff_length, mmo); 30 30 sq /= pow((1.0 + (q*cutoff_length)*(q*cutoff_length)),(mmo/2.0));
Note: See TracChangeset
for help on using the changeset viewer.