MEDYAN.def_fixed_species!

Tuple{MEDYAN.SysDef, Symbol}

def_fixed_species!(s::SysDef, name::Symbol)

Dynamically add a new fixed (non-diffusing) species to the system definition.

Must be called before adding any sites (filament sites, filament end sites, membrane sites, link types, etc.) or reactions.

Arguments

  • s::SysDef: The system definition to modify.
  • name::Symbol: The name of the new fixed species.

Returns

The modified SysDef.

Throws

  • Error if the fixed species already exists.
  • Error if sites or reactions have already been added.