source: sasmodels/sasmodels/models/lib/gauss20.c @ 74768cb

core_shell_microgelsmagnetic_modelticket-1257-vesicle-productticket_1156ticket_1265_superballticket_822_more_unit_tests
Last change on this file since 74768cb was 74768cb, checked in by Paul Kienzle <pkienzle@…>, 6 years ago

update models to use generic GAUSS_N, GAUSS_Z, GAUSS_W rather than specific gauss size

  • Property mode set to 100644
File size: 1.1 KB
Line 
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 */
9 #ifdef GAUSS_N
10 # undef GAUSS_N
11 # undef GAUSS_Z
12 # undef GAUSS_W
13 #endif
14 #define GAUSS_N 20
15 #define GAUSS_Z Gauss20Z
16 #define GAUSS_W Gauss20Wt
17
18// Gaussians
19constant double Gauss20Wt[20]={
20        .0176140071391521,
21        .0406014298003869,
22        .0626720483341091,
23        .0832767415767047,
24        .10193011981724,
25        .118194531961518,
26        .131688638449177,
27        .142096109318382,
28        .149172986472604,
29        .152753387130726,
30        .152753387130726,
31        .149172986472604,
32        .142096109318382,
33        .131688638449177,
34        .118194531961518,
35        .10193011981724,
36        .0832767415767047,
37        .0626720483341091,
38        .0406014298003869,
39        .0176140071391521
40};
41
42constant double Gauss20Z[20]={
43        -.993128599185095,
44        -.963971927277914,
45        -.912234428251326,
46        -.839116971822219,
47        -.746331906460151,
48        -.636053680726515,
49        -.510867001950827,
50        -.37370608871542,
51        -.227785851141645,
52        -.076526521133497,
53        .0765265211334973,
54        .227785851141645,
55        .37370608871542,
56        .510867001950827,
57        .636053680726515,
58        .746331906460151,
59        .839116971822219,
60        .912234428251326,
61        .963971927277914,
62        .993128599185095
63};
Note: See TracBrowser for help on using the repository browser.