source: sans/Analysis/branches/ajj_23APR07/XOPs/SANSAnalysis/ResolutionSmearing.h @ 93

Last change on this file since 93 was 93, checked in by ajj, 16 years ago

Add combined XOP code. Currently only contains XCode project file to build Universal binary suitable for Igor 6.

  • Property svn:executable set to *
File size: 881 bytes
RevLine 
[93]1/*
2        ResolutionSmearing.h --
3*/
4
5
6
7/* Prototypes */
8typedef 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
17typedef 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
27typedef struct PassParams {
28        waveHndl waveHandle;
29        DOUBLE x;
30}PassParams, *PassParamsPtr;
31
32/* IGOR Fit Functions */
33int Smear_Model_20_X(GenSmearParamsPtr p);
34int Smear_Model_76_X(GenSmearParamsPtr p);
35
36static DOUBLE qtrap_USANS(FunctionInfo fi, PassParams p, DOUBLE aa, DOUBLE bb, DOUBLE eps, int maxit);
37static DOUBLE trapzd_USANS(FunctionInfo fi, PassParams p, DOUBLE aa, DOUBLE bb, int nn);
Note: See TracBrowser for help on using the repository browser.