rx->products.push_back(Tgen[i+1]); rx->product_stoich.push_back(2);
reactions.push_back(rx);
}
- // un-commenting the following reaction causes there to be no difference
- // between the effector cell generations, so that the last generation
- // will simply accumulate; dynamics should be equivalent to the original
- // version before including multiple divisions
+ { // r // terminally differentiated effector cell just dies
+ ElementaryReaction* rx = new ElementaryReaction(r.rate_r);
+ rx->reactants.push_back(Tgen.back()); rx->reactant_stoich.push_back(1);
+ rx->products.push_back(Tgen.back()); rx->product_stoich.push_back(-1);
+ reactions.push_back(rx);
+ }
+ // un-commenting the following reaction, and removing the above reaction,
+ // causes there to be no difference between the effector cell generations,
+ // so that the last generation will simply accumulate; dynamics should be
+ // equivalent to the original version before including multiple divisions
//{ // r
// ElementaryReaction* rx = new ElementaryReaction(r.rate_r);
// rx->reactants.push_back(Tgen.back()); rx->reactant_stoich.push_back(1);
rx->products.push_back(Tgen[i+1]); rx->product_stoich.push_back(2);
reactions.push_back(rx);
}
- // un-commenting the following reaction causes there to be no difference
- // between the effector cell generations, so that the last generation
- // will simply accumulate; dynamics should be equivalent to the original
- // version before including multiple divisions
+ { // r // terminally differentiated effector cell just dies
+ ElementaryReaction* rx = new ElementaryReaction(r.rate_r);
+ rx->reactants.push_back(Tgen.back()); rx->reactant_stoich.push_back(1);
+ rx->products.push_back(Tgen.back()); rx->product_stoich.push_back(-1);
+ reactions.push_back(rx);
+ }
+ // un-commenting the following reaction, and removing the above reaction,
+ // causes there to be no difference between the effector cell generations,
+ // so that the last generation will simply accumulate; dynamics should be
+ // equivalent to the original version before including multiple divisions
//{ // r
// ElementaryReaction* rx = new ElementaryReaction(r.rate_r);
// rx->reactants.push_back(Tgen.back()); rx->reactant_stoich.push_back(1);