Changeset 5772737 in sasmodels
- Timestamp:
- Oct 4, 2017 2:29:21 PM (7 years ago)
- Branches:
- master, core_shell_microgels, costrafo411, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- a8631ca
- Parents:
- 237c9cf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/lib/wrc_cyl.c
r237c9cf r5772737 26 26 { 27 27 // Pedersen eq. 16: 28 // w = 1 -[1 + tanh((x-C4)/C5)]/228 // w = [1 + tanh((x-C4)/C5)]/2 29 29 const double C4 = 1.523; 30 30 const double C5 = 0.1477; … … 150 150 const double qr_miu = pow(qr, -1.0/miu); 151 151 const double w = w_WR(qr); 152 const double t10 = qr*Sdebye(qr*qr)*(1.0 - w);152 const double t10 = Sdebye(qr*qr)*(1.0 - w); 153 153 const double t11 = ((C3*qr_miu + C2)*qr_miu + C1)*qr_miu; 154 154
Note: See TracChangeset
for help on using the changeset viewer.