[ Identification | Description | Input parameters | Output parameters | Links ]
Pol_FieldBox
ComponentRectangular box with a definable B field. The component corresponds to a setup of two slits (in/outgoing) plus starting and ending Pol_simpleBfield instances. Easy to use solution for e.g. precession fields and flipper fields. The current algorithm used for spin propagation is: SimpleNumMagnetPrecession in pol-lib. and does not handle gravity. GRAVITY: NO POLARISATION: YES Example: Pol_FieldBox(xw=0.1, yh=0.1, length=0.2, Bx=0, By=1, Bz=0)
Name | Unit | Description | Default |
---|---|---|---|
xw | m | Width of opening. | |
yh | m | Height of opening. | |
length | m | Length of field. | |
Bx | T | Parameter used for x composant of field. | |
By | T | Parameter used for y composant of field. | |
Bz | T | Parameter used for z composant of field. | |
nx | 1 | Number of field points to draw along x axis. | 5 |
ny | 1 | Number of field points to draw along y axis. | 5 |
nz | 1 | Number of field points to draw along z axis. | 5 |
fieldFunction | pointer | Function describing the magnetic field. | const_magnetic_field |
Name | Unit | Description | Default |
---|---|---|---|
gz | m/s/s | z-component of gravity | |
parPtr | pointer | Pointer to component magnet parameters |
Pol_FieldBox.comp
.
[ Identification | Description | Input parameters | Output parameters | Links ]
Generated automatically by McDoc, Peter Willendrup <peter.willendrup@risoe.dk> / Mon Feb 7 13:18:37 2011