def get_atoms_per_cm3_of_layer(compound_dict: dict):
<EOL>_list_of_elements = compound_dict['<STR_LIT>']<EOL>_stoichiometric_list = compound_dict['<STR_LIT>']<EOL>_element_stoichio = zip(_list_of_elements, _stoichiometric_list)<EOL>_molar_mass_sum = <NUM_LIT:0><EOL>for _element, _stoichio in _element_stoichio:<EOL><INDENT>_molar_mass_sum += _stoichio * compound_dict[_element]['<STR_LIT>']['<STR_LIT:value>']<EOL><DEDENT>atoms_per_cm3 = Avogadro * compound_dict['<STR_LIT>']['<STR_LIT:value>'] / _molar_mass_sum<EOL>return _molar_mass_sum, atoms_per_cm3<EOL>
calculate the atoms per cm3 of the given compound (layer)
:param compound_dict: compound infomation to pass
:type compound_dict: dict
:return: molar mass and atom density for layer
:rtype: float