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

McStas
site 2

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: Tuesday, 17-Sep-2024 05:31:13 CEST
Search website mailinglist archive GitHub repos