Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor fixes and update to supported Ubuntu versions #261

Merged
merged 3 commits into from
Feb 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pages/install/ubuntu-install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
Package Archive (PPA).

As of Cantera 3.0.0, packages are available for Ubuntu 20.04 (Focal Fossa), Ubuntu 22.04
(Jammy Jellyfish), Ubuntu 22.10 (Karmic Koala) and Ubuntu 23.04 (Lunar Lobster). To see
which Ubuntu releases and Cantera versions are currently supported, visit
(Jammy Jellyfish), Ubuntu 23.04 (Lunar Lobster), and Ubuntu 23.10 (Mantic Minotaur). To
see which Ubuntu releases and Cantera versions are currently supported, visit
https://launchpad.net/~cantera-team/+archive/ubuntu/cantera.

The available packages are:
Expand Down
4 changes: 2 additions & 2 deletions pages/tutorials/PythonTutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ reactions are zero. Here is the code to do this:
>>> rf = g.forward_rates_of_progress
>>> rr = g.reverse_rates_of_progress
>>> for i in range(g.n_reactions):
... if g.is_reversible(i) and rf[i] != 0.0:
... if g.reaction(i).reversible and rf[i] != 0.0:
... print(' %4i %10.4g ' % (i, (rf[i] - rr[i])/rf[i]))

If the magnitudes of the numbers in this list are all very small, then each
Expand Down Expand Up @@ -435,7 +435,7 @@ are used extensively within Cantera's
and `1D flame model <{{% ct_docs sphinx/html/cython/onedim.html#sec-cython-onedim %}}>`__.

Information about individual reactions that is independent of the thermodynamic
state can be obtained by accessing :py:class:`Reaction` objects with the
state can be obtained by accessing :py:class:`cantera.Reaction` objects with the
:py:func:`Kinetics.reaction` method:

.. code:: pycon
Expand Down
Loading