geometric.Sphere

class geometric.Sphere(center, radius, **properties)[source]

A sphere.

Attributes

density The density in kg/m^3
magnetization The total magnetization in A/m
volume The volume in m^3 Must be implemented by the child class in order to have access to the ‘mass’ property.

Methods

set_properties(**properties) Set the physical properties

Methods Documentation

set_properties(**properties)

Set the physical properties

Examples using geometric.Sphere