McStas logo McStas - A neutron ray-trace simulation package ILL; PSI; Niels Bohr Institute DTU Physics

McStas

About McStas
 Conditions of use
 Authors/Contacts
 Project funding
 Screenshots

Download
 Components
 Share

Mailing list

Search web/mailinglist

Documentation
 McStas manual
 FAQ
 Known problems
 Publications
 C Compilers
 Other
 Tutorial

Workshops/conferences

Developments
 Platforms

Links

Report bugs

SVN

McStas Ubuntu live-dvd


McStas: Virtual_tripoli4_output Component

[ Identification | Description | Input parameters | Output parameters | Links ]

The Virtual_tripoli4_output Component

Detector-like component that writes neutron state parameters into a 'virtual source' neutron file when neutrons come from the source : Virtual_tripoli4_input.comp

Identification

Description

Detector-like component writing neutron state parameters to a
virtual source neutron file when neutron are coming from a
Virtual_tripoli4_input.comp.
As McStas keeps the notion of batch with this component, it's possible
to calculate standard deviations for the flux in differents energy groupes.
The component geometry is the full plane, and saves the neutron state as
it exits from the previous component.
Format is the one used by TRIPOLI4.4 stock files :

  NEUTRON energy position_X position_Y position_Z dir_X dir_Y dir_Z weight

energy is in Mega eV
positions are in cm and the direction vector is normalized to 1.

%BUGS
We recommend not to use parallel execution (MPI/Threads) with this component.

EXAMPLE:
To create a file collecting all neutron states with TRIPOLI4 format
COMPONENT fichier_sortie = Virtual_tripoli4_output(
   file = "exit_guide_result.dat",
   virtual_tripoli4_input_comp = source_file_tripoli )
 at the position where will be the Virtual_tripoli4_input.

WARNING: This is a contributed Component.

Input parameters

Parameters in boldface are required; the others are optional.
Name Unit Description Default
file str name of the Tripoli4 neutron output file, or stdout if left to 0. 0
virtual_tripoli4_input_comp 0
batch 1 index of the Tripoli batch to generate, when no Tripoli4_input component is available in instrument. 1

Output parameters

Name Unit Description Default
hfile  
previous_batch  

Links


[ Identification | Description | Input parameters | Output parameters | Links ]

Generated automatically by McDoc, Peter Willendrup <peter.willendrup@risoe.dk> / Fri May 11 08:41:09 2012


Last Modified: Friday, 11-May-2012 10:41:09 CEST
Search website freshmeat.net McStas site RSS feed mailinglist archive SVN repos McCode Trac