Changeset becded3 in sasmodels for sasmodels/models/elliptical_cylinder.c


Ignore:
Timestamp:
Oct 17, 2017 6:21:27 PM (7 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
8698a0d
Parents:
2a602c7
Message:

update oriented models to new interface (which will be in the next commit)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/elliptical_cylinder.c

    r2a0b2b1 rbecded3  
    5555 
    5656static double 
    57 Iqxy(double qx, double qy, 
     57Iqxy(double qa, double qb, double qc, 
    5858     double radius_minor, double r_ratio, double length, 
    59      double sld, double solvent_sld, 
    60      double theta, double phi, double psi) 
     59     double sld, double solvent_sld) 
    6160{ 
    62     double q, xhat, yhat, zhat; 
    63     ORIENT_ASYMMETRIC(qx, qy, theta, phi, psi, q, xhat, yhat, zhat); 
    64     const double qa = q*xhat; 
    65     const double qb = q*yhat; 
    66     const double qc = q*zhat; 
    67  
    6861    // Compute:  r = sqrt((radius_major*cos_nu)^2 + (radius_minor*cos_mu)^2) 
    6962    // Given:    radius_major = r_ratio * radius_minor 
Note: See TracChangeset for help on using the changeset viewer.