Changeset d277229 in sasmodels for sasmodels/models/spherical_sld.c
- Timestamp:
- Sep 7, 2018 3:29:38 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:
- 3c60146
- Parents:
- 2a12351b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/spherical_sld.c
r71b751d rd277229 10 10 } 11 11 return M_4PI_3*cube(r); 12 } 13 14 static double 15 effective_radius(int mode, double fp_n_shells, double thickness[], double interface[]) 16 { 17 int n_shells= (int)(fp_n_shells + 0.5); 18 double r = 0.0; 19 for (int i=0; i < n_shells; i++) { 20 r += thickness[i] + interface[i]; 21 } 22 return r; 12 23 } 13 24
Note: See TracChangeset
for help on using the changeset viewer.