iLand
Classes | Public Member Functions | List of all members
BBGenerations Class Reference

BBGenerations calculates potential bark beetle generations based on climate data (including bark temperature). More...

#include <bbgenerations.h>

Public Member Functions

 BBGenerations ()
 
double calculateGenerations (const ResourceUnit *ru)
 calculate the number of barbeetle generations for the given resource unit. More...
 
int sisterBroods () const
 number of sister broods (reaching at least 60% of thermal development) More...
 
int filialBroods () const
 number consecutive broods (reaching at least 60% of thermal development) More...
 
bool hasSisterBrood () const
 returns true, if the sister broods of the same generation were also developed (e.g. More...
 
int frostDaysEarly () const
 number of cold days (tmin < -15 degrees) in the first half of the year More...
 
int frostDaysLate () const
 number of cold days (tmin < -15 degrees) in the second half of the year More...
 

Detailed Description

BBGenerations calculates potential bark beetle generations based on climate data (including bark temperature).

Constructor & Destructor Documentation

◆ BBGenerations()

BBGenerations::BBGenerations ( )

Member Function Documentation

◆ calculateGenerations()

double BBGenerations::calculateGenerations ( const ResourceUnit ru)

calculate the number of barbeetle generations for the given resource unit.

BBGenerations::calculateGenerations.

Parameters
ru
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: