[neutron-mc] Problem with Virtual input

Chapon, LC (Laurent) L.C.Chapon at rl.ac.uk
Tue Jun 21 13:19:24 CEST 2005


Dear Peter, 
I am running under XP.
I have tried your example and I have the same problem to some extend. 

The output.instr file create the vout.dat, and it has the right size (860kb for 10000 neutrons). However, the input.instr file does not produce the correct result. I would expect N=10000 in the PSD detector if repeat_count=1, but I get only N=10? Do you have the same problem under LINUX? 

______________________________________
Dr Laurent Chapon
Instrument Scientist
ISIS department
Bldg R3
Rutherford Appleton Laboratory
Chilton, Didcot
OX11 0QX
UK
+44(0)1235-446090
 
-----Original Message-----
From: neutron-mc-bounces at risoe.dk [mailto:neutron-mc-bounces at risoe.dk] On Behalf Of Peter Willendrup
Sent: 21 June 2005 11:03
To: McStas users list at neutron.risoe.dk
Subject: Re: [neutron-mc] Problem with Virtual input

Hi Laurent,

On Fri, 2005-06-17 at 18:04 +0100, Chapon, LC (Laurent) wrote:
> Dear McStas team, 
> 
> I have been trying to use the Virtual Output and Input. It works fine
> with the "text" format but the "float" and "double" binary do not
> work. The file is created OK but when trying to read it back with a
> virtual input, I have 0 counts. 

Unfortunately I seem not to reproduce your problem with neither
mcstas-1.8 or the current CVS build. Tests done on Ubuntu GNU/Linux
(Debian).

Could you perhaps include some more specifics about your machine
environment and your instrument?

I have written two extremly simple instrument files that work fine here,
see attached.


Regards,

Peter

-- 
Peter Willendrup <peter.willendrup at risoe.dk>
Risø National Laboratory




More information about the mcstas-users mailing list