BBGenerations calculates potential bark beetle generations based on climate data (including bark temperature).
More...
#include <bbgenerations.h>
BBGenerations calculates potential bark beetle generations based on climate data (including bark temperature).
◆ BBGenerations()
BBGenerations::BBGenerations |
( |
| ) |
|
◆ calculateGenerations()
double BBGenerations::calculateGenerations |
( |
const ResourceUnit * |
ru | ) |
|
calculate the number of barbeetle generations for the given resource unit.
BBGenerations::calculateGenerations.
- Parameters
-
- Returns
- the number of filial generation (i.e, main generations) + 0.5 if a sister brood develops also for the last generation
◆ filialBroods()
int BBGenerations::filialBroods |
( |
| ) |
const |
|
inline |
number consecutive broods (reaching at least 60% of thermal development)
◆ frostDaysEarly()
int BBGenerations::frostDaysEarly |
( |
| ) |
const |
|
inline |
number of cold days (tmin < -15 degrees) in the first half of the year
◆ frostDaysLate()
int BBGenerations::frostDaysLate |
( |
| ) |
const |
|
inline |
number of cold days (tmin < -15 degrees) in the second half of the year
◆ hasSisterBrood()
bool BBGenerations::hasSisterBrood |
( |
| ) |
const |
|
inline |
returns true, if the sister broods of the same generation were also developed (e.g.
2 gen + 2 sister -> true, 2 gen + 1 sister -> false)
◆ sisterBroods()
int BBGenerations::sisterBroods |
( |
| ) |
const |
|
inline |
number of sister broods (reaching at least 60% of thermal development)
The documentation for this class was generated from the following files: