`#include <ReGen.h>`

Collaboration diagram for ReGen:

## Public Member Functions | |

ReGen (RAINPARAMETERS *p_RainP) | |

~ReGen () | |

void | drawYear (void) |

creates a new one-year time series | |

float | getRain (int day) const |

returns the rain for a specific day of year (Aug 1 = day 0) | |

float | getAnnualRain (void) const |

returns the annual rain amount | |

float | getPeriodRain (int start_day, int end_day) const |

returns the rain amount for a specific period, end day included | |

## Protected Member Functions | |

valarray< float > | calcGauss (float amplitude, float location, float width, int shape=2) |

function for a peak Gauss curve | |

void | calcRain (void) |

does the calculations | |

## Protected Attributes | |

KW_RNG::RNG | Zzg |

a random number generator | |

float | theAnnualRain |

annual rain volume (mm) | |

RAINPARAMETERS * | pP |

pointer to the parameters | |

valarray< float > | theDays |

array of days of year, i.e. 0 ... 364 | |

valarray< float > | rainProb |

array of daily rain probability | |

valarray< float > | meanRainVolume |

aray of mean daily rain amount | |

valarray< float > | rainyDay |

array of zeros and ones for rainy and dry days | |

valarray< float > | rainVolume |

array of daily rain volume amount |

Definition at line 66 of file ReGen.h.

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

Generated on Tue May 1 23:39:16 2007 for ReGen by 1.5.1