1 #ifndef CELL_ATTRIBUTES_H_
2 #define CELL_ATTRIBUTES_H_
46 BoundaryType GetBoundaryType()
const {
return m_boundary_type; }
49 int GetCellType()
const {
return m_cell_type; }
52 double GetChemical(
unsigned int c)
const;
55 std::vector<double> GetChemicals()
const {
return m_chem; }
58 bool IsDead()
const {
return m_dead; }
64 int GetDivisionTime() {
return m_div_time; }
67 double GetSolute()
const {
return m_solute; }
73 double GetTargetArea()
const {
return m_target_area; }
76 double GetTargetLength()
const {
return m_target_length; }
82 bool IsFixed()
const {
return m_fixed; }
85 virtual std::ostream& Print(std::ostream& os)
const;
88 virtual void ReadPtree(
const boost::property_tree::ptree& cell_pt);
94 void SetCellType(
int ct) { m_cell_type = ct; }
97 void SetChemical(
unsigned int chem,
double conc);
100 void SetChemicals(std::vector<double>
const& chem);
103 void SetDead(
bool dead) {
m_dead = dead; }
106 void SetDivisionCounter(
int div_counter) {
m_div_counter = div_counter; }
109 void SetDivisionTime(
double div_time) { m_div_time = div_time; }
112 void SetSolute(
double s) { m_solute = s; }
115 void SetStiffness(
double stiffness) {
m_stiffness = stiffness; }
118 void SetTargetArea(
double a) { m_target_area = a; }
121 void SetTargetLength(
double l) { m_target_length = l; }
139 virtual boost::property_tree::ptree
ToPtree()
const;
144 std::vector<double> m_chem;
151 double m_target_area;
152 double m_target_length;
155 std::ostream& operator<<(std::ostream& os,
CellAttributes const& v);
159 #endif // end_of_include_guard
double m_stiffness
Stiffness like in Hogeweg (2000).
bool m_dead
For future use, when apoptosis gets set up.
Namespace for the core simulator.
int m_div_counter
Keep track of divisions in the cell ancestry.
BoundaryType
Enumerates cell boundary types.
BoundaryType enumeration class.
virtual boost::property_tree::ptree ToPtree() const
Convert the cell attributes to a ptree.