Go to the source code of this file.
|
subroutine | specimmigration (nspc, year, dodispersal, thiscell) |
| SpecImmigration
|
|
◆ specimmigration()
subroutine specimmigration |
( |
integer, intent(in) | nspc, |
|
|
integer, intent(in) | year, |
|
|
logical, intent(in) | dodispersal, |
|
|
type(currstateincell), intent(inout) | thiscell ) |
SpecImmigration
Determines the immigration of saplings
- for each species and immigration event
- the immigration coordinates are converted into simulation coordinates
- if the current cell and year fall into a immigration period and cell,
- the number of saplings (0th height class) is increased by 1000
- USE: All_par
- IN:
- Parameters
-
nspc | : number of species |
year | : simulation year |
doDispersal | : flag, explicit dispersal? |
thiscell | : state of this cell before immigration |
- FROM All_par
- pltsiz: REAL: patch size (in m^2)
- CurrStateInCell: TYPE: describing current state in cell
- potbirth: REAL, parameter : constant birth rate parameter
- maxlat,maxlon :INTEGER : max. dimensions of simulation area
- immigration: LOGICAL: flag, whether immigration is simulated
- immiPeriod:INTEGER : period around immigration times, when species immigrate; read in in ReadImmigrationData
- spec(maxspc): TYPE(SpecProperties) : species properties; here only information immidat is used
- OUT:
- Parameters
-
thiscell | : state of this cell after immigration |
- via All_par
- spec(maxspc): TYPE(SpecProperties) : species properties; here only birth is changed
- CALLED FROM:
Definition at line 52 of file SpecImmigration.f90.