Changeset ee60aa7 in sasmodels for sasmodels/models/pringle.c
- Timestamp:
- Sep 10, 2018 2:16:46 PM (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:
- d299327
- Parents:
- 3f818b2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/pringle.c
rd277229 ree60aa7 107 107 effective_radius(int mode, double radius, double thickness, double alpha, double beta) 108 108 { 109 if (mode == 1) { 109 switch (mode) { 110 case 1: // equivalent sphere 110 111 return cbrt(0.75*radius*radius*thickness); 111 } else {112 case 2: // radius 112 113 return radius; 113 114 }
Note: See TracChangeset
for help on using the changeset viewer.