[ Identification | Description | Input parameters | Links ]
Pol_constBfield
ComponentRectangular box with constant B field along y-axis (up). The component can be rotated to make either a guide field or a spin flipper. A neutron hitting outside the box opening or the box sides is absorbed. Example: Pol_constBfield(xwidth=0.1, yheight=0.1, zdepth=0.2, fliplambda=5.0)
Name | Unit | Description | Default | |
xwidth | m | Width of opening | ||
yheight | m | Height of opening | ||
zdepth | m | Length of field | ||
B | Gauss | Magnetic field along y-direction | 0 | |
fliplambda | lambda for calculating B field | 0 | ||
flipangle | Angle flipped for lambda = fliplambda fliplambda and flipangle overrides B so a neutron with s= (1, 0, 0) and v = (0, 0, v(fliplambda)) will have s =(cos(flipangle), sin(flipangle), 0) after the section. | 180 |
AT ( | , | , | ) RELATIVE | |||
---|---|---|---|---|---|---|
ROTATED ( | , | , | ) RELATIVE |
Pol_constBfield.comp
.
[ Identification | Description | Input parameters | Links ]
Generated on 2023-09-19 20:01:36