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

Method evalPressureFunction

src/zeroD/FlowDevice.cpp:90–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90double FlowDevice::evalPressureFunction()
91{
92 double delta_P = in().pressure() - out().pressure();
93 if (m_pfunc) {
94 return m_pfunc->eval(delta_P);
95 }
96 return delta_P;
97}
98
99void FlowDevice::setTimeFunction(Func1* g)
100{

Callers

nothing calls this directly

Calls 2

pressureMethod · 0.45
evalMethod · 0.45

Tested by

no test coverage detected