/*! * \brief This function initialize the production of ATP. * \details It create a reaction of type ATPProducer */ private void initATPProduction() { ATPProducer reaction = new ATPProducer(); reaction.setProduction(_energyProductionRate); reaction.setName("ATP Production"); if (_reactions == null) { setReactions(new LinkedList <IReaction>()); } addReaction(reaction); }
/*! \brief This function initialize the production of ATP. \details It create a reaction of type ATPProducer */ private void initATPProduction() { ATPProducer reaction = new ATPProducer(); reaction.setProduction(_energyProductionRate); reaction.setName("ATP Production"); if (_reactions == null) setReactions(new LinkedList<IReaction>()); addReaction(reaction); }