Changeset - df8602459ab0
[Not reviewed]
Michael Guravage - 14 years ago 2011-08-26 16:10:25
michael.guravage@cwi.nl
Added second tissue growth protocol: Divide when size doubles.

--
user: Michael Guravage <michael.guravage@cwi.nl>
branch 'default'
changed src/protocols/MyGrowthModel/mygrowthmodel.cpp
1 file changed with 5 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/protocols/MyGrowthModel/mygrowthmodel.cpp
Show inline comments
 
@@ -32,7 +32,7 @@
 

	
 
QString Mygrowthmodel::ModelID(void) {
 
  // specify the name of your model here
 
  return QString( "Expanding cell model" );
 
  return QString( "Divide when size doubles" );
 
}
 

	
 
// return the number of chemicals your model uses
 
@@ -52,6 +52,10 @@ void Mygrowthmodel::CellHouseKeeping(Cel
 
  // add cell behavioral rules here
 

	
 
  c->EnlargeTargetArea(par->cell_expansion_rate);
 

	
 
  if(c->Area() > 2*c->BaseArea()){
 
    c->Divide();
 
  }
 
}
 

	
 
void Mygrowthmodel::CelltoCellTransport(Wall *w, double *dchem_c1, double *dchem_c2) {
0 comments (0 inline, 0 general)