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

McStas

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: Adapt_check

[ Identification | Description | Input parameters | Links ]

The Adapt_check Component

Optimization specifier for the Source_adapt component.

Identification

  • Site:
  • Author: Kristian Nielsen
  • Origin: Risoe
  • Date: 1999

Description

This components works together with the Source_adapt component, and
is used to define the criteria for selecting which neutrons are
considered "good" in the adaptive algorithm. The name of the
associated Source_adapt component in the instrument definition is
given as parameter. The component is special in that its position
does not matter; all neutrons that have not been absorbed prior to
the component are considered "good".

Example: Adapt_check(source_comp=MySource)

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
source_compno quotesThe name of the Source_adapt component in the instrument definition.
AT ( , , ) RELATIVE
ROTATED ( , , ) RELATIVE

Links


[ Identification | Description | Input parameters | Links ]

Generated on 2024-01-03 11:47:43


Last Modified: Tuesday, 16-Apr-2024 20:05:22 CEST
Search website mailinglist archive GitHub repos