Expand description
This crate encapsulates concepts which govern an agent-based model specified by cellular_raza. To learn more about the math and philosophy behind these concepts please refer to cellular-raza.com.
Modules§
- domain_
old - Traits and types which will eventually replace the old Domain definition.
- reactions_
old - Contains traits and types which specify cellular reactions specific to the
cpu_os_threads
backend.
Structs§
- Boundary
Error - Can occur during boundary calculation
- Calc
Error - General Calculation Error
- Cell
Agent Box - A container struct containing meta-information of a given Cell Some variables such as id are not required and not desired to be initialized by the user. This CellAgentBox acts as a container around the cell to hold these variables.
- Communication
Error - Error which occurs during sending, receiving or transmitting information between threads
- Controller
Error - Occurs when incorrectly applying a controller effect
- Death
Error - Errors occurring during the final death step of a cell
- Decomposed
Domain - Generated by the decompose method. The backend will know how to deal with this type and crate a working simulation from it.
- Division
Error - Errors related to a cell dividing process
- Drawing
Error - Used to catch errors related to plotting
- Index
Error - Can occur internally when information is not present at expected place
- Request
Error - Ask the wrong object for information and receive this error
- RngError
- Can occur when generating distributions or drawing samples from them.
- Setup
Error - Occurs during setup of a new simulation
- Time
Error - Error related to advancing the simulation time or displaying its progress
Enums§
- Cycle
Event - Contains all events which can arise during the cell cycle and need to be communciated to the simulation engine (see also Cycle).
- Decompose
Error - Error during decomposition of a SimulationDomain into multiple subdomains
Traits§
- Create
Plotting Root plotters
- Creates a new plotting root which can then be drawn upon.
- Cycle
- This trait represents all cycles of a cell and works in tandem with the CycleEvent enum.
- Domain
- Provides an abstraction of the physical total simulation domain.
- Domain
Create SubDomains - Generate SubDomains from an existing Domain
- Domain
RngSeed - Manage the current rng seed of a Domain
- Id
- Specifies how to retrieve a unique identifier of an object.
- Interaction
- Trait describing force-interactions between cellular agents.
- Interaction
Information - Exposes information which is used to calculate interactions between cells and the domain.
- Intracellular
- Setter and Getter for intracellular values of a cellagent.
- Mechanics
- Describes the position of a cell-agent and allows to calculate increments and set/get information of the agent.
- Plot
Self plotters
- Allows elements of the simulation such as cells and voxels to draw themselves onto a plotting root. Typically, voxels will draw first and cells afterwards.
- Position
- Methods for accessing the position of an agent.
- Reactions
- Describes purely intracellular reactions of a cellagent.
- Reactions
Contact - Reactions between cells which are in direct contact
- Reactions
Extra - This trait models extracellular reactions which interact with agents.
- Sort
Cells - Assign an VoxelIndex to a given cell.
- SubDomain
- Subdomains are produced by decomposing a Domain into multiple physical regions.
- SubDomain
Force - Apply a force on a cell depending on its position and velocity.
- SubDomain
Mechanics - Apply boundary conditions to a cells position and velocity.
- SubDomain
Reactions - Describes extracellular reactions and fluid dynamics
- Velocity
- Methods for accessing the velocity of an agent
- Xapy
- Mathematical abstraction similar to the well-known
axpy
method.
Type Aliases§
- Cellular
Identifier - This is a unique identifier which is deterministic even in multi-threading situations. Its components are