TreeMig Code
Loading...
Searching...
No Matches
TreeMig.f90 File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine treemig (doparallel)
 TreeMig (TREE MIGration simulator)
 

Function/Subroutine Documentation

◆ treemig()

subroutine treemig ( logical, intent(in) doparallel)

TreeMig (TREE MIGration simulator)


Main SUBROUTINE for the simulation of tree migration.

  1. Settings, parameters and data are read in, the output files are prepared
  2. Inoculation: The simulation is run without dispersal with ubiquitous seed input
  3. Migration simulation: The simulation is run with dispersal
  4. Cleaning up.
  • USE: FileListModule, NetcdfTMModule, All_par
  • IN:
    • Parameters
      doParallelflag whether parallel computing
  • OUT:
    • via FileListModule
      • Bioclimate_File
    • 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.