MEDYAN.update_ball!

Tuple{MEDYAN.Context, MEDYAN.BallIdx}

update_ball!(c::Context, ball::Union{BallIdx, Tag{BallIdx}}; kwargs...)

Update properties of an existing ball. Unspecified properties remain unchanged.

Keyword Arguments

  • position::Union{Nothing, SVector{3, Float64}}=nothing: New position (nm)
  • radius::Union{Nothing, Float32}=nothing: New radius (nm)
  • stiffness::Union{Nothing, Float32}=nothing: New stiffness (pN/nm)
  • state::Union{Nothing, SVector{3, Int64}}=nothing: New state vector

See also: make_ball!, remove_ball!