MEDYAN.add_filament_params!

Tuple{MEDYAN.SysDef, Symbol, Any}

add_filament_params!(s::SysDef, filament_name::Symbol, filament_params::FilamentMechParams)

Update the filament mechanical parameters for an existing filament type.

The filament type must already exist in s.filament (typically added via add_fila_type!.

Arguments

  • s::SysDef: The system definition to modify.
  • filament_name::Symbol: The name of the existing filament type.
  • filament_params::FilamentMechParams: The mechanical parameters to set.

Returns

The modified SysDef.

See also: add_fila_type! to add a new filament type with its parameters in one step.