MCPcopy Create free account
hub / github.com/Cantera/cantera / update

Method update

test/python/user_ext.py:44–47  ·  view source on GitHub ↗
(self, interface)

Source from the content-addressed store, hash-verified

42 __slots__ = ("T",)
43
44 def update(self, interface):
45 gas = interface.adjacent['gas'] # assume gas phase is adjacent to us
46 self.T = gas.T
47 return True
48
49
50@ct.extension(name="foo-rate", data=FooRateData)

Callers 3

check_dotMethod · 0.45
TESTFunction · 0.45

Calls

no outgoing calls

Tested by 3

check_dotMethod · 0.36
TESTFunction · 0.36