pycif.plugins.chemistries.TM5 — API reference

pycif.plugins.chemistries.TM5 — API reference#

Configuration reference: TM5 plugin

pycif.plugins.chemistries.TM5.make_chemistry.create_chemicalscheme(self)[source]#

Read the mandatory chemistry files, create the optional ones and set the species attributes consistently with the data retrieved

pycif.plugins.chemistries.TM5.read_chemistry.read_chemicalscheme(chemistry, **kwargs)[source]#

Reads a chemical scheme from existing files

Parameters:

chemistry (pycif.utils.classes.chemistries.Chemistry) – the chemical scheme

Returns:

Grid dictionary with characteristics of the chemical scheme

Notes:

pycif.plugins.chemistries.TM5.utils.create_mandchem(chemistry, mandatory_files)[source]#

Create the mandatory chemistry files using the chemistry config yml file

pycif.plugins.chemistries.TM5.utils.create_optchem(chemistry, filer, fileps)[source]#
Create the chemistry files ALL_SPECIES, CHEMISTRY, REACTION_RATES,

STOICHIOMETRY and ACTIVE_SPECIES

At the moment, FAMILIES is set empty

ALL_SPECIES is created

Parameters:
pycif.plugins.chemistries.TM5.utils.read_react(reactions, filej)[source]#

Parse the types of reactions in the REACTIONS file and extract the data