comp_surface (method)

comp_surface(self)[source]

Compute the Magnet total surface (by numerical computation).

Parameters

self (Magnet) – A Magnet object

Returns

S – Magnet total surface [m**2]

Return type

float