|
|
|
|
![]() |
![]() |
![]() | ||||||||||||||||||||||||||||||||
|
About McStas Download Documentation |
3.7 The Adapt_check McStas ComponentOptimization specifier for the Source_adapt component.
Identification
DescriptionThis 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 parametersParameters in boldface are required; the others are optional.
Links
The adaptive importance sampling monitorThe component Adapt_check is used together with the Source_adapt component - see section 3.6 for details. When placed somewhere in an instrument using Source_adapt as a source, the source will optimize for neutrons that reach that point without being absorbed (regardless of neutron position, divergence, wavelength, etc). The Adapt_check component takes as single input parameter source_comp the name of the Source_adapt component instance, for example: 1... 2COMPONENT mysource = Source_adapt(...) 3... 4COMPONENT mycheck = Adapt_check(source_comp = mysource) 5... Only one instance of Adapt_check is allowed in an instrument. We suggest, as alternative method, to make use of the SPLIT keyword, as described in the McStas User Manual.
|
|||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||