Changeset 925ad6e in sasmodels for sasmodels/models/lib/sphere_form.c


Ignore:
Timestamp:
Jan 11, 2017 8:27:54 AM (7 years ago)
Author:
wojciech
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
592343f
Parents:
1e7b0db0
Message:

sph_j1c translated to sas_3j1x_x

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/lib/sphere_form.c

    rba32cdd r925ad6e  
    99double sphere_form(double q, double radius, double sld, double solvent_sld) 
    1010{ 
    11     const double fq = sphere_volume(radius) * sph_j1c(q*radius); 
     11    const double fq = sphere_volume(radius) * sas_3j1x_x(q*radius); 
    1212    const double contrast = (sld - solvent_sld); 
    1313    return 1.0e-4*square(contrast * fq); 
Note: See TracChangeset for help on using the changeset viewer.