removed method Reactor.time(), and added ReactorNet.time()
This commit is contained in:
parent
11d73d12c1
commit
dd0456eb62
1 changed files with 4 additions and 0 deletions
|
|
@ -987,6 +987,10 @@ class ReactorNet:
|
|||
using the current state as the initial condition. Default: 0.0 s"""
|
||||
_cantera.reactornet_setInitialTime(self.__reactornet_id, t0)
|
||||
|
||||
def time(self):
|
||||
"""The current time [s]."""
|
||||
return _cantera.reactornet_time(self.__reactornet_id)
|
||||
|
||||
def advance(self, time):
|
||||
"""Advance the state of the reactor network in time from the current
|
||||
time to time 'time'."""
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue