MEDYAN.add_membranesitereaction!

Tuple{}

Add a membrane site with the corresponding reaction with callback.

Keyword arguments:

  • s: SysDef.
  • name_newmembranesite: Symbol.
  • membranediffusingreactants: Vector of symbols as membrane reactants. 0 or 1 reactant is currently supported.
  • membranediffusingproducts: Vector of symbols as membrane products.
  • reactionexpr_extra: Reaction expression for other species involved.
  • rate: Float.
  • changerage_bypotentialenergy: Whether the rate is affected by potential energy.
  • invvolumepower: rate scaling with compartment volume.

Notes:

  • If error occurs, this function does not ensure that s is unchanged.