Changeset d605080 in sasmodels
 Timestamp:
 Mar 22, 2017 9:44:50 PM (7 months ago)
 Branches:
 master, costrafo411, doc_update, flexiblecylinder, ticket776orientation
 Children:
 92dfe0c
 Parents:
 f4f85b3
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

sasmodels/models/parallelepiped.c
r1e7b0db rd605080 67 67 double psi) 68 68 { 69 double q, cos_val_a, cos_val_b, cos_val_c;70 ORIENT_ASYMMETRIC(qx, qy, theta, phi, psi, q, cos_val_c, cos_val_b, cos_val_a);69 double q, xhat, yhat, zhat; 70 ORIENT_ASYMMETRIC(qx, qy, theta, phi, psi, q, xhat, yhat, zhat); 71 71 72 const double siA = sas_sinx_x(0.5* q*length_a*cos_val_a);73 const double siB = sas_sinx_x(0.5* q*length_b*cos_val_b);74 const double siC = sas_sinx_x(0.5* q*length_c*cos_val_c);72 const double siA = sas_sinx_x(0.5*length_a*q*xhat); 73 const double siB = sas_sinx_x(0.5*length_b*q*yhat); 74 const double siC = sas_sinx_x(0.5*length_c*q*zhat); 75 75 const double V = form_volume(length_a, length_b, length_c); 76 76 const double drho = (sld  solvent_sld);
Note: See TracChangeset
for help on using the changeset viewer.