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_stop

[ Identification | Description | Input parameters | Links ]

The Scatter_log_iterator_stop Component

Iteration stop element for a Scatter_log

Identification

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

Description

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

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
iteratorstringInstance name of the Scatter_log_iterator log component preceeding this one.
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