Rev 454 | Rev 468 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 454 | Rev 462 | ||
---|---|---|---|
Line 39... | Line 39... | ||
39 | void calculate(const bool fromEstablishment=false); ///< calculate response for species, calculate actual 3PG production |
39 | void calculate(const bool fromEstablishment=false); ///< calculate response for species, calculate actual 3PG production |
40 | void calclulateEstablishment(); ///< perform establishment calculations |
40 | void calclulateEstablishment(); ///< perform establishment calculations |
41 | void calclulateSaplingGrowth(); ///< growth of saplings |
41 | void calclulateSaplingGrowth(); ///< growth of saplings |
42 | void addSapling(const QPoint &position) { mSapling.addSapling(position); } ///< add a saplings on a given position |
42 | void addSapling(const QPoint &position) { mSapling.addSapling(position); } ///< add a saplings on a given position |
43 | void clearSaplings(const QPoint &position) { mSapling.clearSaplings(position);} ///< clear saplings on a given position (after recruitment) |
43 | void clearSaplings(const QPoint &position) { mSapling.clearSaplings(position);} ///< clear saplings on a given position (after recruitment) |
- | 44 | bool hasSaplingAt(const QPoint &position) const { return mSapling.hasSapling(position); } ///< return true if a sapling of the current speices is present at 'position' |
|
44 | 45 | ||
45 | // visualization/graphical output
|
46 | // visualization/graphical output
|
46 | void visualGrid(Grid<float> &grid) const; |
47 | void visualGrid(Grid<float> &grid) const; |
47 | 48 | ||
48 | private: |
49 | private: |