C# Class Madingley.ResponsiveDispersal

A formulation of the process of dispersal
Inheritance: Madingley.CommonDispersalMethods, IDispersalImplementation
Afficher le fichier Open project: Madingley/C-sharp-version-of-Madingley Class Usage Examples

Méthodes publiques

Méthode Description
InitialiseParametersResponsiveDispersal ( ) : void
WriteOutParameterValues ( StreamWriter sw ) : void

Write out the values of the parameters to an output file

Méthodes protégées

Méthode Description
CalculateDispersalProbability ( Madingley.ModelGrid madingleyGrid, uint latIndex, uint lonIndex, double dispersalSpeed ) : double[]

Calculates the probability of responsive dispersal given average individual dispersal speed and grid cell

CalculateDispersalSpeed ( double bodyMass ) : double

Calculate the average diffusive dispersal speed of individuals in a cohort given their body mass

Private Methods

Méthode Description
CheckDensityDrivenDispersal ( Madingley.ModelGrid gridForDispersal, uint latIndex, uint lonIndex, Madingley.Cohort cohortToDisperse, int functionalGroup, int cohortNumber ) : void
CheckStarvationDispersal ( Madingley.ModelGrid gridForDispersal, uint latIndex, uint lonIndex, Madingley.Cohort cohortToDisperse, int functionalGroup, int cohortNumber ) : bool

Method Details

CalculateDispersalProbability() protected méthode

Calculates the probability of responsive dispersal given average individual dispersal speed and grid cell
protected CalculateDispersalProbability ( Madingley.ModelGrid madingleyGrid, uint latIndex, uint lonIndex, double dispersalSpeed ) : double[]
madingleyGrid Madingley.ModelGrid The model grid
latIndex uint The latitude index of the grid cell to check for dispersal
lonIndex uint The longitude index of the grid cell to check for dispersal
dispersalSpeed double The average dispersal speed of individuals in the acting cohort
Résultat double[]

CalculateDispersalSpeed() protected méthode

Calculate the average diffusive dispersal speed of individuals in a cohort given their body mass
protected CalculateDispersalSpeed ( double bodyMass ) : double
bodyMass double The current body mass of an individual in the cohort
Résultat double

InitialiseParametersResponsiveDispersal() public méthode

public InitialiseParametersResponsiveDispersal ( ) : void
Résultat void

WriteOutParameterValues() public méthode

Write out the values of the parameters to an output file
public WriteOutParameterValues ( StreamWriter sw ) : void
sw System.IO.StreamWriter A streamwriter object to write the parameter values to
Résultat void