Changeset 3a48772 in sasmodels for sasmodels/models/barbell.c
- Timestamp:
- Oct 14, 2016 3:23:40 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:
- a5b6997
- Parents:
- b716cc6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/barbell.c
r11ca2ab r3a48772 39 39 // translate dx in [-1,1] to dx in [lower,upper] 40 40 const double integral = total*zm; 41 const double bell_fq = 2 *M_PI*cube(radius_bell)*integral;41 const double bell_fq = 2.0*M_PI*cube(radius_bell)*integral; 42 42 return bell_fq; 43 43 }
Note: See TracChangeset
for help on using the changeset viewer.