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

McStas

About McStas
 Conditions of use
 Authors/Contacts
 Project funding
 Screenshots

Download
 Components
 Linux Install (deb/rpm)
 Mac OS X Install
 Unix Install (src code)
 Windows Install
 Other Downloads (share)

Mailing list

Search web/mailinglist

Documentation
 McStas manual
 FAQ
 Known problems
 Publications
 C Compilers
 Other
 Tools
 Tutorial

Workshops/conferences

Developments

Links

Report bugs

Git

McStas Ubuntu live-dvd


McStas: Scatter_log_iterator Component

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

The Scatter_log_iterator Component

Iteration element for a Scatter_log

Identification

  • Author: Erik B Knudsen
  • Origin: DTU Physics
  • Date: November 2012
  • Version: 1.21

Description


This component marks the beginning of the region in trace in which pseudo-neutrons
are to be propagated. Pseudo-neutrons are neutrons which are generated by the function
compute_func from before and after SCATTER neutron states which have been logged by
a set of Scatter_logger/Scatter_logger_stop components.
N.B. This component should be immediately preceeded by an Arm. Any components between this one
and a subsequent Scatter_log_iterator_stop-component will be visited by the set of pseudo-neutrons
as if they were regular neutrons in the classical McStas-manner.

Input parameters

Parameters in boldface are required; the others are optional.
Name Unit Description Default
compute_func Address of the function that computes a psuedo neutron from before and after scatter states. NULL

Output parameters

Name Unit Description Default
nstate_initial  
s0  
s1  

Links


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

Generated automatically by McDoc, Peter Willendrup <peter.willendrup@risoe.dk> / Wed Apr 19 10:57:33 2017


Last Modified: Wednesday, 19-Apr-2017 12:57:33 CEST
Search website mailinglist archive GitHub repos