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

[ Identification | Description | Input parameters | Links ]

The Incoherent_process Component

A sample component to separate geometry and phsysics


  • Site:
  • Author: Mads Bertelsen
  • Origin: University of Copenhagen
  • Date: 20.08.15


This Union_process is based on the Incoherent.comp component originally written
by Kim Lefmann and Kristian Nielsen

Part of the Union components, a set of components that work together and thus
sperates geometry and physics within McStas.
The use of this component requires other components to be used.

1) One specifies a number of processes using process components like this one
2) These are gathered into material definitions using Union_make_material
3) Geometries are placed using Union_box / Union_cylinder, assigned a material
4) A Union_master component placed after all of the above

Only in step 4 will any simulation happen, and per default all geometries
defined before the master, but after the previous will be simulated here.

There is a dedicated manual available for the Union_components

Described elsewhere

Input parameters

Parameters in boldface are required; the others are optional.
sigmabarnsIncoherent scattering cross section5.08
f_QE1Fraction of quasielastic scattering (rest is elastic) [1]0
gammameVLorentzian width of quasielastic broadening (HWHM) [1]0
packing_factor1How dense is the material compared to optimal 0-11
unit_cell_volumeAA^3Unit cell volume13.8
interact_fraction1How large a part of the scattering events should use this process 0-1 (sum of all processes in material = 1)-1
initstringname of Union_init component (typically "init", default)"init"


[ Identification | Description | Input parameters | Links ]

Generated on 2023-09-19 20:01:36

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