iLand
Public Member Functions | Static Public Member Functions | List of all members
SeedDispersal Class Reference

The class encapsulates the dispersal of seeds of one species over the whole landscape. More...

#include <seeddispersal.h>

Public Member Functions

 SeedDispersal (Species *species=0)
 
 ~SeedDispersal ()
 
bool isSetup () const
 
void setup ()
 setup of the seedmaps. More...
 
const Grid< float > & seedMap () const
 access to the seedMap More...
 
const Speciesspecies () const
 
void setMatureTree (const QPoint &lip_index, double leaf_area)
 setMatureTree is called by individual (mature) trees. This actually fills the initial state of the seed map. More...
 
void setSaplingTree (const QPoint &lip_index, float leaf_area)
 flags pixel at 'lip_index' that seeds should be produced. Called by saplings in the regeneration layer. More...
 
void seedProductionSerotiny (const Tree *tree)
 extra seed rain of serotinous species at 'position_index' More...
 
void newYear ()
 initial values at the beginning of the year for the grid More...
 
void clearSaplingMap ()
 clear More...
 
void execute ()
 run the seed dispersal More...
 
void loadFromImage (const QString &fileName)
 debug function... More...
 
void dumpMapNextYear (QString file_name)
 

Static Public Member Functions

static void setupExternalSeeds ()
 
static void finalizeExternalSeeds ()
 

Detailed Description

The class encapsulates the dispersal of seeds of one species over the whole landscape.

The dispersal algortihm operate on grids with a 20m resolution.

See http://iland-model.org/dispersal

Constructor & Destructor Documentation

◆ SeedDispersal()

SeedDispersal::SeedDispersal ( Species species = 0)
inline

◆ ~SeedDispersal()

SeedDispersal::~SeedDispersal ( )

Member Function Documentation

◆ clearSaplingMap()

void SeedDispersal::clearSaplingMap ( )

clear

◆ dumpMapNextYear()

void SeedDispersal::dumpMapNextYear ( QString  file_name)
inline

◆ execute()

void SeedDispersal::execute ( )

run the seed dispersal

◆ finalizeExternalSeeds()

void SeedDispersal::finalizeExternalSeeds ( )
static

◆ isSetup()

bool SeedDispersal::isSetup ( ) const
inline

◆ loadFromImage()

void SeedDispersal::loadFromImage ( const QString &  fileName)

debug function...

debug function: loads a image of arbirtrary size...

◆ newYear()

void SeedDispersal::newYear ( )

initial values at the beginning of the year for the grid

◆ seedMap()

const Grid< float > & SeedDispersal::seedMap ( ) const
inline

access to the seedMap

◆ seedProductionSerotiny()

void SeedDispersal::seedProductionSerotiny ( const Tree tree)

extra seed rain of serotinous species at 'position_index'

is called from the fire module (or from a JS script)

◆ setMatureTree()

void SeedDispersal::setMatureTree ( const QPoint &  lip_index,
double  leaf_area 
)
inline

setMatureTree is called by individual (mature) trees. This actually fills the initial state of the seed map.

◆ setSaplingTree()

void SeedDispersal::setSaplingTree ( const QPoint &  lip_index,
float  leaf_area 
)

flags pixel at 'lip_index' that seeds should be produced. Called by saplings in the regeneration layer.

◆ setup()

void SeedDispersal::setup ( )

setup of the seedmaps.

This sets the size of the seed map and creates the seed kernel (species specific)

◆ setupExternalSeeds()

void SeedDispersal::setupExternalSeeds ( )
static

◆ species()

const Species * SeedDispersal::species ( ) const
inline

The documentation for this class was generated from the following files: