TreeMig Code
|
Go to the source code of this file.
Functions/Subroutines | |
subroutine | spatialdynonetimestep (year, currlatstart, currlatend, currlonstart, currlonend, nspc, dodispersal, dofft) |
SpatialDynOneTimeStep, spatial dynamics in one time step. | |
subroutine | localdynonetimestep (year, lat, lon, nspc, ddegs, wtemp, drstr, avnit, brwpr, disturb, germdrought, dodispersal, dofft) |
LocalDynOneTimeStep, local dynamics in one time step and one cell. | |
subroutine | killalltreesandseeds (nspc, thiscell) |
KillAllTreesAndSeeds, local dynamics in one time step and one cell. | |
subroutine killalltreesandseeds | ( | integer, intent(in) | nspc, |
type(currstateincell), intent(inout) | thiscell ) |
KillAllTreesAndSeeds, local dynamics in one time step and one cell.
If cell is not stockable, all trees and seeds are set to zero
nspc | number of species |
thiscell | current state of current cell |
OUT:
CALLED FROM:
Definition at line 193 of file SpatialDynOneTimeStep.f90.
subroutine localdynonetimestep | ( | integer, intent(in) | year, |
integer, intent(in) | lat, | ||
integer, intent(in) | lon, | ||
integer, intent(in) | nspc, | ||
real, intent(in) | ddegs, | ||
real, intent(in) | wtemp, | ||
real, intent(in) | drstr, | ||
real, intent(in) | avnit, | ||
real, intent(in) | brwpr, | ||
real, intent(in) | disturb, | ||
real, intent(in) | germdrought, | ||
logical, intent(in) | dodispersal, | ||
logical, intent(in) | dofft ) |
LocalDynOneTimeStep, local dynamics in one time step and one cell.
For (i.e.) standard and parallel TreeMig
USE: All_par
nspc | number of species |
year | current year (relative years) |
lat,lon | (relative) coordinates of current grid cell |
ddegs,wtemp,drstr,avnit,brwpr,disturb,germDrought | : environmental conditions now in this grid cell |
doDispersal | : flag,simulate dispersal ? |
doFFT | flag, dispersal by fast fourier transform? |
thiscell | current state of current cell |
Definition at line 129 of file SpatialDynOneTimeStep.f90.
subroutine spatialdynonetimestep | ( | integer, intent(in) | year, |
integer, intent(in) | currlatstart, | ||
integer, intent(in) | currlatend, | ||
integer, intent(in) | currlonstart, | ||
integer, intent(in) | currlonend, | ||
integer, intent(in) | nspc, | ||
logical, intent(in) | dodispersal, | ||
logical, intent(in) | dofft ) |
SpatialDynOneTimeStep, spatial dynamics in one time step.
For non parallel (i.e.) standard TreeMig
IN:
nspc | number of species |
year | current year (relative years) |
currLatStart,currLatEnd,currLonStart,currLonEnd | part of total simulation area currently simulated, e.g. for spin-up. Is not subarea of parallelisation!> |
ncallSpatSimu | : which call of TimeLoop: 1st (inoculation) or 2nd (migration simulation) |
doDispersal | : flags,simulate dispersal ? |
doFFT | flag, dispersal by fast fourier transform? |
CALLS:
CALLED FROM:
Definition at line 46 of file SpatialDynOneTimeStep.f90.