McXtrace logo

McXtrace - An X-ray ray-trace simulation package

Synchrotron SOLEIL DTU Physics

McXtrace

About McXtrace
 Publications
 Project Partners
 Project People
 Goal

Download
 Components

Documentation
 Manual
 Commands
 Wiki (GitHub)
 Tutorial

Mailing list

Links

Search

Code-repository (GitHub)

Report bugs (GitHub)


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-02-07 21:31:39


Last Modified: Wednesday, 11-May-2022 22:46:11 CEST
Search website mailinglist archive GitHub repos