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
 McStas manual
 Known problems
 Publications

Workshops/conferences

Developments

Links <- UPDATED!

Report bugs

Git


McStas: NCrystal_sample Component

[ Identification | Description | Input parameters | Output parameters | Links ]

The NCrystal_sample Component

McStas sample component for the NCrystal scattering library. Find more information at the NCrystal wiki. In particular, browse the available datafiles at Data-library and read about format of the configuration string expected in the "cfg" parameter at Using-NCrystal.

NCrystal is available under the Apache 2.0 license. Depending on the configuration choices, optional NCrystal modules under different licenses might be enabled - see About for more details.

Identification

  • Author: NCrystal developers
  • Origin: NCrystal Developers (European Spallation Source ERIC and DTU Nutech)
  • Date:(Unknown)
  • Version: 0.9.4

Description


McStas sample component for the NCrystal scattering library

WARNING: This is a contributed Component.

Input parameters

Parameters in boldface are required; the others are optional.
Name Unit Description Default
cfg str NCrystal material configuration string (details on this page). ""
absorptionmode 0|1|2 0 : disable absorption. 1 : enable absorption via intensity reduction. 2 : enable absorption by terminating the tracking. 1
multscatt 0|1 0 : disable multiple scattering. 1 : enable multiple scattering 1
xwidth m x-dimension (width) of sample, if box shape is desired 0
yheight m y-dimension (height) of sample, if box or cylinder shape is desired 0
zdepth m z-dimension (depth) of sample, if box shape is desired 0
radius m radius of sample, if sphere or cylinder shape is desired 0

Output parameters

Name Unit Description Default
params  
geoparams  

Links


[ Identification | Description | Input parameters | Output parameters | Links ]

Generated automatically by McDoc, Peter Willendrup <peter.willendrup@risoe.dk> / Fri Oct 11 07:30:14 2019


Last Modified: Friday, 11-Oct-2019 09:30:14 CEST
Search website mailinglist archive GitHub repos