Changes in / [72c969b:a9807efa] 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
r5b1392f r230f479 178 178 alpha = acos( cos_val ); 179 179 180 answer = capcyl2d_kernel(dp, q, alpha); 180 // Call the IGOR library function to get the kernel 181 answer = capcyl2d_kernel(dp, q, alpha)/sin(alpha); 181 182 182 183 -
src/sans/models/c_extension/c_models/triaxialellipsoid.cpp
r2b875e4c r230f479 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[ l].value*pi/180.0));344 _ptvalue *= fabs(cos(weights_theta[k].value*pi/180.0)); 345 345 } 346 346 sum += _ptvalue;
Note: See TracChangeset
for help on using the changeset viewer.