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

[ Identification | Description | Input parameters | Links ]

The Texture_process Component

Component for simulating textured powder in Union components


  • Site:
  • Author: Victor Laliena
  • Origin:
  • Date: 27.10.18 (last version, 09.07.19)


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

This component deals with the coherent elastic scattering on a textured material.
The texture is described through the coefficients of the generalized Fourier transform
of the Orientation Distribution Function (ODF).
The component expects as input two files, one containing the Fourier coefficients of the
ODF and another one with crystallographic and physical information.

Described elsewhere, see e.g.

Input parameters

Parameters in boldface are required; the others are optional.
crystal_fnsPath to a file (.laz) containing crystallographic and physical information0
fcoef_fnsPath to a text file containing the Fourier coefficients of the ODF. It must have five columns: l m n Real(Clmn) Imag(Clmn)0
lmax_user1Cut-off for the Fourier series. If negative, the program uses all the coefficients provided in the file fcoef_fn-1
barns1Flag to indicate if |F|^2 from 'crystal_fn' is in barns or fm^2. barns=1 for laz and isotropic constant elastic scattering (reflections=NULL), barns=0 for lau type files0
order1Limit scattering to this order0
interact_fraction1How large a part of the scattering events should use this process 0-1 (sum of all processes in material = 1)-1
packing_factor1How dense is the material compared to optimal 0-11
maxNeutronSaved1Maximum number of neutron cross sections saved for reusing1
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