Remove unused code from ReactionPathBuilder
This commit is contained in:
parent
d7819af947
commit
469cc63d99
2 changed files with 0 additions and 17 deletions
|
|
@ -303,8 +303,6 @@ public:
|
|||
//! Analyze a reaction to determine which reactants lead to which products.
|
||||
int findGroups(std::ostream& logfile, Kinetics& s);
|
||||
|
||||
void writeGroup(std::ostream& out, const Group& g);
|
||||
|
||||
protected:
|
||||
void findElements(Kinetics& kin);
|
||||
|
||||
|
|
|
|||
|
|
@ -406,16 +406,6 @@ int ReactionPathBuilder::findGroups(ostream& logfile, Kinetics& s)
|
|||
logfile << endl << "Reaction " << i+1 << ": "
|
||||
<< s.reactionString(i);
|
||||
|
||||
std::vector<size_t> r, p;
|
||||
for (size_t k = 0; k < s.nTotalSpecies(); k++) {
|
||||
if (s.reactantStoichCoeff(k,i)) {
|
||||
r.push_back(k);
|
||||
}
|
||||
if (s.productStoichCoeff(k,i)) {
|
||||
p.push_back(k);
|
||||
}
|
||||
}
|
||||
|
||||
if (m_determinate[i]) {
|
||||
logfile << " ... OK." << endl;
|
||||
} else if (m_reac[i].size() == 2 && m_prod[i].size() == 2) {
|
||||
|
|
@ -519,11 +509,6 @@ int ReactionPathBuilder::findGroups(ostream& logfile, Kinetics& s)
|
|||
return 1;
|
||||
}
|
||||
|
||||
void ReactionPathBuilder::writeGroup(ostream& out, const Group& g)
|
||||
{
|
||||
g.fmt(out, m_elementSymbols);
|
||||
}
|
||||
|
||||
void ReactionPathBuilder::findElements(Kinetics& kin)
|
||||
{
|
||||
m_enamemap.clear();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue