Skip to content

Commit 1dd8d5a

Browse files
committed
Remove use of auto limiting, may throw segfault on low stats / mpi due to incompatible merge...
1 parent 8e63634 commit 1dd8d5a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mcstas-comps/examples/ILL/ILL_H5_new/ILL_H5_new.instr

+3-3
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ COMPONENT H5_rect = Guide_gravity(w1=0.170, h1=0.12, l=1.0,
218218
AT(0,0,2.155) RELATIVE HCS
219219

220220
/* distribute the beam along channels */
221-
COMPONENT H53_origin = Monitor_nD(xwidth=0.06, yheight=0.120, options="dx dy, all auto", bins=25, restore_neutron=1)
221+
COMPONENT H53_origin = Monitor_nD(xwidth=0.06, yheight=0.120, options="dx limits=[-2 2] dy limits=[-2 2]", bins=25, restore_neutron=1)
222222
AT (0.17/2-0.06/2,0,1+gGap) RELATIVE H5 ROTATED (0,1.5,0) RELATIVE H5
223223
JUMP H53_start WHEN SCATTERED
224224

@@ -509,7 +509,7 @@ COMPONENT H52_Common_Out = Monitor_nD(xwidth=0.120, yheight=0.240)
509509
AT (0,0,0.01+gGap) RELATIVE PREVIOUS
510510

511511
/* distribute the H52 beam along channels 1 2 3 */
512-
COMPONENT H523_origin = Monitor_nD(xwidth=0.06, yheight=0.120, options="dx dy, all auto", bins=25, restore_neutron=1)
512+
COMPONENT H523_origin = Monitor_nD(xwidth=0.06, yheight=0.120, options="dx limits=[-2 2] dy limits=[-2 2] ", bins=25, restore_neutron=1)
513513
AT (0.03,-.06,0) RELATIVE H52_Common_Out
514514
JUMP H523_start WHEN SCATTERED
515515

@@ -1107,7 +1107,7 @@ COMPONENT H522_WASP_Sample_XY = Monitor_nD(xwidth=0.02, yheight=0.05,
11071107
AT (0,0,WASP_L+1.76) RELATIVE H522_Straight_Last
11081108

11091109
COMPONENT H522_WASP_Sample_L = Monitor_nD(xwidth=0.02, yheight=0.05,
1110-
options="auto limits=[1 10]", bins=50, restore_neutron=1)
1110+
options="wavelength limits=[1 10]", bins=50, restore_neutron=1)
11111111
AT (0,0,WASP_L+1.76) RELATIVE H522_Straight_Last
11121112

11131113
COMPONENT H522_WASP_Sample = Incoherent(radius=0.02,yheight=0.04,

0 commit comments

Comments
 (0)