56 LOGICAL,
INTENT(in):: doParallel
59 yearStartEqRun, yearEndEqRun, &
62 currLatStart, currLatEnd, &
63 currLonStart, currLonEnd
64 LOGICAL :: doDispersal
103 if ((yearstarteqrun < yearendeqrun))
then
107 write(
logmessage,
"(A,I6,A,I6)")
"Starting inoculation from year", yearstarteqrun,
" to ", yearendeqrun
112 call timeloop(yearstarteqrun, yearendeqrun, &
113 1,
maxlat, 1,
maxlon, currlatstart, currlatend, currlonstart, currlonend, &
120 currlatstart = 1; currlatend =
maxlat
121 currlonstart = 1; currlonend =
maxlon
124 call loginfo(
"Reading state file...")
125 call readstate(stateyear, currlatstart, currlatend, currlonstart, currlonend, nspc)
126 yearstart = stateyear
127 yearend =
numyrs + yearstarteqrun - 1
129 call loginfo(
"Read state file disabled. Skip reading state file...")
130 yearstart = yearendeqrun + 1
131 yearend =
numyrs + yearstarteqrun - 1
136 write(
logmessage,
"(A,I6,A,I6)")
"Starting migration simulation from year", yearstart,
" to ", yearend
138 write(
logmessage,
"(4(A10))")
"latStart",
"latEnd",
"lonStart",
"lonEnd"
140 write(
logmessage,
"(4(I10))") currlatstart, currlatend, currlonstart, currlonend
145 1,
maxlat, 1,
maxlon, currlatstart, currlatend, currlonstart, currlonend, &
subroutine readstate(stateyear, latstart, latend, lonstart, lonend, nspc)
ReadState.
subroutine timeloop(yearstart, yearend, latstart, latend, lonstart, lonend, currlatstart, currlatend, currlonstart, currlonend, facvar, nspc, dodispersal, ncallspatsimu, doparallel, dofft)
TimeLoop.