46 INTEGER,
INTENT(in) :: nspc
47 Logical,
INTENT(in) :: doDispersal
51 REAL :: seedBankUngrazed, grazing, grazersOld, sharePerGrazer, amountPerGrazer, &
56 byspecies:
do i = 1, nspc
60 grazersold = thiscell%sp(i)%antagonist
61 seedbankungrazed = thiscell%sp(i)%seedBank + thiscell%sp(i)%newSeeds
63 amountpergrazer = seedbankungrazed*sharepergrazer
64 grazing = grazersold*amountpergrazer
67 thiscell%sp(i)%seedBank = seedbankungrazed - grazing
75 ratio = min(thiscell%sp(i)%newSeeds/
seedcarrcap, 20.0)
76 exporatio = exp(-ratio)
79 if ((ratio > 0.0) .AND. (thiscell%sp(i)%seedBank == 0.0)) thiscell%sp(i)%seedBank = thiscell%sp(i)%newSeeds
83 thiscell%sp(i)%seedBank = thiscell%sp(i)%seedBank + thiscell%sp(i)%newSeeds
86 thiscell%sp(i)%sb = thiscell%sp(i)%seedBank
87 thiscell%sp(i)%newSeeds = 0.0;