Changes in / [a9807efa:72c969b] in sasview
- Location:
- src/sans/models/c_extension/c_models
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sans/models/c_extension/c_models/capcyl.cpp
r230f479 r5b1392f 178 178 alpha = acos( cos_val ); 179 179 180 // Call the IGOR library function to get the kernel 181 answer = capcyl2d_kernel(dp, q, alpha)/sin(alpha); 180 answer = capcyl2d_kernel(dp, q, alpha); 182 181 183 182 -
src/sans/models/c_extension/c_models/triaxialellipsoid.cpp
r230f479 r2b875e4c 342 342 * weights_semi_axisA[i].value*weights_semi_axisB[j].value*weights_semi_axisC[k].value; 343 343 if (weights_theta.size()>1) { 344 _ptvalue *= fabs(cos(weights_theta[ k].value*pi/180.0));344 _ptvalue *= fabs(cos(weights_theta[l].value*pi/180.0)); 345 345 } 346 346 sum += _ptvalue;
Note: See TracChangeset
for help on using the changeset viewer.