Changes in sasmodels/models/lib/gauss150.c [994d77f:99b84ec] in sasmodels
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/lib/gauss150.c
r994d77f r99b84ec 1 /* 2 * GaussWeights.c 3 * SANSAnalysis 4 * 5 * Created by Andrew Jackson on 4/23/07. 6 * Copyright 2007 __MyCompanyName__. All rights reserved. 7 * 8 */ 1 // Created by Andrew Jackson on 4/23/07 9 2 10 // Gaussians 11 constant double Gauss150Z[150]={ 3 #ifdef GAUSS_N 4 # undef GAUSS_N 5 # undef GAUSS_Z 6 # undef GAUSS_W 7 #endif 8 #define GAUSS_N 150 9 #define GAUSS_Z Gauss150Z 10 #define GAUSS_W Gauss150Wt 11 12 13 // Note: using array size 152 rather than 150 so that it is a multiple of 4. 14 // Some OpenCL devices prefer that vectors start and end on nice boundaries. 15 constant double Gauss150Z[152]={ 12 16 -0.9998723404457334, 13 17 -0.9993274305065947, … … 159 163 0.9983473449340834, 160 164 0.9993274305065947, 161 0.9998723404457334 165 0.9998723404457334, 166 0., // zero padding is ignored 167 0. // zero padding is ignored 162 168 }; 163 169 164 constant double Gauss150Wt[15 0]={170 constant double Gauss150Wt[152]={ 165 171 0.0003276086705538, 166 172 0.0007624720924706, … … 312 318 0.0011976474864367, 313 319 0.0007624720924706, 314 0.0003276086705538 320 0.0003276086705538, 321 0., // zero padding is ignored 322 0. // zero padding is ignored 315 323 };
Note: See TracChangeset
for help on using the changeset viewer.