uclchem.tests ============= .. py:module:: uclchem.tests Module Contents --------------- Functions ~~~~~~~~~ .. autoapisummary:: uclchem.tests.test_ode_conservation .. py:function:: test_ode_conservation(element_list=['H', 'N', 'C', 'O']) Test whether the ODEs conserve elements. Useful to run each time you change network. Integrator errors may still cause elements not to be conserved but they cannot be conserved if the ODEs are not correct. :param element_list: A list of elements for which to check the conservation. Defaults to ["H", "N", "C", "O"]. :type element_list: list, optional :returns: A dictionary of the elements in element list with values representing the total rate of change of each element. :rtype: dict