The ``chemistry.py`` module =========================== .. py:module:: ansys.chemkin.core.chemistry Summary ------- .. py:currentmodule:: chemistry .. tab-set:: .. tab-item:: Classes .. list-table:: :header-rows: 0 :widths: auto * - :py:obj:`~ansys.chemkin.core.chemistry.Chemistry` - Define and preprocess Chemkin chemistry set. .. tab-item:: Functions .. list-table:: :header-rows: 0 :widths: auto * - :py:obj:`~verbose` - Get current Pychemkin verbose mode. * - :py:obj:`~set_verbose` - Set Pychemkin verbose mode. * - :py:obj:`~chemkin_version` - Return the Chemkin-CFD-API version number currently in use. * - :py:obj:`~verify_version` - Check the Chemkin-CFD-API vwersion. * - :py:obj:`~done` - Release Chemkin license and reset the Chemistry sets. * - :py:obj:`~check_chemistryset` - Check whether the Chemistry Set is initialized in Chemkin-CFD-API. * - :py:obj:`~activate_chemistryset` - Switch to (re-activate) the Chemistry Set. * - :py:obj:`~force_activate_chemistryset` - Activate the Chemistry Set automatically and silently. * - :py:obj:`~chemistryset_new` - Create a new Chemistry Set. * - :py:obj:`~chemistryset_initialized` - Set the Chemistry Set Initialization flag to True. * - :py:obj:`~check_active_chemistryset` - Verify if the chemistry set is currently activated. .. tab-item:: Attributes .. list-table:: :header-rows: 0 :widths: auto * - :py:obj:`~LP_c_char` - * - :py:obj:`~chemkin_verbose` - .. tab-item:: Constants .. list-table:: :header-rows: 0 :widths: auto * - :py:obj:`~MAX_SPECIES_LENGTH` - * - :py:obj:`~COMPLETE` - .. toctree:: :titlesonly: :maxdepth: 1 :hidden: Chemistry Description ----------- Chemkin Chemistry utilities. Module detail ------------- .. py:function:: verbose() -> bool Get current Pychemkin verbose mode. .. py:function:: set_verbose(onoff: bool) Set Pychemkin verbose mode. .. py:function:: chemkin_version() -> int Return the Chemkin-CFD-API version number currently in use. .. py:function:: verify_version(min_version: int) -> bool Check the Chemkin-CFD-API vwersion. .. py:function:: done() Release Chemkin license and reset the Chemistry sets. .. py:function:: check_chemistryset(chem_index: int) -> bool Check whether the Chemistry Set is initialized in Chemkin-CFD-API. .. py:function:: activate_chemistryset(chem_index: int) -> int Switch to (re-activate) the Chemistry Set. .. py:function:: force_activate_chemistryset(chem_index: int) Activate the Chemistry Set automatically and silently. .. py:function:: chemistryset_new(chem_index: int) Create a new Chemistry Set. .. py:function:: chemistryset_initialized(chem_index: int) Set the Chemistry Set Initialization flag to True. .. py:function:: check_active_chemistryset(chem_index: int) -> bool Verify if the chemistry set is currently activated. .. py:data:: MAX_SPECIES_LENGTH :value: 17 .. py:data:: COMPLETE :value: 0 .. py:data:: LP_c_char .. py:data:: chemkin_verbose :value: True