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


Ignore:
Timestamp:
Nov 6, 2017 2:11:48 PM (6 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:
9248bf7
Parents:
ff31782 (diff), d8ac2ad (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'ticket-786' into generic_integration_loop

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/elliptical_cylinder.c

    r74768cb rd4db147  
    6060    // Compute:  r = sqrt((radius_major*cos_nu)^2 + (radius_minor*cos_mu)^2) 
    6161    // Given:    radius_major = r_ratio * radius_minor 
    62     const double qr = radius_minor*sqrt(square(r_ratio*qa) + square(qb)); 
     62    const double qr = radius_minor*sqrt(square(r_ratio*qb) + square(qa)); 
    6363    const double be = sas_2J1x_x(qr); 
    6464    const double si = sas_sinx_x(qc*0.5*length); 
Note: See TracChangeset for help on using the changeset viewer.