[mcstas-users] Using Guide _anyshape

Peter Link Peter.Link at frm2.tum.de
Tue Oct 13 13:03:52 CEST 2015


Hi,
I tried to use the Guide_anyshape component, and to start with I created 
a simple rectangular shaped guide element (i.e. 8 vertices and 4 faces, 
see nl2b.off below). The execution crashed with a Mem Error. The shape 
looks correct, if look at with an external off viewer...
Does anyone out there has already used this component, to give me hint 
what's wrong...
Best regards, Peter


Simulation output:

Loading geometry file (OFF/PLY): nl2/nl2b.off
Warning: Read_Table :nl2/nl2b.off at 154  catenated Data has 22 values that sh
ould be 5 x 5
   Number of polygons: 4
   Number of vertices: 8

# McStas 2.2a - May. 29, 2015: [pid 6196] Signal 11 detected SIGSEGV 
(Mem Error)

# Simulation: NL2b (E:/41-mcstas-data/sr1/nl2b.instr)
# Breakpoint: NL2b_11_1 (Init) 0.00 % (       0.0/  100000.0)
# Date:      Tue Oct 13 13:00:09 2015
# Started:   Tue Oct 13 13:00:09 2015
# Last I/O Error: No error
# McStas 2.2a - May. 29, 2015: Simulation stop (abort).

Here the component description and off file used:


COMPONENT NL2b_11_1 = Guide_anyshape (
         geometry= "nl2/nl2b.off",
         R0=0.99,Qc=0.02174,alpha=4.25,m=2.0,W=0.0033)
   AT (0,0,2.001)  RELATIVE PREVIOUS
   ROTATED (0,0,0) RELATIVE PREVIOUS


"nl2b.off"
OFF
8 4 0
-0.006 -0.085 0
-0.006  0.085 0
  0.006  0.085 0
  0.006 -0.085 0
-0.006 -0.085 0.500
-0.006  0.085 0.500
  0.006  0.085 0.500
  0.006 -0.085 0.500
4 0 1 5 4
4 1 5 6 2
4 2 6 7 3
4 0 4 7 3



-- 
**********************************
Dr. Peter Link
Head of Neutron Optics
Heinz Maier-Leibnitz Zentrum (MLZ)
Technische Universität München
Lichtenbergstr. 1
85747 Garching
phone: +49 (0)89 289 14622
fax: +49 (0) 89 289 11694




More information about the mcstas-users mailing list