removed method Reactor.time(), and added ReactorNet.time()

This commit is contained in:
Dave Goodwin 2004-07-29 22:21:03 +00:00
parent 11d73d12c1
commit dd0456eb62

View file

@ -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'."""