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)


The multi_pipe McStas Component

14.37  The multi_pipe McStas Component

multi-pipe circular slit.

Identification

  • Author: Uwe Filges

  • Origin: PSI

  • Date: March, 2005

Description

No transmission around the slit is allowed.

example for an input file # user defined geometry

# x(i) y(i) r(i) [m]
0.02 0.03 0.01
-0.04 0.015 0.005

warning: at least two values must be in the file

Example: multi_pipe(xmin=-0.01, xmax=0.01, ymin=-0.01, ymax=0.01)

Input parameters

Parameters in boldface are required; the others are optional.

Name

Unit

Description

Default

filename

str

define user table of holes

0

xmin

m

Lower x bound

xmax

m

Upper x bound

ymin

m

Lower y bound

ymax

m

Upper y bound

radius

m

radius of a single hole

0.0

gap

m

distance between holes

0.0

thickness

m

thickness of the pipe

0.0

xwidth

m

Width of slit plate. Overrides xmin,xmax.

0

yheight

m

Height of slit plate. Overrides ymin,ymax.

0

Links

  • Component source code found in file multi_pipe.comp.


Last Modified: Tuesday, 06-Oct-2026 21:19:11 CEST
Search website mailinglist archive GitHub repos