geometric.base.WithPhysicalProperties

class geometric.base.WithPhysicalProperties(**properties)[source]

Base class for all geometric objects that have physical properties.

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)[source]

Set the physical properties