McXtrace logo

McXtrace - An X-ray ray-trace simulation package

Synchrotron SOLEIL Niels Bohr Institute DTU Physics

McXtrace

About McXtrace
 Publications
 Project Partners
 Project People
 Goal

Download
 Components

Documentation
 Wiki (GitHub)
 Commands
 Manual
 Tutorial

Mailing list

Links

Code-repository (GitHub)

Search


McXtrace: Scatter_log_iterator

[ Identification | Description | Input parameters | Output 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_func Address of the function that computes a psuedo photon from before and after scatter states.NULL

Output parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
nstate_initial
s0
s1
optics_not_hit
absorbed_in_optics

Links


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

Generated on 2022-01-12 12:31:08


Last Modified: Wednesday, 12-Jan-2022 12:31:07 CET
Search website mailinglist archive GitHub repos