Changeset 380e8c9 in sasmodels for sasmodels/kernel_header.c


Ignore:
Timestamp:
Mar 24, 2016 10:56:44 AM (8 years ago)
Author:
Paul Kienzle <pkienzle@…>
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:
151f3bc
Parents:
60eab2a
Message:

progress on new polydispersity loop, but still broken

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/kernel_header.c

    r5cf3c33 r380e8c9  
    103103#  define M_4PI_3 4.18879020478639 
    104104#endif 
    105 static double square(double x) { return x*x; } 
    106 static double cube(double x) { return x*x*x; } 
    107 static double sinc(double x) { return x==0 ? 1.0 : sin(x)/x; } 
     105static inline double square(double x) { return x*x; } 
     106static inline double cube(double x) { return x*x*x; } 
     107static inline double sinc(double x) { return x==0 ? 1.0 : sin(x)/x; } 
    108108 
Note: See TracChangeset for help on using the changeset viewer.