MEDYAN.MembVertIdx

Union{}

MembVertIdx <: Place

An index identifying a specific vertex on a membrane mesh. Membranes are represented as triangular meshes, and vertices can participate in chemical reactions and mechanical links.

This index may be invalidated by mesh adaptation or membrane removal. Use a Tag{MembVertIdx} for a long-term reference that remains valid across mutations.

Constructors

  • MembVertIdx(): Creates a null vertex index with both indices set to 0
  • MembVertIdx(memb_idx::Integer, vert_idx::Integer): Creates a vertex index for the specified membrane and vertex
  • MembVertIdx(c::Context, memb_idx::Integer, vert_idx::Integer): Creates a vertex index for the specified membrane and vertex

Fields

  • memb_idx::UInt32: Index of the membrane in the context
  • vert_idx::UInt32: Index of the vertex within the membrane mesh