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

Method setTimeFunction

src/zeroD/FlowDevice.cpp:99–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99void FlowDevice::setTimeFunction(Func1* g)
100{
101 warn_deprecated("FlowDevice::setTimeFunction",
102 "To be removed after Cantera 3.2. Replaceable by version using "
103 "shared pointer.");
104 m_tfunc = g;
105}
106
107double FlowDevice::evalTimeFunction()
108{

Callers 2

runexampleFunction · 0.45
flowdev_setTimeFunctionFunction · 0.45

Calls 1

warn_deprecatedFunction · 0.50

Tested by

no test coverage detected