Rev 937 | Rev 998 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 937 | Rev 967 | ||
---|---|---|---|
Line 574... | Line 574... | ||
574 | initOutputDatabase(); |
574 | initOutputDatabase(); |
575 | GlobalSettings::instance()->outputManager()->setup(); |
575 | GlobalSettings::instance()->outputManager()->setup(); |
576 | GlobalSettings::instance()->clearDebugLists(); |
576 | GlobalSettings::instance()->clearDebugLists(); |
577 | 577 | ||
578 | // initialize stands
|
578 | // initialize stands
|
- | 579 | StandLoader loader(this); |
|
579 | {
|
580 | {
|
580 | DebugTimer loadtrees("load trees"); |
581 | DebugTimer loadtrees("load trees"); |
581 | StandLoader loader(this); |
- | |
582 | loader.processInit(); |
582 | loader.processInit(); |
583 | }
|
583 | }
|
584 | // initalization of ABE
|
584 | // initalization of ABE
|
585 | if (mABEManagement) { |
585 | if (mABEManagement) { |
586 | mABEManagement->setup(); |
586 | mABEManagement->setup(); |
Line 602... | Line 602... | ||
602 | if (logLevelDebug()) qDebug() << "attempting to calculate initial stand statistics (incl. apply and read pattern)..." ; |
602 | if (logLevelDebug()) qDebug() << "attempting to calculate initial stand statistics (incl. apply and read pattern)..." ; |
603 | Tree::setGrid(mGrid, mHeightGrid); |
603 | Tree::setGrid(mGrid, mHeightGrid); |
604 | // debugCheckAllTrees(); // introduced for debugging session (2012-04-06)
|
604 | // debugCheckAllTrees(); // introduced for debugging session (2012-04-06)
|
605 | applyPattern(); |
605 | applyPattern(); |
606 | readPattern(); |
606 | readPattern(); |
- | 607 | loader.processAfterInit(); // e.g. initialization of saplings |
|
607 | 608 | ||
608 | // force the compilation of initial stand statistics
|
609 | // force the compilation of initial stand statistics
|
609 | createStandStatistics(); |
610 | createStandStatistics(); |
610 | }
|
611 | }
|
611 | 612 |