Changeset 43b7eea in sasmodels for sasmodels/models/stacked_disks.c
- Timestamp:
- Mar 19, 2016 2:34:39 PM (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:
- 26141cb
- Parents:
- 81d3a0c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/stacked_disks.c
rd507c3a r43b7eea 52 52 const double sinarg2 = qq*(halfheight+layer_thick)*cos(zi); 53 53 54 const double be1 = J1(besarg1)/besarg1;55 const double be2 = J1(besarg2)/besarg2;54 const double be1 = sas_J1c(besarg1); 55 const double be2 = sas_J1c(besarg2); 56 56 const double si1 = sin(sinarg1)/sinarg1; 57 57 const double si2 = sin(sinarg2)/sinarg2; … … 62 62 const double totald=2.0*(layer_thick+halfheight); 63 63 64 const double t1 = 2.0*area*(2.0*halfheight)*dr1*(si1)*(be1);65 const double t2 = 2.0*area*dr2*(totald*si2-2.0*halfheight*si1)*(be2);64 const double t1 = area*(2.0*halfheight)*dr1*(si1)*(be1); 65 const double t2 = area*dr2*(totald*si2-2.0*halfheight*si1)*(be2); 66 66 67 67
Note: See TracChangeset
for help on using the changeset viewer.