@@ -14,23 +14,23 @@ function HopRates(hopping_constants::Vector{F}, spatial_system) where {F <: Numb
1414 HopRatesGraphDs (hopping_constants, num_sites (spatial_system))
1515end
1616function HopRates (hopping_constants:: Vector{F} ,
17- grid:: Union{ CartesianGridRej, CartesianGridIter} ) where {F <: Number }
17+ grid:: CartesianGridRej ) where {F <: Number }
1818 HopRatesGraphDs (hopping_constants, num_sites (grid))
1919end
2020
2121function HopRates (hopping_constants:: Matrix{F} , spatial_system) where {F <: Number }
2222 HopRatesGraphDsi (hopping_constants)
2323end
2424function HopRates (hopping_constants:: Matrix{F} ,
25- grid:: Union{ CartesianGridRej, CartesianGridIter} ) where {F <: Number }
25+ grid:: CartesianGridRej ) where {F <: Number }
2626 HopRatesGraphDsi (hopping_constants)
2727end
2828
2929function HopRates (hopping_constants:: Matrix{Vector{F}} , spatial_system) where {F <: Number }
3030 HopRatesGraphDsij (hopping_constants)
3131end
3232function HopRates (hopping_constants:: Matrix{Vector{F}} ,
33- grid:: Union{ CartesianGridRej, CartesianGridIter} ) where {F <: Number }
33+ grid:: CartesianGridRej ) where {F <: Number }
3434 HopRatesGridDsij (hopping_constants, grid)
3535end
3636
@@ -40,7 +40,7 @@ function HopRates(p::Pair{SpecHop, SiteHop},
4040 HopRatesGraphDsLij (p... )
4141end
4242function HopRates (p:: Pair{SpecHop, SiteHop} ,
43- grid:: Union{ CartesianGridRej, CartesianGridIter} ) where
43+ grid:: CartesianGridRej ) where
4444 {F <: Number , SpecHop <: Vector{F} , SiteHop <: Vector{Vector{F}} }
4545 HopRatesGridDsLij (p... , grid)
4646end
@@ -51,7 +51,7 @@ function HopRates(p::Pair{SpecHop, SiteHop},
5151 HopRatesGraphDsiLij (p... )
5252end
5353function HopRates (p:: Pair{SpecHop, SiteHop} ,
54- grid:: Union{ CartesianGridRej, CartesianGridIter} ) where
54+ grid:: CartesianGridRej ) where
5555 {SpecHop <: Matrix{F} , SiteHop <: Vector{Vector{F}} } where {F <: Number }
5656 HopRatesGridDsiLij (p... , grid)
5757end
0 commit comments