Changes in / [e819f71:1353f60] in sasmodels
- Location:
- sasmodels
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/kernel_template.c
r95e861b rf734e7d 10 10 #ifndef USE_OPENCL 11 11 # ifdef __cplusplus 12 #include <cstdio>13 12 #include <cmath> 14 13 #if defined(_MSC_VER) … … 21 20 { svar=sin(angle); cvar=cos(angle); } 22 21 # else 23 #include <stdio.h>24 22 #include <math.h> 25 23 #if defined(_MSC_VER) -
sasmodels/models/lamellarCailleHG_kernel.c
r95e861b rcd55ac3 55 55 //temp *= cos(dd*qval*ii/(1.0+t1)); 56 56 temp *= cos(dd*qval*ii); 57 //if (temp < 0) printf("q=%g: ii=%d, cos(dd*q*ii)=cos(%g) < 0\n",qval,ii,dd*qval*ii);58 57 //temp *= exp(-1.0*(t2 + t3)/(2.0*(1.0+t1)) ); 59 58 temp *= exp(-t2/2.0 ); … … 69 68 70 69 inten *= 1.0e-04; // 1/A to 1/cm 70 71 71 return(inten); 72 72 }
Note: See TracChangeset
for help on using the changeset viewer.