Last change
on this file since 756 was
188,
checked in by srkline, 15 years ago
|
removed depricated #pragma statement for structure alignment and replaced with proper includes as directed by WM.
Mac resource file has additional threadsafe declarations
|
-
Property svn:executable set to
*
|
File size:
1010 bytes
|
Line | |
---|
1 | /* |
---|
2 | ResolutionSmearing.h -- |
---|
3 | */ |
---|
4 | |
---|
5 | #include "XOPStructureAlignmentTwoByte.h" |
---|
6 | |
---|
7 | /* Prototypes */ |
---|
8 | typedef struct SmearParams { |
---|
9 | double x; //Independent Variable |
---|
10 | waveHndl waveHandle; // Coefficient wave |
---|
11 | double i_shad; |
---|
12 | double i_qbar; |
---|
13 | double i_sigq; |
---|
14 | double result; |
---|
15 | }SmearParams, *SmearParamsPtr; |
---|
16 | |
---|
17 | typedef struct GenSmearParams { |
---|
18 | double x; //Independent Variable |
---|
19 | waveHndl waveHandle; // Coefficient wave |
---|
20 | double i_shad; |
---|
21 | double i_qbar; |
---|
22 | double i_sigq; |
---|
23 | Handle funcname; |
---|
24 | double result; |
---|
25 | }GenSmearParams, *GenSmearParamsPtr; |
---|
26 | |
---|
27 | typedef struct PassParams { |
---|
28 | waveHndl waveHandle; |
---|
29 | double x; |
---|
30 | }PassParams, *PassParamsPtr; |
---|
31 | |
---|
32 | #include "XOPStructureAlignmentReset.h" |
---|
33 | |
---|
34 | /* IGOR Fit Functions */ |
---|
35 | int Smear_Model_20_X(GenSmearParamsPtr p); |
---|
36 | int Smear_Model_76_X(GenSmearParamsPtr p); |
---|
37 | int SmearedCyl_PolyRadiusX(SmearParamsPtr p); |
---|
38 | |
---|
39 | |
---|
40 | static double qtrap_USANS(FunctionInfo fi, PassParams p, double aa, double bb, double eps, int maxit); |
---|
41 | static double trapzd_USANS(FunctionInfo fi, PassParams p, double aa, double bb, int nn); |
---|
Note: See
TracBrowser
for help on using the repository browser.