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

# The `Guide_tapering` Component

## Identification

- Author: Uwe Filges
- Origin: McStas 1.6
- Date: 22/10/2003
- Version: 1.2

## Description

    Models a rectangular guide tube centered on the Z axis. The entrance lies
    in the X-Y plane.
    The guide may be tapered.

     Example1:Guide_tapering(w1=0.1, h1=0.18, linw=0.1, loutw=0.1,
     linh=0.1, louth=0.1, l=1.5, option="elliptical", R0=0.99,
     Qcx=0.021, Qcy=0.021, alphax=6.07, alphay=6.07, W=0.003,
     mx=1, my=1, segno=800)

     Example2:Guide_tapering(w1=0, h1=0, linw=0, loutw=0,
     linh=0, louth=0, l=1.5, option="file=ownfunction.txt", R0=0.99,
     Qcx=0.021, Qcy=0.021, alphax=6.07, alphay=6.07, W=0.003,
     mx=1, my=1)

## Input parameters

Parameters in boldface are required; the others are optional.

Name | Unit | Description | Default
--- | --- | --- | ---
option |  |  | 0
segno | 1 | number of segments (z-axis) for cutting the tube | 800
w1 | m | Width at the guide entry | 0
h1 | m | Height at the guide entry left and right horizontal mirrors left and right horizontal mirrors | 0
l | m | length of guide |
linw |  |  | 0
loutw |  |  | 0
linh | m | distance of 1st focal point and real guide entry - top and bottom vertical mirrors | 0
louth | m | distance of real guide exit and 2nd focal point - top and bottom vertical mirrors options are: "elliptical" - define elliptical function of guide walls "parabolical" - define parabolical function of guide walls "file=[filename]" - read in ASC-file with arbitrary definition for the curve of the guide walls | 0
R0 | 1 | Low-angle reflectivity | 0.99
Qcx | AA-1 | Critical scattering vector for left and right vertical mirrors in each channel | 0.021
Qcy | AA-1 | Critical scattering vector for top and bottom mirrors | 0.021
alphax | AA | Slope of reflectivity for left and right vertical mirrors in each channel | 6.07
alphay | AA | Slope of reflectivity for top and bottom mirrors | 6.07
W | AA-1 | Width of supermirror cut-off for all mirrors | 0.003
mx | 1 | m-value of material for left and right vertical mirrors in each channel. Zero means completely absorbing. | 1
my | 1 | m-value of material for top and bottom mirrors. Zero means completely absorbing. | 1

## Output parameters

Name | Unit | Description | Default
--- | --- | --- | ---
w1c |  |  |
w2c |  |  |
ww |  |  |
hh |  |  |
whalf |  |  |
hhalf |  |  |
lwhalf |  |  |
lhhalf |  |  |
h1_in |  |  |
h2_out |  |  |
w1_in |  |  |
w2_out |  |  |
l_seg |  |  |

## Links

- Source code for `Guide_tapering.comp`.

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