TreeMig Code
|
Go to the source code of this file.
Functions/Subroutines | |
subroutine | calculateandstoredispersalkernelofspecies (isp, dofft) |
CalculateAndStoreDispersalKernelOfSpecies | |
subroutine | dispersalkernel (isp) |
DispersalKernel | |
subroutine | singlekernel (alpha, cellsidelength, epskernel, rad_c) |
SingleKernel | |
subroutine | doublekernel (dispfac, alfa1, alfa2, cellsidelength, epskernel, rad_c) |
DoubleKernel | |
real function | centertocentervalue (alpha, cellsidelength, latwin, lonwin) |
CenterToCenterValue | |
real function | kernelvalue (dist, alpha) |
KernelValue | |
subroutine calculateandstoredispersalkernelofspecies | ( | integer, intent(in) | isp, |
logical, intent(in) | dofft ) |
CalculateAndStoreDispersalKernelOfSpecies
-Calculates the dispersal kernel of one species and stores it to spec.
-sets the dimensions for the FFT (if dispersal by FFT) -calculates the FF transformed kernel (if dispersal by FFT)
isp | !>> species index |
doFFT | !>> flag whether dispersal is done by FFT or not |
Definition at line 46 of file DispersalKernel.f90.
real function centertocentervalue | ( | real, intent(in) | alpha, |
real, intent(in) | cellsidelength, | ||
integer, intent(in) | latwin, | ||
integer, intent(in) | lonwin ) |
CenterToCenterValue
Calculates the value of the dispersal kernel between the centers of a source cell and and a target cell
latwin,lonwin | : coordinates of target cell |
alpha | : Parameter characterizing slope of kernel; mean dispersal distance |
cellSideLength | : Side-lenght of grid cells |
CenterToCenterValue | : value of dispersal kernel in the given target cell |
Definition at line 342 of file DispersalKernel.f90.
subroutine dispersalkernel | ( | integer, intent(in) | isp | ) |
DispersalKernel
Calculates the generatl dispersal kernel of one species, either by a single or a double kernel Allocates the kernel and stores it and its radius in spec
isp | : species index |
Definition at line 142 of file DispersalKernel.f90.
subroutine doublekernel | ( | real, intent(in) | dispfac, |
real, intent(in) | alfa1, | ||
real, intent(in) | alfa2, | ||
real, intent(in) | cellsidelength, | ||
real, intent(in) | epskernel, | ||
integer, intent(out) | rad_c ) |
DoubleKernel
Calculates the double dispersal kernel of one species by adding two single kernels
dispFac | : proportion of short distance dispersal |
alfa1,alfa2 | : Parameter characterizing slope of kernel; mean dispersal distance |
cellSideLength | : Side-lenght of grid cells |
epsKernel | : threshold for cut-off of kernel , all values smaller than this are set to 0 |
rad_c | : radius of combined kernel -*via All_par:*
|
Definition at line 293 of file DispersalKernel.f90.
real function kernelvalue | ( | real, intent(in) | dist, |
real, intent(in) | alpha ) |
KernelValue
Calculates the value of the dispersal kernel at a certain distance
alpha | : Parameter characterizing slope of kernel; mean dispersal distance |
dist | : euclidian distance between source cell and sink cell |
KernelValue | : value of dispersal kernel |
Definition at line 364 of file DispersalKernel.f90.
subroutine singlekernel | ( | real, intent(in) | alpha, |
real, intent(in) | cellsidelength, | ||
real, intent(in) | epskernel, | ||
integer, intent(out) | rad_c ) |
SingleKernel
Calculates the single dispersal kernel of one species
alpha_all | : Parameter characterizing slope of kernel; mean dispersal distance |
cellSideLength | : Side-lenght of grid cells |
epsKernel | : threshold for cut-off of kernel , all values smaller than this are set to 0 |
rad | : radius of kernel |
Definition at line 198 of file DispersalKernel.f90.