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

Download
 Components
 Other Downloads (share)

Mailing list

Search web/mailinglist

Documentation
 Wiki (GitHub)
 McStas manual
 Publications

Links

Report bugs (GitHub)

Code-repository (GitHub)


McStas: Scatter_log_iterator

[ Identification | Description | Input parameters | Links ]

The Scatter_log_iterator Component

Iteration element for a Scatter_log

Identification

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

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.
NameUnitDescriptionDefault
compute_funcAddress of the function that computes a psuedo neutron from before and after scatter states.NULL
AT ( , , ) RELATIVE
ROTATED ( , , ) RELATIVE

Links


[ Identification | Description | Input parameters | Links ]

Generated on 2023-09-19 20:01:36


Last Modified: Wednesday, 03-Jan-2024 19:59:10 CET
Search website mailinglist archive GitHub repos