Changeset 71b751d in sasmodels for sasmodels/models/multilayer_vesicle.c
- Timestamp:
- Aug 14, 2018 10:09:34 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:
- 86aa992
- Parents:
- 2f8cbb9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/multilayer_vesicle.c
rec1d4bc r71b751d 12 12 static double 13 13 multilayer_vesicle_kernel(double q, 14 double volfraction,15 14 double radius, 16 15 double thick_shell, … … 45 44 //unilamellar vesicles (C. Glinka, 11/24/03) 46 45 47 return 1.0e-4*volfraction*fval*fval; // Volume normalization happens in caller46 return fval; // Volume normalization happens in caller 48 47 } 49 48 50 static double 51 Iq(double q, 49 static void 50 Fq(double q, 51 double *F1, 52 double *F2, 52 53 double volfraction, 53 54 double radius, … … 59 60 { 60 61 int n_shells = (int)(fp_n_shells + 0.5); 61 return multilayer_vesicle_kernel(q, 62 volfraction, 62 const double fq = multilayer_vesicle_kernel(q, 63 63 radius, 64 64 thick_shell, … … 67 67 sld, 68 68 n_shells); 69 // See comment in vesicle.c regarding volfraction normalization. 70 *F1 = 1.0e-2 * sqrt(volfraction)*fq; 71 *F2 = 1.0e-4 * volfraction*fq*fq; 69 72 } 70 73
Note: See TracChangeset
for help on using the changeset viewer.