Changeset 95e861b in sasmodels
- Timestamp:
- Mar 3, 2015 5:22:17 PM (10 years ago)
- Branches:
- master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- e819f71
- Parents:
- bfb195e
- Location:
- sasmodels
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/kernel_template.c
rf734e7d r95e861b 10 10 #ifndef USE_OPENCL 11 11 # ifdef __cplusplus 12 #include <cstdio> 12 13 #include <cmath> 13 14 #if defined(_MSC_VER) … … 20 21 { svar=sin(angle); cvar=cos(angle); } 21 22 # else 23 #include <stdio.h> 22 24 #include <math.h> 23 25 #if defined(_MSC_VER) -
sasmodels/models/lamellarCailleHG_kernel.c
rcd55ac3 r95e861b 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); 57 58 //temp *= exp(-1.0*(t2 + t3)/(2.0*(1.0+t1)) ); 58 59 temp *= exp(-t2/2.0 ); … … 68 69 69 70 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.