:py:mod:`exo_k.util.molar_heat_capacity` ======================================== .. py:module:: exo_k.util.molar_heat_capacity .. autoapi-nested-parse:: @author: jeremy leconte Module Contents --------------- .. py:class:: Molar_heat_capacity Bases: :py:obj:`exo_k.util.singleton.Singleton` A class to compute the molar heat capacity at constant pressure (in J/mol/K) of regular molecules. This class can also store the molar mass of custom gases with arbitrary names (for example: My_gas, earth_background). .. py:method:: init(*args, **kwds) Initializes empty dictionary of custom heat capacities masses. .. py:method:: add_species(species_dict) Add one or several species to the database. :param species_dict: Keys are gases names (they do not have to be real molecules). Values are molar cp. :type species_dict: :class:`dict` .. py:method:: fetch(molecule_name) yields the molar cp of a molecule :param molecule_name: str Name of the molecule. :returns: Molar cp in J/mol/K :rtype: float .. py:data:: _specific_cp_at_300k