Changeset d51ea74 in sasmodels for sasmodels/models/multi_shell.c
- Timestamp:
- Feb 25, 2016 5:37:32 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:
- d2950f4
- Parents:
- fa8011eb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/multi_shell.c
r0471c72 rd51ea74 9 9 { 10 10 //calculate with a loop, two shells at a time 11 int ii =0;12 double fval =0.0;11 int ii = 0; 12 double fval = 0.0; 13 13 double voli = 0.0; 14 14 const double sldi = core_sld-shell_sld; … … 28 28 29 29 //do 2 layers at a time 30 ii +=1;30 ii += 1; 31 31 32 } while(ii <=n_pairs-1); //change to make 0 < n_pairs < 2 correspond to33 //unilamellar vesicles (C. Glinka, 11/24/03)32 } while(ii <= n_pairs-1); //change to make 0 < n_pairs < 2 correspond to 33 //unilamellar vesicles (C. Glinka, 11/24/03) 34 34 35 35 fval *= 1.0e-4*fval/voli;
Note: See TracChangeset
for help on using the changeset viewer.