|
Public Member Functions |
| Cell (const Dish &who, int settau=1) |
| Constructor to insert a cell into Dish "who".
|
| Cell (void) |
| ~Cell (void) |
| Cell (const Cell &src) |
| Default copy constructor.
|
| Cell (Cell &mother, int settau=1) |
| Special copy constructor to add a new cell to the dish.
|
Cell & | operator= (const Cell &src) |
| Assignment operator.
|
bool | AliveP (void) const |
| Returns false if Cell has apoptosed (vanished).
|
int | Colour (void) const |
| Returns the cell colour.
|
void | setTau (int settau) |
| Set cell type of this Cell.
|
int | getTau (void) |
| Get cell type of this Cell.
|
int | SetColour (const int new_colour) |
| Set color of this cell to new_colour, irrespective of type.
|
int | EnergyDifference (const Cell &cell2) const |
int | Area () const |
| Return Cell's actual area.
|
int | TargetArea () const |
| Return Cell's target area.
|
double | TargetLength () const |
| Return Cell's target length.
|
double | SetTargetLength (double l) |
| Set the Cell's target length.
|
void | PrintInertia (void) |
| Debugging function used to print the cell's current inertia tensor (as used for calculations of the length ).
|
double | Length (void) |
void | RenormPolarVec (void) |
int | Sigma () const |
| Returns the cell's cell identity number.
|
int | SetTargetArea (const int new_area) |
| Sets the target area of the cell.
|
void | Apoptose () |
| Sends the current cell into apoptosis.
|
int | IncrementTargetArea () |
| Decrement the cell's target area by one unit.
|
int | DecrementTargetArea () |
| Increment the cell's target area by one unit.
|
int | Mother (void) const |
| Cell lineage tracking: get the cell's parent.
|
int | Daughter (void) const |
| Cell lineage tracking: get the cell's daughter.
|
int | TimesDivided (void) const |
| Returns a counter keeping track of the number of divisions.
|
int | DateOfBirth (void) const |
| Returns Monte Carlo Step (MCS) when this cell originated.
|
int | ColourOfBirth (void) const |
| Returns the cell type at the time of birth.
|
int | GetJ (const Cell &c2) const |
| Returns the bond energy J between this cell and cell c2.
|
double * | SetGrad (double *g) |
| Set the current gradient of the cell to g. Currently not in use.
|
const double * | GetGrad (void) const |
| Returns the cell's measured gradient. Currently not in use.
|
const double | GradX () const |
| Returns the cell's measured gradient. Currently not in use.
|
const double | GradY () const |
| Returns the cell's measured gradient. Currently not in use.
|
double * | AddToGrad (double *g) |
| Currently not in use (remove?).
|
void | ClearGrad (void) |
| Currently not in use (remove?).
|
void | MeasureCellSize (Cell &c) |
Static Public Member Functions |
void | ClearJ (void) |
| Clears the table of J's.
|
int | MaxSigma () |
| Returns the maximum cell identity number in the Dish. This would normally be the number of cells in the Dish, although the number includes apoptosed cells.
|
int | SetJ (int t1, int t2, int val) |
| Sets bond energy J between cell type t1 and t2 to val.
|
Public Attributes |
double | polarvec [9] |
Protected Attributes |
int | colour |
bool | alive |
int | sigma |
int | tau |
double | length |
double | target_length |
int | mother |
int | daughter |
int | times_divided |
int | date_of_birth |
int | colour_of_birth |
int | area |
int | target_area |
int | growth_threshold |
double | v [2] |
int | n_copies |
double | grad [2] |
double * | chem |
int | sum_x |
int | sum_y |
int | sum_xx |
int | sum_yy |
int | sum_xy |
const Dish * | owner |
Static Protected Attributes |
int ** | J = 0 |
int | maxtau = 0 |
int | amount = 0 |
int | capacity = 0 |
int | maxsigma = 0 |
Friends |
class | Dish |
class | CellularPotts |
class | Info |