src/decimated_2mon_sites.jl

MEDYAN.Decimated2MonSiteRange

Any pair within max to min range are linkable if they have matching state with minusstate and plusstate.

  • minusftid::Int64
  • plusftid::Int64
  • minusskip::Int64
  • plusskip::Int64
  • minusstate::UInt8
  • plusstate::UInt8
  • minrange::Float64
  • maxrange::Float64

MEDYAN.Decimated2MonSiteMinAngleRange

Any pair within max to min range are linkable if they have matching state with minusstate and plusstate and if both the angles between the filaments and line between the pair are greater than acos(cosminangle) for example if cosminangle is 1, all angles are ok, if cosminangle is sqrt(2)/2, and the line between the pair of monomers is parallel or anti parallel to either filament, it won’t be linkable.

This can be used to prevent link_2mons from binding both ends to the same filament.

  • minusftid::Int64
  • plusftid::Int64
  • minusskip::Int64
  • plusskip::Int64
  • minusstate::UInt8
  • plusstate::UInt8
  • minrange::Float64
  • maxrange::Float64
  • cosminangle::Float64