ChemicalMassFlowIndexer#

class ChemicalMassFlowIndexer(phase=LockedPhase(None), units=None, chemicals=None, **ID_data)#

Create a ChemicalMassFlowIndexer that can index a single-phase, 1d-array given chemical IDs.

Parameters:
  • phase ([str or PhaseContainer] {'s', 'l', 'g', 'S', 'L'}) – Phase of data.

  • units (str) – Units of measure of input data.

  • chemicals (Chemicals) – Required to define the chemicals that are present.

  • **ID_data (float) – ID-value pairs