Changes in sasmodels/models/core_shell_bicelle_elliptical.c [fcb33e4:592343f] in sasmodels
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/core_shell_bicelle_elliptical.c
rfcb33e4 r592343f 76 76 double sinarg1 = qq*halfheight*cos_alpha; 77 77 double sinarg2 = qq*(halfheight+facthick)*cos_alpha; 78 si1 = s inc(sinarg1);79 si2 = s inc(sinarg2);78 si1 = sas_sinx_x(sinarg1); 79 si2 = sas_sinx_x(sinarg2); 80 80 for(int j=0;j<76;j++) { 81 81 //76 gauss points for the inner integral (WAS 20 points,so this may make unecessarily slow, but playing safe) … … 85 85 double besarg1 = qq*rr*sin_alpha; 86 86 double besarg2 = qq*(rr+radthick)*sin_alpha; 87 be1 = sas_ J1c(besarg1);88 be2 = sas_ J1c(besarg2);87 be1 = sas_2J1x_x(besarg1); 88 be2 = sas_2J1x_x(besarg2); 89 89 inner_sum += Gauss76Wt[j] *square(dr1*si1*be1 + 90 90 dr2*si2*be2 + … … 129 129 // ASSUME the sin_alpha is included in the separate integration over orientation of rod angle 130 130 const double r = rad*sqrt(square(x_core*cos_nu) + cos_mu*cos_mu); 131 const double be1 = sas_ J1c(qq*r);132 const double be2 = sas_ J1c( qq*(r + radthick ) );133 const double si1 = s inc( qq*halfheight*cos_val );134 const double si2 = s inc( qq*(halfheight + facthick)*cos_val );131 const double be1 = sas_2J1x_x( qq*r ); 132 const double be2 = sas_2J1x_x( qq*(r + radthick ) ); 133 const double si1 = sas_sinx_x( qq*halfheight*cos_val ); 134 const double si2 = sas_sinx_x( qq*(halfheight + facthick)*cos_val ); 135 135 const double Aq = square( vol1*dr1*si1*be1 + vol2*dr2*si2*be2 + vol3*dr3*si2*be1); 136 136 //const double vol = form_volume(radius_minor, r_ratio, length);
Note: See TracChangeset
for help on using the changeset viewer.