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

Method elementIndex

src/equil/MultiPhase.cpp:739–747  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

737}
738
739size_t MultiPhase::elementIndex(const string& name) const
740{
741 for (size_t e = 0; e < m_nel; e++) {
742 if (m_enames[e] == name) {
743 return e;
744 }
745 }
746 return npos;
747}
748
749void MultiPhase::checkSpeciesIndex(size_t k) const
750{

Callers 1

initMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected