Changeset 2f5c6d4 in sasmodels for sasmodels/models/pearl_necklace.c
- Timestamp:
- Jul 26, 2016 12:38:21 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:
- a3a0c5c
- Parents:
- a4280bd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/pearl_necklace.c
r2c74c11 r2f5c6d4 8 8 double string_thickness, double number_of_pearls, double sld, 9 9 double string_sld, double solvent_sld); 10 11 #define INVALID(v) (v.string_thickness >= v.radius || v.number_of_pearls <= 0) 10 12 11 13 // From Igor library … … 126 128 double value, tot_vol; 127 129 128 if (string_thickness >= radius || number_of_pearls <= 0) {129 return NAN;130 }131 132 130 value = _pearl_necklace_kernel(q, radius, edge_separation, string_thickness, 133 131 number_of_pearls, sld, string_sld, solvent_sld);
Note: See TracChangeset
for help on using the changeset viewer.