Rev 376 | Rev 436 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 376 | Rev 431 | ||
---|---|---|---|
Line 186... | Line 186... | ||
186 | 186 | ||
187 | // invoke species specific calculation (3PG)
|
187 | // invoke species specific calculation (3PG)
|
188 | for (i=mRUSpecies.begin(); i!=iend; ++i) { |
188 | for (i=mRUSpecies.begin(); i!=iend; ++i) { |
189 | i->statistics().clear(); |
189 | i->statistics().clear(); |
190 | i->calculate(); |
190 | i->calculate(); |
191 | if (i->LAIfactor()>0) |
- | |
- | 191 | if (logLevelInfo() && i->LAIfactor()>0) |
|
192 | qDebug() << "ru" << mIndex << "species" << (*i).species()->id() << "LAIfraction" << i->LAIfactor() << "raw_gpp_m2" |
192 | qDebug() << "ru" << mIndex << "species" << (*i).species()->id() << "LAIfraction" << i->LAIfactor() << "raw_gpp_m2" |
193 | << i->prod3PG().GPPperArea() << "area:" << productiveArea() << "gpp:" |
193 | << i->prod3PG().GPPperArea() << "area:" << productiveArea() << "gpp:" |
194 | << productiveArea()*i->prod3PG().GPPperArea() |
194 | << productiveArea()*i->prod3PG().GPPperArea() |
195 | << "aging(lastyear):" << averageAging(); |
195 | << "aging(lastyear):" << averageAging(); |
196 | }
|
196 | }
|
Line 202... | Line 202... | ||
202 | mEffectiveArea_perWLA = 0.; |
202 | mEffectiveArea_perWLA = 0.; |
203 | return; |
203 | return; |
204 | }
|
204 | }
|
205 | Q_ASSERT(mAggregatedLR>0.); |
205 | Q_ASSERT(mAggregatedLR>0.); |
206 | mEffectiveArea_perWLA = mEffectiveArea / mAggregatedLR; |
206 | mEffectiveArea_perWLA = mEffectiveArea / mAggregatedLR; |
207 | qDebug() << "RU: aggregated lightresponse:" << mAggregatedLR << "eff.area./wla:" << mEffectiveArea_perWLA; |
- | |
- | 207 | if (logLevelDebug()) qDebug() << "RU: aggregated lightresponse:" << mAggregatedLR << "eff.area./wla:" << mEffectiveArea_perWLA; |
|
208 | }
|
208 | }
|
209 | 209 | ||
210 | // function is called immediately before the growth of individuals
|
210 | // function is called immediately before the growth of individuals
|
211 | void ResourceUnit::beforeGrow() |
211 | void ResourceUnit::beforeGrow() |
212 | {
|
212 | {
|