Changeset ee60aa7 in sasmodels for sasmodels/models/core_shell_bicelle.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/core_shell_bicelle.c
rd277229 ree60aa7 54 54 effective_radius(int mode, double radius, double thick_rim, double thick_face, double length) 55 55 { 56 if (mode == 1) { 56 switch (mode) { 57 case 1: // equivalent sphere 57 58 return radius_from_volume(radius, thick_rim, thick_face, length); 58 } else if (mode == 2) {59 case 2: // outer rim radius 59 60 return radius + thick_rim; 60 } else if (mode == 3) {61 case 3: // half outer thickness 61 62 return 0.5*length + thick_face; 62 } else {63 case 4: // half diagonal 63 64 return radius_from_diagonal(radius,thick_rim,thick_face,length); 64 65 }
Note: See TracChangeset
for help on using the changeset viewer.