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

Method globalComponentIndex

src/zeroD/ReactorNet.cpp:587–593  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

585}
586
587size_t ReactorNet::globalComponentIndex(const string& component, size_t reactor)
588{
589 if (!m_init) {
590 initialize();
591 }
592 return m_start[reactor] + m_reactors[reactor]->componentIndex(component);
593}
594
595string ReactorNet::componentName(size_t i) const
596{

Callers

nothing calls this directly

Calls 1

componentIndexMethod · 0.45

Tested by

no test coverage detected