Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
90
double 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
99
void FlowDevice::setTimeFunction(Func1* g)
100
{
Callers
nothing calls this directly
Calls
2
pressure
Method · 0.45
eval
Method · 0.45
Tested by
no test coverage detected