Skip to content

Commit

Permalink
Version documentation for MoleReactors
Browse files Browse the repository at this point in the history
  • Loading branch information
anthony-walker committed Sep 9, 2022
1 parent c8679bb commit bcd8124
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/cantera/zeroD/ConstPressureMoleReactor.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace Cantera
/*!
* ConstPressureMoleReactor is a class for constant-pressure reactors
* which use a state of moles.
* @SInCE New in Cantera 3.0
* @since New in Cantera 3.0
*/
class ConstPressureMoleReactor : public MoleReactor
{
Expand Down
14 changes: 12 additions & 2 deletions interfaces/cython/cantera/reactor.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -375,8 +375,8 @@ cdef class MoleReactor(Reactor):
they are closed (no inlets or outlets), have fixed volume, and have adiabatic,
chemically-inert walls. These properties may all be changed by adding
appropriate components such as `Wall`, `MassFlowController` and `Valve`.
.. versionadded:: 3.0
.. versionadded:: 3.0
"""
reactor_type = "MoleReactor"

Expand All @@ -400,6 +400,8 @@ cdef class ConstPressureMoleReactor(Reactor):
"""A homogeneous, constant pressure, zero-dimensional reactor with a mole based
state vector. The volume of the reactor changes as a function of time in order to
keep the pressure constant.
.. versionadded:: 3.0
"""
reactor_type = "ConstPressureMoleReactor"

Expand Down Expand Up @@ -634,6 +636,8 @@ cdef class ExtensibleMoleReactor(ExtensibleReactor):
"""
A variant of `ExtensibleReactor` where the base behavior corresponds to the
`MoleReactor` class.
.. versionadded:: 3.0
"""
reactor_type = "ExtensibleMoleReactor"

Expand All @@ -642,6 +646,8 @@ cdef class ExtensibleIdealGasMoleReactor(ExtensibleReactor):
"""
A variant of `ExtensibleReactor` where the base behavior corresponds to the
`IdealGasMoleReactor` class.
.. versionadded:: 3.0
"""
reactor_type = "ExtensibleIdealGasMoleReactor"

Expand All @@ -650,6 +656,8 @@ cdef class ExtensibleConstPressureMoleReactor(ExtensibleReactor):
"""
A variant of `ExtensibleReactor` where the base behavior corresponds to the
`ConstPressureMoleReactor` class.
.. versionadded:: 3.0
"""
reactor_type = "ExtensibleConstPressureMoleReactor"

Expand All @@ -658,6 +666,8 @@ cdef class ExtensibleIdealGasConstPressureMoleReactor(ExtensibleReactor):
"""
A variant of `ExtensibleReactor` where the base behavior corresponds to the
`IdealGasConstPressureMoleReactor` class.
.. versionadded:: 3.0
"""
reactor_type = "ExtensibleIdealGasConstPressureMoleReactor"

Expand Down

0 comments on commit bcd8124

Please sign in to comment.