Changeset 6794301 in sasmodels for sasmodels/models/mass_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/mass_fractal.c
r61fd21d r6794301 28 28 //calculate S(q) 29 29 double mmo = mass_dim-1.0; 30 double sq = exp(lanczos_gamma(mmo))*sin((mmo)*atan(q*cutoff_length));30 double sq = sas_gamma(mmo)*sin((mmo)*atan(q*cutoff_length)); 31 31 sq *= pow(cutoff_length, mmo); 32 32 sq /= pow((1.0 + (q*cutoff_length)*(q*cutoff_length)),(mmo/2.0));
Note: See TracChangeset
for help on using the changeset viewer.