Changeset 5abbad7 in sasmodels
- Timestamp:
- Oct 14, 2016 6:03:06 AM (8 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:
- ec9d329
- Parents:
- 11ca2ab
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/fcc_paracrystal.c
r11ca2ab r5abbad7 93 93 ORIENT_ASYMMETRIC(qx, qy, theta, phi, psi, q, cos_a3, cos_a2, cos_a1); 94 94 95 const double a1 = +cos_a3 + cos_a2;96 const double a2 = +cos_a3 + cos_a1;97 const double a3 = -cos_a3 + cos_a2;95 const double a1 = cos_a2 + cos_a3; 96 const double a2 = cos_a3 + cos_a1; 97 const double a3 = cos_a2 + cos_a1; 98 98 const double qd = 0.5*q*dnn; 99 99 const double exp_qd = exp(0.5*square(qd*d_factor)*(a1*a1 + a2*a2 + a3*a3));
Note: See TracChangeset
for help on using the changeset viewer.