ALMaSS Rabbit ODdox  1.00
The rabbit model description following ODdox protocol
Public Member Functions | Private Attributes | List of all members
Diffusor Class Reference

#include <pesticide.h>

Public Member Functions

 Diffusor (int a_dx, int a_dy, double a_fraction)
 
void SetFraction (double a_frac)
 
double GetFraction ()
 
int Getdx ()
 
int Getdy ()
 

Private Attributes

int m_dx
 
int m_dy
 
double m_fraction
 

Detailed Description

Definition at line 78 of file pesticide.h.

Constructor & Destructor Documentation

Diffusor::Diffusor ( int  a_dx,
int  a_dy,
double  a_fraction 
)
inline

Definition at line 90 of file pesticide.h.

90  {
91  m_dx = a_dx;
92  m_dy = a_dy;
93  m_fraction = a_fraction;
94  }
int m_dx
Definition: pesticide.h:85
double m_fraction
Definition: pesticide.h:87
int m_dy
Definition: pesticide.h:86

Member Function Documentation

int Diffusor::Getdx ( )
inline

Definition at line 98 of file pesticide.h.

98 { return m_dx; }
int m_dx
Definition: pesticide.h:85
int Diffusor::Getdy ( )
inline

Definition at line 99 of file pesticide.h.

99 { return m_dy; }
int m_dy
Definition: pesticide.h:86
double Diffusor::GetFraction ( )
inline

Definition at line 97 of file pesticide.h.

97 { return m_fraction; }
double m_fraction
Definition: pesticide.h:87
void Diffusor::SetFraction ( double  a_frac)
inline

Definition at line 96 of file pesticide.h.

96 { m_fraction = a_frac; }
double m_fraction
Definition: pesticide.h:87

Member Data Documentation

int Diffusor::m_dx
private

Diffusor is the fraction of the total amount sprayed at 0,0 at the co-ordinates given by m_dx, and m_dy, relative to the origin at 0,0. If a pesticide dispersed 10m from the point source in all directions the grid would be 21 x 21 squares, each with its own diffusor. This grid of diffusors forms the Diffusion_mask

Definition at line 85 of file pesticide.h.

int Diffusor::m_dy
private

Definition at line 86 of file pesticide.h.

double Diffusor::m_fraction
private

Definition at line 87 of file pesticide.h.


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