Changeset 592343f in sasmodels for sasmodels/models/capped_cylinder.c
 Timestamp:
 Jan 11, 2017 8:36:37 AM (6 years ago)
 Branches:
 master, core_shell_microgels, costrafo411, magnetic_model, ticket1257vesicleproduct, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
 Children:
 4b541ac
 Parents:
 925ad6e
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

sasmodels/models/capped_cylinder.c
r1e7b0db0 r592343f 39 39 const double t = Gauss76Z[i]*zm + zb; 40 40 const double radical = 1.0  t*t; 41 const double bj = sas_ J1c(qrst*sqrt(radical));41 const double bj = sas_2J1x_x(qrst*sqrt(radical)); 42 42 const double Fq = cos(m*t + b) * radical * bj; 43 43 total += Gauss76Wt[i] * Fq; … … 54 54 { 55 55 const double cap_Fq = _cap_kernel(q, h, radius_cap, half_length, sin_alpha, cos_alpha); 56 const double bj = sas_ J1c(q*radius*sin_alpha);56 const double bj = sas_2J1x_x(q*radius*sin_alpha); 57 57 const double si = sas_sinx_x(q*half_length*cos_alpha); 58 58 const double cyl_Fq = 2.0*M_PI*radius*radius*half_length*bj*si;
Note: See TracChangeset
for help on using the changeset viewer.