Пример #1
0
    def __del__(self):
        """ Delete the Wall instance. This method is called
        automatically when no Python object stores a reference to this
        Wall. Since reactors and reservoirs store references to all
        Walls installed on them, this method will only be called after
        the reactors/reservoirs have been deleted.  """

        _cantera.wall_del(self.__wall_id)
Пример #2
0
    def __del__(self):
        """ Delete the Wall instance. This method is called
        automatically when no Python object stores a reference to this
        Wall. Since reactors and reservoirs store references to all
        Walls installed on them, this method will only be called after
        the reactors/reservoirs have been deleted.  """

        _cantera.wall_del(self.__wall_id)