pmutt.omkm.units.Units
- class pmutt.omkm.units.Units(length='cm', time='s', quantity='molec', energy='cal', act_energy='cal/mol', pressure='bar', mass='kg')
Bases:
Units
OpenMKM implementation of the units. Currently there are no differences between this class and
Units
but one could add changes here in the future if necessary.- __init__(length='cm', time='s', quantity='molec', energy='cal', act_energy='cal/mol', pressure='bar', mass='kg')
Methods
__init__
([length, time, quantity, energy, ...])to_cti
()Writes the object in Cantera's CTI format.
Returns a useful dictionary for CTI IO functions.
Returns a dictionary compatible with Cantera's YAML format
- to_cti()
Writes the object in Cantera’s CTI format.
- to_cti_dict()
Returns a useful dictionary for CTI IO functions.
- Returns:
CTI_dict – Dictionary whose keys are the parameter names of CTI IO functions.
- Return type: