FireSTARR
Loading...
Searching...
No Matches
fs::sim::ConstantWeather Class Referencefinal

A FireWeather stream with the same value for every date and time. More...

#include <ConstantWeather.h>

Inheritance diagram for fs::sim::ConstantWeather:
Collaboration diagram for fs::sim::ConstantWeather:

Public Member Functions

 ConstantWeather (const ConstantWeather &rhs)=delete
 
 ConstantWeather (ConstantWeather &&rhs)=delete
 
ConstantWeatheroperator= (const ConstantWeather &rhs)=delete
 
ConstantWeatheroperator= (ConstantWeather &&rhs)=delete
 
 ConstantWeather (const fuel::FuelType *fuel, const Day start_date, const wx::Dc &dc, const wx::Dmc &dmc, const wx::Ffmc &ffmc, const wx::Wind &wind)
 A Constant weather stream with only one possible fuel.
 
 ConstantWeather (const set< const fuel::FuelType * > &used_fuels, const Day start_date, const wx::Dc &dc, const wx::Dmc &dmc, const wx::Ffmc &ffmc, const wx::Wind &wind)
 
- Public Member Functions inherited from fs::wx::FireWeather
virtual ~FireWeather ()
 Destructor.
 
 FireWeather (FireWeather &&rhs)=default
 Move constructor.
 
 FireWeather (const FireWeather &rhs)=delete
 
FireWeatheroperator= (FireWeather &&rhs) noexcept=default
 Move assignment.
 
FireWeatheroperator= (const FireWeather &rhs)=delete
 
const FwiWeatherat (const DurationSize time) const
 Get FwiWeather for given time.
 
ThresholdSize survivalProbability (const DurationSize time, const FuelCodeSize &in_fuel) const
 Probability of survival in given fuel at given time.
 
constexpr Day minDate () const
 Minimum date present in FireWeather.
 
constexpr Day maxDate () const
 Maximum date present in FireWeather.
 
constexpr size_t weightedDsr () const noexcept
 Weighted Danger Severity Rating for the stream.
 
const vector< const FwiWeather * > * getWeather ()
 Weather by hour by day.
 
 FireWeather (const set< const fuel::FuelType * > &used_fuels, Day min_date, Day max_date, vector< const FwiWeather * > *weather_by_hour_by_day)
 Constructor.
 

Detailed Description

A FireWeather stream with the same value for every date and time.

Constructor & Destructor Documentation

◆ ConstantWeather()

fs::sim::ConstantWeather::ConstantWeather ( const fuel::FuelType * fuel,
const Day start_date,
const wx::Dc & dc,
const wx::Dmc & dmc,
const wx::Ffmc & ffmc,
const wx::Wind & wind )
inline

A Constant weather stream with only one possible fuel.

Parameters
fuelFuel to use
start_dateStart date for stream
dcDrought Code
buiBuild-up Index
dmcDuff Moisture Code
ffmcFine Fuel Moisture Code
windWind

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