# HG changeset patch # User Michael Guravage # Date 2011-08-26 16:14:56 # Node ID 9b6820f9a10b631401b77cd849b2933b7a1c87c7 # Parent df8602459ab009cd967403f00f7aa13cecf368b8 Added third tissue growth protocol: Divide over explicit axis. -- user: Michael Guravage branch 'default' changed src/protocols/MyGrowthModel/mygrowthmodel.cpp diff --git a/src/protocols/MyGrowthModel/mygrowthmodel.cpp b/src/protocols/MyGrowthModel/mygrowthmodel.cpp --- a/src/protocols/MyGrowthModel/mygrowthmodel.cpp +++ b/src/protocols/MyGrowthModel/mygrowthmodel.cpp @@ -32,7 +32,7 @@ QString Mygrowthmodel::ModelID(void) { // specify the name of your model here - return QString( "Divide when size doubles" ); + return QString( "Divide over explicit axis" ); } // return the number of chemicals your model uses @@ -54,7 +54,7 @@ void Mygrowthmodel::CellHouseKeeping(Cel c->EnlargeTargetArea(par->cell_expansion_rate); if(c->Area() > 2*c->BaseArea()){ - c->Divide(); + c->DivideOverAxis(Vector(0,1,0)); } }