Go to the source code of this file.
|
subroutine | treemig (doparallel) |
| TreeMig (TREE MIGration simulator)
|
|
◆ treemig()
subroutine treemig |
( |
logical, intent(in) | doparallel | ) |
|
TreeMig (TREE MIGration simulator)
Main SUBROUTINE for the simulation of tree migration.
- Settings, parameters and data are read in, the output files are prepared
- Inoculation: The simulation is run without dispersal with ubiquitous seed input
- Migration simulation: The simulation is run with dispersal
- Cleaning up.
- USE: FileListModule, NetcdfTMModule, All_par
- IN:
- Parameters
-
doParallel | flag whether parallel computing |
- OUT:
- via FileListModule
- via All_par
- all (except facvar) read in ReadControlpars called from ReadControlParsAndInitFiles
- integer: numyrs : number of simulation years
- integer: inoculationTime: duration of initial simulation with seeds everywhere present
- integer: maxlat, maxlon : number of rows/cols of simulation domain,
- integer: startlatStart, startlatEnd, startlonStart, startlonEnd: position in relative coordinates of inoculation cells (rectangle)
- REAL: facvar, fcvarInit, fcvarDyn : factor of variability for light freq. dynamics, used/Initialisation/Simulation
- LOGICAL: readStateFile: flag whether statevector is read in
- LOGICAL: doFFT: flag whether dispersal is computed with FFT
- CALLS:
- CALLS support routines:
- CALLED FROM:
Definition at line 45 of file TreeMig.f90.