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

Method evalDae

src/zeroD/ReactorNet.cpp:469–479  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

467}
468
469void ReactorNet::evalDae(double t, double* y, double* ydot, double* p, double* residual)
470{
471 m_time = t;
472 updateState(y);
473 for (size_t n = 0; n < m_reactors.size(); n++) {
474 m_reactors[n]->applySensitivity(p);
475 m_reactors[n]->evalDae(t, y, ydot, residual);
476 m_reactors[n]->resetSensitivity(p);
477 }
478 checkFinite("ydot", ydot, m_nv);
479}
480
481void ReactorNet::getConstraints(double* constraints)
482{

Callers

nothing calls this directly

Calls 4

checkFiniteFunction · 0.85
applySensitivityMethod · 0.80
resetSensitivityMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected