[mcstas-users] Problem about McStas version 1.12

wokaoyan1981 wokaoyan1981 at 126.com
Mon Aug 4 09:04:00 CEST 2008


Hello colleagues,

I updated McStas to version 1.12. Learning to use component Virtual_output and Virtual_input,a problem is met:
I've got "DataAfterSource_list.p.x.y.z.vx.vy.vz.t.sx.sy.sz"  running  the codes below(ncount=1e7):

COMPONENT Origin = Progress_bar()
  AT (0,0,0) ABSOLUTE

COMPONENT source = Source_simple(
    radius = 0.2, dist = 1, xw = 0.05, yh = 0.05, Lambda0 = 1.2,
    dLambda = 0.1)
  AT (0, 0, 0) RELATIVE Origin

COMPONENT DataAfterSource = Virtual_output(
    file = "DataAfterSource")
  AT (0, 0, 0.2) RELATIVE source

In the same directory, new instrument is set as:

COMPONENT mysource = Virtual_input(
    file = "DataAfterSource_list.p.x.y.z.vx.vy.vz.t.sx.sy.sz", verbose = 1, repeat_count = 1)
  AT (0, 0, 0) ABSOLUTE


COMPONENT LDafterSource = L_monitor(
    filename = "LDafterSource.txt", xwidth = 0.2, yheight = 0.2,
    Lmin = 0.8, Lmax = 1.5)
  AT (0, 0, 0.5) RELATIVE PREVIOUS

   I run it with ncount=1e7(corresponding to repeat_count=1), plot result,format:Scilab. But the expected LDafterSource.sci file is not created. Only a mcstas.sci is made.  Then how can I take a look at the results on detector?

   By the way, the "Test McStas installation" does not work properly and files could not be saved under non_English directories.

Regards,
Tom




 

 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman2.mcstas.org/pipermail/mcstas-users/attachments/20080804/09b753de/attachment.html>
-------------- next part --------------
_______________________________________________
mcstas-users mailing list
mcstas-users at mcstas.org
http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users


More information about the mcstas-users mailing list