Changeset 3936ad3 in sasmodels


Ignore:
Timestamp:
Mar 17, 2016 5:33:41 AM (4 years ago)
Author:
wojciech
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
0a9d219
Parents:
91c5fdc
Message:

Bessel functions from double-precison cephes has been added

Location:
sasmodels/models
Files:
4 added
2 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/core_shell_cylinder.c

    r994d77f r3936ad3  
    1111double _cyl(double twovd, double besarg, double siarg) 
    1212{ 
    13     const double bj = (besarg == 0.0 ? 0.5 : J1(besarg)/besarg); 
     13    const double bj = (besarg == 0.0 ? 0.5 : j1(besarg)/besarg); 
    1414    const double si = (siarg == 0.0 ? 1.0 : sin(siarg)/siarg); 
    1515    return twovd*si*bj; 
  • sasmodels/models/core_shell_cylinder.py

    rf0aa7f8 r3936ad3  
    152152             ] 
    153153 
    154 source = ["lib/J1.c", "lib/gauss76.c", "core_shell_cylinder.c"] 
     154source = ["lib/polevl.c", "lib/j1d.c", "lib/gauss76.c", "core_shell_cylinder.c"] 
    155155 
    156156def ER(radius, thickness, length): 
Note: See TracChangeset for help on using the changeset viewer.