MEDYAN.update_in_tri_point!

Tuple{MEDYAN.Context, MEDYAN.InTriPointIdx}

update_in_tri_point!(c::Context, p::Union{InTriPointIdx, Tag{InTriPointIdx}}; kwargs...)

Update properties of an existing in-triangle point. Unspecified properties remain unchanged.

Keyword Arguments

  • tri::Union{Nothing, Integer}=nothing: 1-based triangle index on the same membrane.
  • bary::Union{Nothing, SVector{2, Float64}}=nothing: New barycentric coordinates (λ₂, λ₃) of the point inside the (possibly new) triangle. λ₁ = 1 − λ₂ − λ₃.
  • state::Union{Nothing, Int64}=nothing: New user-defined state.
  • gamma::Union{Nothing, Float64}=nothing: New friction coefficient (pN·s/nm).

See also: make_in_tri_point!, remove_in_tri_point!.