Menu

#2 BioFVM doesn't correctly set diffusion, decay rates for first substrate

1.0
closed
None
2015-11-09
2015-11-07
No

In the function:

void Microenvironment::set_density( int index , std::string name , std::string units , double diffusion_constant , double decay_rate );

The diffusion_constant and decay_rate don't get written. Here is the fix:

void Microenvironment::set_density( int index , std::string name , std::string units , double diffusion_constant , double decay_rate )
{
density_names[index] = name;
density_units[index] = units;

// bug fix -- Paul Macklin on November 6, 2015 
diffusion_coefficients[index] = diffusion_constant; 
decay_rates[index] = decay_rate;

return;

}

Discussion

  • Paul Macklin

    Paul Macklin - 2015-11-09
    • status: open --> closed
     
  • Paul Macklin

    Paul Macklin - 2015-11-09

    Redundant ticket. Now moved to "closed" state. (Deleted tickets seem to show up as "open." )

     

Log in to post a comment.