-
gsaxena authored
(2) Parallelizing setup_tissue() in heterogeneity.cpp - divided into 3 phases (a) 1st Phase: Create new Cells or Basic Agents - done (b) 2nd Phase: Assign positions to Cells - doing (c) 3rd Phase: pCell->default[0], p_min, p_max data etc. --> global communications needed - To be done (3) Program is compiling AFTER 1st phase completed and BEFORE 2nd Phase begins. (4) A special syntax exists when calling Base class parametrized constructor from Derived class constructor. Cell::Cell(int p_ID):Basic_Agent(p_ID) is the correct syntax. We CANNOT say Basic_Agent(p_ID); inside body of the constructor of Cell(int p_ID){ }.
a1f97f84