source: sasmodels/sasmodels/models/lib/gauss76.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: 3.4 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 76
15 #define GAUSS_Z Gauss76Z
16 #define GAUSS_W Gauss76Wt
17
18// Gaussians
19constant double Gauss76Wt[76]={
20        .00126779163408536,             //0
21        .00294910295364247,
22        .00462793522803742,
23        .00629918049732845,
24        .00795984747723973,
25        .00960710541471375,
26        .0112381685696677,
27        .0128502838475101,
28        .0144407317482767,
29        .0160068299122486,
30        .0175459372914742,              //10
31        .0190554584671906,
32        .020532847967908,
33        .0219756145344162,
34        .0233813253070112,
35        .0247476099206597,
36        .026072164497986,
37        .0273527555318275,
38        .028587223650054,
39        .029773487255905,
40        .0309095460374916,              //20
41        .0319934843404216,
42        .0330234743977917,
43        .0339977794120564,
44        .0349147564835508,
45        .0357728593807139,
46        .0365706411473296,
47        .0373067565423816,
48        .0379799643084053,
49        .0385891292645067,
50        .0391332242205184,              //30
51        .0396113317090621,
52        .0400226455325968,
53        .040366472122844,
54        .0406422317102947,
55        .0408494593018285,
56        .040987805464794,
57        .0410570369162294,
58        .0410570369162294,
59        .040987805464794,
60        .0408494593018285,              //40
61        .0406422317102947,
62        .040366472122844,
63        .0400226455325968,
64        .0396113317090621,
65        .0391332242205184,
66        .0385891292645067,
67        .0379799643084053,
68        .0373067565423816,
69        .0365706411473296,
70        .0357728593807139,              //50
71        .0349147564835508,
72        .0339977794120564,
73        .0330234743977917,
74        .0319934843404216,
75        .0309095460374916,
76        .029773487255905,
77        .028587223650054,
78        .0273527555318275,
79        .026072164497986,
80        .0247476099206597,              //60
81        .0233813253070112,
82        .0219756145344162,
83        .020532847967908,
84        .0190554584671906,
85        .0175459372914742,
86        .0160068299122486,
87        .0144407317482767,
88        .0128502838475101,
89        .0112381685696677,
90        .00960710541471375,             //70
91        .00795984747723973,
92        .00629918049732845,
93        .00462793522803742,
94        .00294910295364247,
95        .00126779163408536              //75 (indexed from 0)
96};
97
98constant double Gauss76Z[76]={
99        -.999505948362153,              //0
100        -.997397786355355,
101        -.993608772723527,
102        -.988144453359837,
103        -.981013938975656,
104        -.972229228520377,
105        -.961805126758768,
106        -.949759207710896,
107        -.936111781934811,
108        -.92088586125215,
109        -.904107119545567,              //10
110        -.885803849292083,
111        -.866006913771982,
112        -.844749694983342,
113        -.822068037328975,
114        -.7980001871612,
115        -.77258672828181,
116        -.74587051350361,
117        -.717896592387704,
118        -.688712135277641,
119        -.658366353758143,              //20
120        -.626910417672267,
121        -.594397368836793,
122        -.560882031601237,
123        -.526420920401243,
124        -.491072144462194,
125        -.454895309813726,
126        -.417951418780327,
127        -.380302767117504,
128        -.342012838966962,
129        -.303146199807908,              //30
130        -.263768387584994,
131        -.223945802196474,
132        -.183745593528914,
133        -.143235548227268,
134        -.102483975391227,
135        -.0615595913906112,
136        -.0205314039939986,
137        .0205314039939986,
138        .0615595913906112,
139        .102483975391227,                       //40
140        .143235548227268,
141        .183745593528914,
142        .223945802196474,
143        .263768387584994,
144        .303146199807908,
145        .342012838966962,
146        .380302767117504,
147        .417951418780327,
148        .454895309813726,
149        .491072144462194,               //50
150        .526420920401243,
151        .560882031601237,
152        .594397368836793,
153        .626910417672267,
154        .658366353758143,
155        .688712135277641,
156        .717896592387704,
157        .74587051350361,
158        .77258672828181,
159        .7980001871612, //60
160        .822068037328975,
161        .844749694983342,
162        .866006913771982,
163        .885803849292083,
164        .904107119545567,
165        .92088586125215,
166        .936111781934811,
167        .949759207710896,
168        .961805126758768,
169        .972229228520377,               //70
170        .981013938975656,
171        .988144453359837,
172        .993608772723527,
173        .997397786355355,
174        .999505948362153                //75
175};
Note: See TracBrowser for help on using the repository browser.