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

Method component

src/oneD/OneDim.cpp:39–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39std::tuple<string, size_t, string> OneDim::component(size_t i) const {
40 const auto& [n, j, k] = m_componentInfo[i];
41 Domain1D& dom = domain(n);
42 return make_tuple(dom.id(), j, dom.componentName(k));
43}
44
45string OneDim::componentName(size_t i) const {
46 const auto& [dom, pt, comp] = component(i);

Callers

nothing calls this directly

Calls 2

idMethod · 0.45
componentNameMethod · 0.45

Tested by

no test coverage detected