comp_volume (method)

comp_volume(self)[source]

Compute the Magnet volume (by analytical computation)

Parameters:self (Magnet) – A Magnet object
Returns:V – Magnet volume [m**3]
Return type:float