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

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

[ Identification | Description | Input parameters | Links ]

The Union_make_material Component

Component that takes a number of Union processes and constructs a Union material

Identification

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

Description

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
2) These are gathered into material definitions using this component
3) Geometries are placed using Union_box/cylinder/sphere, 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

Algorithm:
Described elsewhere

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
process_stringstringComma seperated names of physical processes"NULL"
my_absorption1/mInverse penetration depth from absorption at standard energy
absorber0/1Control parameter, if set to 1 the material will have no scattering processes0
refraction_densityg/cm3Density of the refracting material. density < 0 means the material is outside/before the shape.0
refraction_sigma_cohbarnCoherent cross section of refracting material. Use negative value to indicate a negative coherent scattering length0
refraction_weightg/molMolar mass of the refracting material0
refraction_SLDAA^-2Scattering length density of material (overwrites sigma_coh, density and weight)-1500
initstringName of Union_init component (typically "init", default)"init"
AT ( , , ) RELATIVE
ROTATED ( , , ) RELATIVE

Links


[ Identification | Description | Input parameters | Links ]

Generated on mcstas 3.6.1


Last Modified: Friday, 12-Dec-2025 12:58:06 CET
Search website mailinglist archive GitHub repos