Changeset 825
- Timestamp:
- Jul 25, 2011 4:29:30 PM (12 years ago)
- Location:
- sans/XOP_Dev/MonteCarlo
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/XOP_Dev/MonteCarlo/MonteCarlo.c
r812 r825 52 52 double vz_1,g,yg_d; //gravity terms 53 53 54 vz_1 = 3.956e5; //velocity [cm/s] of 1 A neutron 55 g = 981.0; //gravity acceleration [cm/s^2] 54 56 55 57 56 // for accessing the 2D wave data, direct method (see the WaveAccess example XOP) … … 71 70 // char buf[256]; 72 71 72 vz_1 = 3.956e5; //velocity [cm/s] of 1 A neutron 73 g = 981.0; //gravity acceleration [cm/s^2] 74 73 75 /* check that wave handles are all valid */ 74 76 if (p->inputWaveH == NIL) { -
sans/XOP_Dev/MonteCarlo/MonteCarlo2.c
r812 r825 55 55 double vz_1,g,yg_d; //gravity terms 56 56 57 vz_1 = 3.956e5; //velocity [cm/s] of 1 A neutron 58 g = 981.0; //gravity acceleration [cm/s^2] 59 57 60 58 61 59 // for accessing the 2D wave data, direct method (see the WaveAccess example XOP) … … 74 72 75 73 // char buf[256]; 76 74 75 vz_1 = 3.956e5; //velocity [cm/s] of 1 A neutron 76 g = 981.0; //gravity acceleration [cm/s^2] 77 77 78 /* check that wave handles are all valid */ 78 79 if (p->inputWaveH == NIL) { -
sans/XOP_Dev/MonteCarlo/MonteCarlo3.c
r812 r825 54 54 double vz_1,g,yg_d; //gravity terms 55 55 56 vz_1 = 3.956e5; //velocity [cm/s] of 1 A neutron 57 g = 981.0; //gravity acceleration [cm/s^2] 58 56 59 57 // for accessing the 2D wave data, direct method (see the WaveAccess example XOP) 60 58 waveHndl wavH; … … 72 70 73 71 // char buf[256]; 72 73 vz_1 = 3.956e5; //velocity [cm/s] of 1 A neutron 74 g = 981.0; //gravity acceleration [cm/s^2] 74 75 75 76 /* check that wave handles are all valid */ -
sans/XOP_Dev/MonteCarlo/MonteCarlo4.c
r812 r825 55 55 double vz_1,g,yg_d; //gravity terms 56 56 57 vz_1 = 3.956e5; //velocity [cm/s] of 1 A neutron 58 g = 981.0; //gravity acceleration [cm/s^2] 59 57 60 58 // for accessing the 2D wave data, direct method (see the WaveAccess example XOP) 61 59 waveHndl wavH; … … 73 71 74 72 // char buf[256]; 73 74 vz_1 = 3.956e5; //velocity [cm/s] of 1 A neutron 75 g = 981.0; //gravity acceleration [cm/s^2] 75 76 76 77 /* check that wave handles are all valid */ -
sans/XOP_Dev/MonteCarlo/SANSMonteCarloWinCustom.rc
r676 r825 108 108 0, 109 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 110 158 0, 111 159 END
Note: See TracChangeset
for help on using the changeset viewer.