MEDYAN.FilaIdx
Union{}
An index identifying a specific filament in the simulation. This is a lightweight reference that becomes invalid after filament mutations (removal or reordering).
Unlike the Place subtypes, FilaIdx is not taggable — filaments do not have a stable identity because of operations like severing. To maintain a long-term reference to a filament, store a Tag{FilaTipIdx} or Tag{FilaMonoIdx} instead, and resolve back to a FilaIdx when needed.
Constructors
FilaIdx(typeid::Integer, idx::Integer): Direct constructor with filament type ID and filament indexFilaIdx(c::Context, f::FilaIdx): Re-resolve a filament indexFilaIdx(c::Context, ft::FilaTipIdx): Extract the filament index from a filament tip indexFilaIdx(c::Context, t::Tag): Construct from a context and a filament-related tag (e.g.,Tag{FilaTipIdx}orTag{FilaMonoIdx})FilaIdx(c::Context, fm::FilaMonoIdx): Extract the filament index from a filament monomer index
Fields
typeid::UInt32: The filament type ID (usefila_typeid(c; type=:actin)to get this)idx::UInt32: The index of the filament within its type (1-based)
Example
Related Functions
See num_fila, fila_typeid, fila_mono_ids, fila_mono_states, fila_node_positions, fila_tip_tags.