MEDYAN.make_in_tri_point!
Tuple{MEDYAN.Context}
Create a new in-triangle point on a membrane and return a tag for it.
The membrane is identified by exactly one of memb_idx or memb_id.
Keyword Arguments
memb_idx::Union{Integer, Nothing}=nothing: Index of the membrane in the context.memb_id::Union{MembId, Nothing}=nothing: Stable id of the membrane.tri::Integer: 1-based index of the triangle on that membrane.bary::SVector{2, Float64}: Barycentric coordinates(λ₂, λ₃)of the point inside the triangle.λ₁ = 1 − λ₂ − λ₃.state::Int64=Int64(0): User-defined state value for chemical reactions.gamma::Float64=0.0: Friction coefficient (pN·s/nm).
See also: remove_in_tri_point!, update_in_tri_point!.