pub struct CellType {
pub target_volume: f64,
pub lambda_volume: f64,
pub target_surface: f64,
pub lambda_surface: f64,
pub division_volume: f64,
pub death_rate: f64,
pub target_length: f64,
pub lambda_length: f64,
pub connected: bool,
pub max_activity: f64,
pub lambda_activity: f64,
pub external: [f64; 3],
}Expand description
A cell type’s own parameters. Type 0 is the medium and takes no volume constraint.
Every term is off at zero, so CellType::default() is the medium and a
type states only what it uses. New terms therefore leave existing
descriptions and existing callers alone.
Fields§
§target_volume: f64Target volume in lattice sites.
lambda_volume: f64Volume constraint strength.
target_surface: f64Target surface in boundary bonds.
lambda_surface: f64Surface constraint strength.
division_volume: f64Volume at which a cell divides. Zero never divides.
death_rate: f64Probability per step that a cell of this type dies. Zero never dies.
target_length: f64Target major axis in sites. Zero leaves the length unconstrained.
lambda_length: f64Length constraint strength.
connected: boolWhether a copy that would locally pinch this cell is refused.
max_activity: f64Steps of memory a site keeps after this cell takes it. Zero leaves the cell with no persistence.
lambda_activity: f64Strength of the persistence.
external: [f64; 3]A constant drift, as a force per axis. The work is the displacement along it, so a cell with one travels that way whatever its neighbours do.