43 use all_par,
only:
maxhc,
birht,
maxspc,
a1,
a2,
c1,
c2,
kn1,
kn2, &
53 LOGICAL,
INTENT(IN) :: doFFT
55 INTEGER,
INTENT(out) :: nspc
68 character(len=100) :: nameLong
69 character(len=100) :: nameShort
98 read_spec:
do i = 1,
maxspc
102 namelong, nameshort,
spec(i)%stb,
spec(i)%stn,
spec(i)%kdmax, &
107 spec(i)%seedGerm,
spec(i)%seedLoss, seedmaxage, &
110 spec(i)%nl = trim(namelong)
111 spec(i)%ns = trim(nameshort)
115 exit_loop:
if (err /= 0)
then
125 defmort:
do i = 1, nspc
127 spec(i)%seedSurv = 0.05**(1.0/seedmaxage)
137 where (
spec%lthres < 0.0)
spec%lthres = 0.0
143 speccl(i)%lightDepA(ltcl) = lidep
145 speccl(i)%lightDepE(ltcl) = lidep
158 a1 = (/exp(-2.5), exp(-2.3), exp(-2.9), exp(-1.8), exp(-1.5)/)
159 a2 = (/1.4, 1.4, 1.7, 1.4, 1.6/)
163 kn1 = (/-0.016, -0.022, -0.016/)
164 kn2 = (/2.245, 30.605, 43.973/)
176 speciesproperties:
do i = 1, nspc
191 swidth = 11.0/
real(
spec(i)%maxhtc - floor(
spec(i)%mathcp) + 1)
193 init_sdht:
do ht = floor(
spec(i)%mathcp),
spec(i)%maxhtc
196 speccl(i)%seedprod(ht) = (10.+(.9*((
real(ht - floor(
spec(i)%mathcp))*swidth)**2)))/100.0
197 sumprop = sumprop +
speccl(i)%seedprod(ht)
204 end do speciesproperties
222 write (
speciesout_file%unit,
"(A)")
'Species'//tab//
'Abbrv'//tab//
'sType/B'//tab//
'sType/N'//tab//
'kDMax'//tab// &
223 'kHMax'//tab//
'kAMax'//tab//
'kG'//tab//
'kDDMin'//tab//
'kDD75'//tab// &
224 'kWiT'//tab//
'kDrT'//tab//
'kGermDrSens'//tab//
'kNTol'//tab//
'kbrow'//tab//
'klighs'//tab// &
225 'kligha'//tab//
'klq'//tab//
'kimm'//tab//
'resID'//tab//
'ploto'//tab// &
226 'par0'//tab//
'par1'//tab//
'par2'//tab//
'inmat'//tab//
'seedGerm'//tab// &
227 'seedLoss'//tab//
'seedMaxAge'//tab//
'period'//tab//
'maxseed'//tab//
'dispFac'//tab// &
228 'alfa1'//tab//
'alfa2'//tab//
'repFac'//tab//
'red'//tab//
'green'//tab//
'blue'
230 write (
speciesout_file%unit,
'(3(A,A1),8(I6,A1),2(F18.6,A1),11(I8,A1),10(F18.6,A1),2(I8,A1),1(I8))') &
232 spec(i)%stb, tab,
spec(i)%stn, tab,
spec(i)%kdmax, tab, &
233 spec(i)%khmax, tab,
spec(i)%kamax, tab,
spec(i)%kg, tab,
spec(i)%kddmin, tab,
spec(i)%kddmax, tab, &
234 spec(i)%kwit, tab,
spec(i)%kdrt, tab,
spec(i)%kGermDrSens,tab,
spec(i)%kntol, tab, &
235 spec(i)%kbrow, tab,
spec(i)%klighs, tab, &
236 spec(i)%kligha, tab,
spec(i)%klq, tab,
spec(i)%kimm, tab,
spec(i)%resld, tab,
spec(i)%ploto, tab, &
237 spec(i)%par0, tab,
spec(i)%par1, tab,
spec(i)%par2, tab,
spec(i)%minmat, tab,
spec(i)%seedGerm, tab, &
238 spec(i)%seedLoss, tab, seedmaxage, tab,
spec(i)%period, tab,
spec(i)%maxseed, tab, &
239 spec(i)%dispFac, tab,
spec(i)%alfa1, tab,
spec(i)%alfa2, tab,
spec(i)%repFac, tab, &