pysics.basics.material.material.MaterialFactory

class pysics.basics.material.material.MaterialFactory

Factory of materials. It associates an id to a material.

find_item_id(item)

Given an material find its id in the material Factory

find_item_key(item)
get_number_of_materials_in_store()
id_counter = 1
store_id = {1: <Material air>, 2: <Material silicon>, 3: <Material silicon oxide>, 4: <Material germanium>}