![]() |
TreeMig Code
|
Go to the source code of this file.
Functions/Subroutines | |
| subroutine | seedsdispersedfromthiscell (nspc, lat, lon) |
| SeedsDispersedFromThisCell: Does the explicit seed dispersal for all species. | |
| subroutine | seedsdispfromthiscellandspec (isp, lat, lon) |
| SeedsDispFromThisCellAndSpec, for brute force dispersal without FFT. | |
| subroutine | updatenewseeds (nspc, iam, dodispersal, year, lats, late, lons, lone) |
| UpdateNewSeeds. | |
| subroutine | seedsfromoutssimregion (nspc, dodispersal, year, lats, late, lons, lone) |
| SeedsFromOutsSimRegion. | |
| subroutine | boundaryconditions (wlat, maxlat, wlon, maxlon, dodisp, boundaries) |
| BoundaryConditions, evaluates whether the sink cell is in the simulation domain. | |
| subroutine boundaryconditions | ( | integer, intent(inout) | wlat, |
| integer, intent(in) | maxlat, | ||
| integer, intent(inout) | wlon, | ||
| integer, intent(in) | maxlon, | ||
| logical, intent(out) | dodisp, | ||
| character(1), intent(in) | boundaries ) |
BoundaryConditions, evaluates whether the sink cell is in the simulation domain.
Determines whether - under prescribed boundary conditions - a sink cell is valid, and if not puts the seeds somewhere else it is quite a mess with these preprocessor statements, no idea why ( maybe for efficiency) this was introduced (by Julia?). The case part should be reactivated and then the variable be read in from control pars again.
| maxlat,maxlon | :number of rows and columns of simulation domain |
| lat,wlon | : absolute coordinates for latitude longitude of sink cell as originally proposed [=..] |
| wlat,wlon | : absolute coordinates for latitude longitude of sink cell, potentially modified [=..] |
| boundaries | boundary condition, absorbing (a), cyclic (c), half-cyclic south-north (s), half-cyclic west-east (w) |
| dodisp | : do dispersal into the originally determined sink cell? [=..] |
| wlat,wlon | : absolute coordinates for latitude longitude of sink cell, potentially modified [=..] |
Definition at line 262 of file Interact.f90.
| subroutine seedsdispersedfromthiscell | ( | integer, intent(in) | nspc, |
| integer, intent(in) | lat, | ||
| integer, intent(in) | lon ) |
SeedsDispersedFromThisCell: Does the explicit seed dispersal for all species.
| nspc | number of species |
| lat,lon | coordinates (relative) of current grid cell. |
Definition at line 29 of file Interact.f90.
| subroutine seedsdispfromthiscellandspec | ( | integer, intent(in) | isp, |
| integer, intent(in) | lat, | ||
| integer, intent(in) | lon ) |
SeedsDispFromThisCellAndSpec, for brute force dispersal without FFT.
Does the explicit seed dispersal for one species from one source cell (lat,lon) to all sink cells
| isp | index of species |
| lat,lon | coordinates (relative) of current grid cell |
Definition at line 77 of file Interact.f90.
| subroutine seedsfromoutssimregion | ( | integer, intent(in) | nspc, |
| logical, intent(in) | dodispersal, | ||
| integer, intent(in) | year, | ||
| integer, intent(in) | lats, | ||
| integer, intent(in) | late, | ||
| integer, intent(in) | lons, | ||
| integer, intent(in) | lone ) |
SeedsFromOutsSimRegion.
adds a given number of seeds to all grid cells in seedrainnewSeeds; same for all species; default is 0.
| nspc | number of species |
| lats,late,lons,lone | start and end of coordinates (relative) of current grid subarea |
| year | current simulation year (relative) |
| doDispersal | if explicit dispersal has to be done done; normally the case; corresponds to idisp |
Definition at line 217 of file Interact.f90.
| subroutine updatenewseeds | ( | integer, intent(in) | nspc, |
| integer, intent(in) | iam, | ||
| logical, intent(in) | dodispersal, | ||
| integer, intent(in) | year, | ||
| integer, intent(in) | lats, | ||
| integer, intent(in) | late, | ||
| integer, intent(in) | lons, | ||
| integer, intent(in) | lone ) |
UpdateNewSeeds.
updates the seeds in the sink cells in a given subarea; in verynewseeds the current seeds landing in the subarea are collected. Once this is finished, all the seeds are transfered to the final variable newseeds.
| nspc | number of species |
| lats,late,lons,lone | start and end of coordinates (relative) of current grid subarea |
| year | current simulation year (relative) |
| iam | identifier of processor (slave) if parallel computing |
| doDispersal | if explicit dispersal has to be done done; normally the case; corresponds to idisp |
| [in] | dodispersal | Local variables>------------------------------------------------------------------------------— |
Definition at line 158 of file Interact.f90.