Changeset 0471c72 in sasmodels
- Timestamp:
- Feb 24, 2016 3:01:27 PM (9 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:
- 718514b
- Parents:
- 431caae
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/multi_shell.c
rb7529e2 r0471c72 1 double Iq(double q,2 double core_radius,3 double s_thickness,4 double w_thickness,5 double core_sld,6 double shell_sld,7 double n_pairs);8 9 double Iqxy(double qx, double qy,10 double core_radius,11 double s_thickness,12 double w_thickness,13 double core_sld,14 double shell_sld,15 double n_pairs);16 17 1 static 18 2 double multi_shell_kernel(double q, … … 24 8 double n_pairs) 25 9 { 26 10 //calculate with a loop, two shells at a time 27 11 int ii=0; 28 12 double fval=0.0; … … 46 30 ii+=1; 47 31 48 49 32 } while(ii<=n_pairs-1); //change to make 0 < n_pairs < 2 correspond to 33 //unilamellar vesicles (C. Glinka, 11/24/03) 50 34 51 35 fval *= 1.0e-4*fval/voli; … … 54 38 } 55 39 40 static 56 41 double Iq(double q, 57 42 double core_radius, … … 71 56 } 72 57 58 static 73 59 double Iqxy(double qx, double qy, 74 60 double core_radius, … … 89 75 n_pairs); 90 76 } 91
Note: See TracChangeset
for help on using the changeset viewer.