Path: SC/Hardware
% Computes the magnetic field for a filament or loop magnetic element. One element is a current filament of finite length a, 'fila' and the other is a a current loop of radius a, 'loop'. h is for a unit current. The filament is aligned with the z-axis and goes from 0 to +a. The loop is in the xy-plane centered around the z-axis. Since version 2. -------------------------------------------------------------------------- Form: h = HMagEl( p, a, type ) -------------------------------------------------------------------------- ------ Inputs ------ p (3,:) Points at which to compute the magnetic field a Physical dimension type Either 'fila' or 'loop' ------- Outputs ------- h (3,:) The magnetic field -------------------------------------------------------------------------- References: Thome, J. R., J. M. Tarrh, "MHD and Fusion Magnets", John Wiley & Sons, 1982. --------------------------------------------------------------------------
Common: Graphics/Plot2D
Back to the SC Module page