MagnetMassVirial:

--------------------------------------------------------------------------
   Computes the magnetic mass from density, stress, magnetic field, and
   radius of the magnet. Uses a spherical shell model.

   Note that the reference does not give a complete equation.

   Type MagnetMassVirial for a demo.

   The demo uses Titanium. The default beta is 1
--------------------------------------------------------------------------
   Form:
   mM = MagnetMass( rhoM, sigmaM, bM, rM, beta )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   rhoM             (1,1)          Density (kg/m^3)
   sigmaM           (1,1)          Stress (N/m^2)
   bM               (1,1)          Magnetic field (T)
   v                (1,:)          Volume (m^3)

   -------
   Outputs
   -------
   mM                (1,:)         Magnet Mass (kg)

--------------------------------------------------------------------------
   Reference: Santarius, J.F. and B.G. Logan, "Generic Magnetic Fusion
              Rocket", UWFDM-914, University of Wisconsin,  February 1998.
--------------------------------------------------------------------------

Children:

Common: Graphics/Plot2D
FusionPropulsion: Reactor/MagnetStoredEnergy