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

Method enthalpy

src/equil/MultiPhase.cpp:298–308  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

296}
297
298double MultiPhase::enthalpy() const
299{
300 double sum = 0.0;
301 updatePhases();
302 for (size_t i = 0; i < nPhases(); i++) {
303 if (m_moles[i] > 0.0) {
304 sum += m_phase[i]->enthalpy_mole() * m_moles[i];
305 }
306 }
307 return sum;
308}
309
310double MultiPhase::IntEnergy() const
311{

Callers 3

equilibrate_HPMethod · 0.45
equilibrateMethod · 0.45
mix_enthalpyFunction · 0.45

Calls 1

enthalpy_moleMethod · 0.45

Tested by

no test coverage detected