public override void SetupSimulation() { logFrequency = 1; nbCellTypes = 3; nbOfSimulationSteps = 10; //* popSize = 148; popMaxSize = 343; Tissue t1 = new Tissue(25, 125, new Cylinder34(new Vector(.5f, .5f, .5f))); Tissue t2 = new Tissue(98, popMaxSize, new Cylinder34(new Vector(.5f, 1f, .5f))); Tissue t3 = new Tissue(25, 125, new Cylinder34(new Vector(.5f, .5f, .5f))); List <Tissue> tissueList = new List <Tissue>() { t1, t2, t3 }; cellPopulation = new CellPopulation(popSize, popMaxSize, tissueList, true); //Helper.SetNCubedInN(125); //t1.PositionCells(false); //Helper.SetNCubedInN(popMaxSize); //t2.PositionCells(false, new Vector(0, t1.reference.y + t1.mesh.innerRadius.y + t2.mesh.innerRadius.y, 0)); Helper.SetNCubedInN(popMaxSize); t2.PositionCells(false); Helper.SetNCubedInN(125); t1.PositionCells(false, new Vector(0, t2.reference.y - 4 * t2.mesh.innerRadius.y - t1.mesh.innerRadius.y, 0)); Helper.SetNCubedInN(125); t3.PositionCells(false, new Vector(0, t2.reference.y + t3.mesh.innerRadius.y, 0)); //*/ nbCellTypes = tissueList.Count; }