The BarkBeetleCell is the basic unit (10m pixels) of the bark beetle module.
More...
#include <barkbeetlemodule.h>
|
| BarkBeetleCell () |
|
void | clear () |
|
void | reset () |
| full reset of the pixel More...
|
|
bool | isHost () const |
|
bool | isPotentialHost () const |
|
void | setInfested (bool is_infested) |
| sets the 'infested' state (true: the cell is newly infested, false: the cell stops being infested, e.g. by winter mortality) More...
|
|
void | finishedSpread (int iteration) |
| called after beetles spread out from the cell. The cell is marked as 'killed', and trees will be killed later (barkbeetleKill()). More...
|
|
bool | isNeutralized () const |
| return true if either storm damaged trees or trap trees are on the pixel or in the Moore neighborhood of the cell More...
|
|
The BarkBeetleCell is the basic unit (10m pixels) of the bark beetle module.
Cells can be infested (i.e. beetles attacked/killed all spruce trees within its perimeter), and new beetle (packages) spread from the cell to infest new cells.
◆ DeadTrees
Enumerator |
---|
NoDeadTrees | |
StormDamage | |
SinkInVicinity | |
BeetleTrapTree | |
◆ BarkBeetleCell()
BarkBeetleCell::BarkBeetleCell |
( |
| ) |
|
|
inline |
◆ clear()
void BarkBeetleCell::clear |
( |
| ) |
|
|
inline |
◆ finishedSpread()
void BarkBeetleCell::finishedSpread |
( |
int |
iteration | ) |
|
|
inline |
called after beetles spread out from the cell. The cell is marked as 'killed', and trees will be killed later (barkbeetleKill()).
◆ isHost()
bool BarkBeetleCell::isHost |
( |
| ) |
const |
|
inline |
◆ isNeutralized()
bool BarkBeetleCell::isNeutralized |
( |
| ) |
const |
|
inline |
return true if either storm damaged trees or trap trees are on the pixel or in the Moore neighborhood of the cell
◆ isPotentialHost()
bool BarkBeetleCell::isPotentialHost |
( |
| ) |
const |
|
inline |
◆ reset()
void BarkBeetleCell::reset |
( |
| ) |
|
|
inline |
◆ resetCounters()
static void BarkBeetleCell::resetCounters |
( |
| ) |
|
|
inlinestatic |
◆ setInfested()
void BarkBeetleCell::setInfested |
( |
bool |
is_infested | ) |
|
|
inline |
sets the 'infested' state (true: the cell is newly infested, false: the cell stops being infested, e.g. by winter mortality)
◆ backgroundInfestationProbability
float BarkBeetleCell::backgroundInfestationProbability |
background prob. of infestation per 10m cell
◆ dbh
float BarkBeetleCell::dbh |
◆ deadtrees
◆ infested
bool BarkBeetleCell::infested |
◆ killed
bool BarkBeetleCell::killed |
◆ killedYear
int BarkBeetleCell::killedYear |
◆ max_iteration
int BarkBeetleCell::max_iteration = 0 |
|
static |
◆ n_events
int BarkBeetleCell::n_events |
◆ n_total
int BarkBeetleCell::n_total |
◆ outbreakYear
float BarkBeetleCell::outbreakYear |
◆ p_colonize
float BarkBeetleCell::p_colonize |
◆ packageOutbreakYear
float BarkBeetleCell::packageOutbreakYear |
◆ sum_volume_killed
float BarkBeetleCell::sum_volume_killed |
◆ total_infested
int BarkBeetleCell::total_infested = 0 |
|
static |
◆ tree_stress
float BarkBeetleCell::tree_stress |
The documentation for this class was generated from the following files: