-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCellLineageGeneration.cpp
More file actions
54 lines (44 loc) · 1.51 KB
/
CellLineageGeneration.cpp
File metadata and controls
54 lines (44 loc) · 1.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/***************************************************************************//**
* Project: Colony
*
* \file CellLineageGeneration.cpp
* \author Marc Weber\n
* The SiMBioSys group (CosmoLab)\n
* Parc Científic de Barcelona\n
* Barcelona, Spain.\n
* http://www.thesimbiosys.com
* \version 1.0
* \date 11/2009
*
* Copyright 2009 by Marc Weber
******************************************************************************/
#include "CellLineageGeneration.h"
//------------------------------------------------------------------------------
CellLineageGeneration::CellLineageGeneration()
{}
//------------------------------------------------------------------------------
CellLineageGeneration::~CellLineageGeneration()
{}
//------------------------------------------------------------------------------
CellLineageGeneration::CellLineageGeneration(const CellLineageGeneration& t)
: time_(t.time_),
nCells_(t.nCells_),
nCellsDelta_(t.nCellsDelta_),
motherCellsIndices_(t.motherCellsIndices_.copy())
{}
//------------------------------------------------------------------------------
void CellLineageGeneration::initialize
(
double time,
int nCells,
int nCellsDelta,
Array<int,1> motherCellsIndices
)
{
time_ = time;
nCells_ = nCells;
nCellsDelta_ = nCellsDelta;
motherCellsIndices_.resize(motherCellsIndices.size());
motherCellsIndices_ = motherCellsIndices;
}
//------------------------------------------------------------------------------