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

[ Identification | Description | Input parameters | Links ]

The Mirror_surface Component

A Mirror surface process

Identification

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

Description

This is a Union surface process that describes a supermirror or other surface
that only have specular reflection. The reflectivity can be given as a file
or using the standard reflectivity inputs. To use this in a simulation an
instance of this component should be defined in the instrument file, then
attatched to one or more geometries in their surface stacks pertaining to
each face of the geometry.

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


Algorithm:
Described elsewhere

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
reflectstrName of reflectivity file. Format q(Angs-1) R(0-1)0
R01Low-angle reflectivity0.99
QcAA-1Critical scattering vector0.0219
alphaAASlope of reflectivity6.07
m1m-value of material. Zero means completely absorbing.2
WAA-1Width of supermirror cut-off0.003
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