Subversion Repositories public iLand

Rev

Rev 609 | Rev 626 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 609 Rev 611
Line 224... Line 224...
224
    // calculate the total weighted leaf area on this RU:
224
    // calculate the total weighted leaf area on this RU:
225
    mLRI_modification = interception_fraction *  mStockedArea / mAggregatedWLA; // p_WLA
225
    mLRI_modification = interception_fraction *  mStockedArea / mAggregatedWLA; // p_WLA
226
    if (mLRI_modification == 0.)
226
    if (mLRI_modification == 0.)
227
        qDebug() << "lri modifaction==0!";
227
        qDebug() << "lri modifaction==0!";
228
228
229
-
 
-
 
229
    if (logLevelDebug()) {
230
    DBGMODE(qDebug() << QString("production: LAI: %1 (intercepted fraction: %2, stocked area: %4). LRI-Multiplier: %3")
230
    DBGMODE(qDebug() << QString("production: LAI: %1 (intercepted fraction: %2, stocked area: %4). LRI-Multiplier: %3")
231
            .arg(LAI)
231
            .arg(LAI)
232
            .arg(interception_fraction)
232
            .arg(interception_fraction)
233
            .arg(mLRI_modification)
233
            .arg(mLRI_modification)
234
            .arg(mStockedArea);
234
            .arg(mStockedArea);
235
    );
235
    );
-
 
236
    }
236
237
237
    // calculate LAI fractions
238
    // calculate LAI fractions
238
    QList<ResourceUnitSpecies*>::const_iterator i;
239
    QList<ResourceUnitSpecies*>::const_iterator i;
239
    QList<ResourceUnitSpecies*>::const_iterator iend = mRUSpecies.constEnd();
240
    QList<ResourceUnitSpecies*>::const_iterator iend = mRUSpecies.constEnd();
240
    double ru_lai = leafAreaIndex();
241
    double ru_lai = leafAreaIndex();