Subversion Repositories public iLand

Rev

Rev 863 | Rev 936 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 863 Rev 911
Line 43... Line 43...
43
    // action
43
    // action
44
    void calculate(const bool fromEstablishment=false); ///< calculate response for species, calculate actual 3PG production
44
    void calculate(const bool fromEstablishment=false); ///< calculate response for species, calculate actual 3PG production
45
    // establishment, sapling growth
45
    // establishment, sapling growth
46
    void calculateEstablishment(); ///< perform establishment calculations
46
    void calculateEstablishment(); ///< perform establishment calculations
47
    void calclulateSaplingGrowth(); ///< growth of saplings
47
    void calclulateSaplingGrowth(); ///< growth of saplings
48
    void addSapling(const QPoint &position) { mSapling.addSapling(position); } ///< add a saplings on a given position
-
 
-
 
48
    int addSapling(const QPoint &position, const float height=0.05f) { return mSapling.addSapling(position, height); } ///< add a saplings on a given position
49
    void clearSaplings(const QPoint &position) { mSapling.clearSaplings(position);} ///< clear saplings on a given position (after recruitment)
49
    void clearSaplings(const QPoint &position) { mSapling.clearSaplings(position);} ///< clear saplings on a given position (after recruitment)
50
    bool hasSaplingAt(const QPoint &position) const { return mSapling.hasSapling(position); } ///< return true if a sapling of the current speices is present at 'position'
50
    bool hasSaplingAt(const QPoint &position) const { return mSapling.hasSapling(position); } ///< return true if a sapling of the current speices is present at 'position'
51
    // visualization/graphical output
51
    // visualization/graphical output
52
    void visualGrid(Grid<float> &grid) const;
52
    void visualGrid(Grid<float> &grid) const;
53
53