Changeset 5467cd8 in sasmodels


Ignore:
Timestamp:
Feb 7, 2017 2:48:17 PM (4 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
4903cfd
Parents:
a90aa1c
Message:

use sas_sinx_x rather than sinc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/lamellar_stack_paracrystal.c

    ra0168e8 r5467cd8  
    4141         
    4242        const double xi = th/2.0;               //use 1/2 the bilayer thickness 
    43         const double Pbil = square(sinc(qval*xi)); 
     43        const double Pbil = square(sas_sinx_x(qval*xi)); 
    4444         
    4545        const double contr = sld - solvent_sld; 
Note: See TracChangeset for help on using the changeset viewer.