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


About McStas
 Conditions of use
 Project funding

 Other Downloads (share)

Mailing list

Search web/mailinglist

 Wiki (GitHub)
 McStas manual


Report bugs (GitHub)

Code-repository (GitHub)

McStas: Scatter_log_iterator_stop Component

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

The Scatter_log_iterator_stop Component

Iteration stop element for a Scatter_log


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


This component marks the end of the trace-region in which pseudo-neutrons are handled. 
  Please see the Scatter_log_iterator-component for more details.

N.B. This component must be immediately followed by a construction like:
  COMPONENT iter1 = Scatter_log_iterator(...)
  COMPONENT iter2 = Scatter_log_iterator_stop(iterator="iter1") AT (...)
  COMPONENT a1 = Arm()
  AT (0,0,0) ABSOLUTE
  JUMP a0 WHEN(COMP_GETPAR(iter2, loop))

This is to extract the value of the loop variable from the innards of this component

Input parameters



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

Generated automatically by McDoc, Peter Willendrup <> / Wed Jan 12 15:13:20 2022

Last Modified: Wednesday, 12-Jan-2022 16:13:20 CET
Search website mailinglist archive GitHub repos