source: sans/XOP_Dev/MonteCarlo/SANSMonteCarloWinCustom.rc @ 996

Last change on this file since 996 was 825, checked in by srkline, 12 years ago

Added new DebyeSphere? functions to the Win.rc file

Changed the MonteCarlo?.c files to do all of the declarations before any assignments. This was generating a heap of errors in VC10, but no problems in Xcode.

XOPs all seem to compile fine on the newly set up sansvm2.

File size: 4.9 KB
Line 
1/*      XOP-specific resources for XOP1 on Windows
2
3        This file is compiled by the resource compiler and creates XOP-specific
4        resources that IGOR looks for in an XOP module.
5*/
6
7#include "XOPResources.h"                       // Defines XOP-specific symbols.
8
9/* no custom error messages */
10
11/* no menu item */
12
131100 XOPI                                                       // XOPI - Describes general XOP properties to IGOR.
14BEGIN
15        XOP_VERSION,                                    // Version number of host XOP system.
16        DEV_SYS_CODE,                                   // Code for development system used to make XOP.
17        0,                                                              // Obsolete - set to zero.
18        0,                                                              // Obsolete - set to zero.
19        XOP_TOOLKIT_VERSION                             // XOP Toolkit version.
20END
21
221100 STR#
23BEGIN
24        /* [1] */
25        "SANSMonteCarlo requires Igor Pro 6.1 or later",
26        /* [2] */
27        "Wave does not exist.",
28        /* [3] */
29        "Coefficient wave must be double precision floating point.",
30        /* Null to terminate resource */
31        "\0"
32END
33
341101 STR#
35BEGIN
36        "-1",                                                           // -1 means we don't want to add a menu item.
37        "No Menu Item",                                         // Igor ignores item 2 because item 1 is -1.
38        "SANSMonteCarlo Help",                                  // Name of XOP's help file.
39        "\0"                                                            // Null to terminate resource
40END
41
42
431100 XOPF
44BEGIN
45///             
46                "Monte_SANSX\0",                /* function name */
47                F_UTIL | F_THREADSAFE | F_EXTERNAL,                                     /* function category == UTILITY */
48                NT_FP64,                                                        /* return value type */                 
49                        NT_FP64 + WAVE_TYPE,
50                        NT_FP64 + WAVE_TYPE,
51                        NT_FP64 + WAVE_TYPE,
52                        NT_FP64 + WAVE_TYPE,
53                        NT_FP64 + WAVE_TYPE,
54                        NT_FP64 + WAVE_TYPE,
55                        NT_FP64 + WAVE_TYPE,
56                        NT_FP64 + WAVE_TYPE,
57                        0,
58
59                "Monte_SANSX2\0",               /* function name */
60                F_UTIL | F_THREADSAFE | F_EXTERNAL,                                     /* function category == UTILITY */
61                NT_FP64,                                                        /* return value type */                 
62                        NT_FP64 + WAVE_TYPE,
63                        NT_FP64 + WAVE_TYPE,
64                        NT_FP64 + WAVE_TYPE,
65                        NT_FP64 + WAVE_TYPE,
66                        NT_FP64 + WAVE_TYPE,
67                        NT_FP64 + WAVE_TYPE,
68                        NT_FP64 + WAVE_TYPE,
69                        NT_FP64 + WAVE_TYPE,
70                        0,
71               
72                "DebyeSpheresX\0",                                              /* function name */
73                F_UTIL | F_THREADSAFE | F_EXTERNAL,                             /* function category == Utility */
74                NT_FP64,                                                        /* return value type */
75                                                NT_FP64,                        /* double precision q-value */
76                        NT_FP32 + WAVE_TYPE,                            /* single precision wave (x coordinates) */
77                        NT_FP32 + WAVE_TYPE,                            /* single precision wave (y coordinates) */
78                        NT_FP32 + WAVE_TYPE,                            /* single precision wave (z coordinates) */
79                        NT_FP32 + WAVE_TYPE,                            /* single precision wave (rho at xyz) */
80                        NT_FP64,                                // Rprimary, the primary sphere radius
81                        NT_FP64,                                // grid, should be passed as 0.62*Rprimary
82                        0,
83               
84                "Monte_SANSX3\0",               /* function name */
85                F_UTIL | F_THREADSAFE | F_EXTERNAL,                                     /* function category == UTILITY */
86                NT_FP64,                                                        /* return value type */                 
87                        NT_FP64 + WAVE_TYPE,
88                        NT_FP64 + WAVE_TYPE,
89                        NT_FP64 + WAVE_TYPE,
90                        NT_FP64 + WAVE_TYPE,
91                        NT_FP64 + WAVE_TYPE,
92                        NT_FP64 + WAVE_TYPE,
93                        NT_FP64 + WAVE_TYPE,
94                        NT_FP64 + WAVE_TYPE,
95                        0,
96               
97                "Monte_SANSX4\0",               /* function name */
98                F_UTIL | F_THREADSAFE | F_EXTERNAL,                                     /* function category == UTILITY */
99                NT_FP64,                                                        /* return value type */                 
100                        NT_FP64 + WAVE_TYPE,
101                        NT_FP64 + WAVE_TYPE,
102                        NT_FP64 + WAVE_TYPE,
103                        NT_FP64 + WAVE_TYPE,
104                        NT_FP64 + WAVE_TYPE,
105                        NT_FP64 + WAVE_TYPE,
106                        NT_FP64 + WAVE_TYPE,
107                        NT_FP64 + WAVE_TYPE,
108                        0,
109
110
111                "maxDistanceX\0",               /* function name */
112                F_UTIL | F_THREADSAFE | F_EXTERNAL,                                     /* function category == UTILITY */
113                NT_FP64,                                                        /* return value type */                 
114                        NT_FP64 + WAVE_TYPE,
115                        NT_FP64 + WAVE_TYPE,
116                        NT_FP64 + WAVE_TYPE,
117                        NT_FP64,                                                // start index
118                        NT_FP64,                                                // stop index
119                        0,
120               
121                "binDistanceX\0",               /* function name */
122                F_UTIL | F_THREADSAFE | F_EXTERNAL,                                     /* function category == UTILITY */
123                NT_FP64,                                                        /* return value type */                 
124                        NT_FP64 + WAVE_TYPE,                    // XYZ waves
125                        NT_FP64 + WAVE_TYPE,
126                        NT_FP64 + WAVE_TYPE,
127                        NT_FP64 + WAVE_TYPE,                    // distance Bin wave (this is returned)
128                        NT_FP64,                                                // grid
129                        NT_FP64,                                                // bin width
130                        NT_FP64,                                                // start index
131                        NT_FP64,                                                // stop index
132                        0,
133               
134                "SobolX\0",             /* function name */
135                F_UTIL | F_EXTERNAL,                                    /* function category == UTILITY */
136                NT_FP64,                                                        /* return value type */                 
137                        NT_FP64,                                                // requested dimension (this is really an integer)
138                        NT_FP64 + WAVE_TYPE,                    // result wave
139                        0,
140               
141                "binSLDDistanceX\0",            /* function name */
142                F_UTIL | F_THREADSAFE | F_EXTERNAL,                                     /* function category == UTILITY */
143                NT_FP64,                                                        /* return value type */                 
144                        NT_FP64 + WAVE_TYPE,                    // XYZ waves
145                        NT_FP64 + WAVE_TYPE,
146                        NT_FP64 + WAVE_TYPE,
147                        NT_FP64 + WAVE_TYPE,                    // rho wave
148                        NT_FP64 + WAVE_TYPE,                    // distance Bin wave, 2D (this is returned)
149                        NT_FP64 + WAVE_TYPE,                    // SLD lookup
150                        NT_FP64 + WAVE_TYPE,                    // PSF id matrix
151                        NT_FP64,                                                // abs(minSLD) for lookup table
152                        NT_FP64,                                                // grid
153                        NT_FP64,                                                // bin width
154                        NT_FP64,                                                // start index
155                        NT_FP64,                                                // stop index
156                        0,
157
158        0,
159END
Note: See TracBrowser for help on using the repository browser.