![]() |
FireSTARR
|
Information regarding spread within a Cell for a specific Scenario and time. More...
#include <FireSpread.h>
Public Member Functions | |
SpreadInfo (const Scenario &scenario, DurationSize time, const topo::SpreadKey &key, int nd, const wx::FwiWeather *weather) | |
SpreadInfo (const Scenario &scenario, DurationSize time, const topo::SpreadKey &key, int nd, const wx::FwiWeather *weather, const wx::FwiWeather *weather_daily) | |
Calculate fire spread for time and place. | |
constexpr | SpreadInfo (SpreadInfo &&rhs) noexcept=default |
SpreadInfo (const SpreadInfo &rhs) noexcept=default | |
constexpr SpreadInfo & | operator= (SpreadInfo &&rhs) noexcept=default |
SpreadInfo & | operator= (const SpreadInfo &rhs) noexcept=default |
MathSize | maxIntensity () const noexcept |
Maximum intensity in any direction for spread (kW/m) | |
const OffsetSet & | offsets () const |
Offsets from origin point that represent spread under these conditions. | |
constexpr bool | isNotSpreading () const |
Whether or not there is no spread. | |
constexpr int | nd () const |
Difference between date and the date of minimum foliar moisture content. | |
constexpr const wx::FwiWeather * | weather () const |
FwiWeather used for spread. | |
constexpr const wx::Wind & | wind () const |
Wind used for spread. | |
constexpr const wx::Ffmc & | ffmc () const |
Fine Fuel Moisture Code used for spread. | |
constexpr const wx::Bui & | bui () const |
Build-up Index used for spread. | |
constexpr const wx::Dmc & | dmc () const |
Duff Moisture Code used for spread. | |
constexpr const wx::Dc & | dc () const |
Drought Code used for spread. | |
constexpr MathSize | ffmcEffect () const |
FFMC effect used for spread. | |
constexpr DurationSize | time () const |
Time used for spread. | |
constexpr MathSize | lengthToBreadth () const |
Length to breadth ratio used for spread. | |
constexpr SlopeSize | percentSlope () const |
Slope used for spread (%) | |
constexpr AspectSize | slopeAzimuth () const |
Aspect used for spread (degrees) | |
constexpr MathSize | headRos () const |
Head fire rate of spread (m/min) | |
constexpr fs::wx::Direction | headDirection () const |
Head fire spread direction. | |
constexpr MathSize | slopeFactor () const |
Slope factor calculated from percent slope. | |
constexpr MathSize | foliarMoisture () const |
Calculate foliar moisture. | |
constexpr bool | isInvalid () const |
Whether or not there is no spread for given conditions. | |
SpreadInfo (const int year, const int month, const int day, const int hour, const int minute, const MathSize latitude, const MathSize longitude, const ElevationSize elevation, const SlopeSize slope, const AspectSize aspect, const char *fuel_name, const wx::FwiWeather *weather) | |
SpreadInfo (const tm &start_date, const MathSize latitude, const MathSize longitude, const ElevationSize elevation, const SlopeSize slope, const AspectSize aspect, const char *fuel_name, const wx::FwiWeather *weather) | |
MathSize | crownFractionBurned () const |
MathSize | crownFuelConsumption () const |
char | fireDescription () const |
MathSize | surfaceFuelConsumption () const |
MathSize | totalFuelConsumption () const |
Static Public Member Functions | |
static constexpr MathSize | calculateRosFromThreshold (const ThresholdSize threshold) |
Determine rate of spread from probability of spread threshold. | |
Static Public Attributes | |
static const SlopeTableArray | SlopeTable = make_slope_table() |
Lookup table for Slope Factor calculated from Percent Slope. | |
Private Member Functions | |
SpreadInfo (DurationSize time, MathSize min_ros, MathSize cell_size, const SlopeSize slope, const AspectSize aspect, const char *fuel_name, int nd, const wx::FwiWeather *weather) | |
SpreadInfo (DurationSize time, MathSize min_ros, MathSize cell_size, const topo::SpreadKey &key, int nd, const wx::FwiWeather *weather) | |
SpreadInfo (DurationSize time, MathSize min_ros, MathSize cell_size, const topo::SpreadKey &key, int nd, const wx::FwiWeather *weather, const wx::FwiWeather *weather_daily) | |
Static Private Member Functions | |
static MathSize | initial (SpreadInfo &spread, const wx::FwiWeather &weather, MathSize &ffmc_effect, MathSize &wsv, MathSize &rsoi, const fuel::FuelType *const fuel, bool has_no_slope, MathSize heading_sin, MathSize heading_cos, MathSize bui_eff, MathSize min_ros, MathSize critical_surface_intensity) |
Private Attributes | |
OffsetSet | offsets_ {} |
Offsets from origin point that represent spread under these conditions. | |
MathSize | max_intensity_ |
Maximum intensity in any direction for spread (kW/m) | |
topo::SpreadKey | key_ |
Attributes for Cell spread is occurring in. | |
wx::FwiWeather const * | weather_ |
FwiWeather determining spread. | |
DurationSize | time_ |
Time that spread is occurring. | |
MathSize | l_b_ |
MathSize | head_ros_ |
Head fire rate of spread (m/min) | |
MathSize | cfb_ |
MathSize | cfc_ |
MathSize | tfc_ |
MathSize | sfc_ |
bool | is_crown_ |
fs::wx::Direction | raz_ |
Head fire spread direction. | |
int | nd_ |
Difference between date and the date of minimum foliar moisture content (from ST-X-3) | |
Information regarding spread within a Cell for a specific Scenario and time.
fs::sim::SpreadInfo::SpreadInfo | ( | const Scenario & | scenario, |
DurationSize | time, | ||
const topo::SpreadKey & | key, | ||
int | nd, | ||
const wx::FwiWeather * | weather, | ||
const wx::FwiWeather * | weather_daily ) |
Calculate fire spread for time and place.
scenario | Scenario this is spreading in |
time | Time spread is occurring |
key | Attributes for Cell spread is occurring in |
nd | Difference between date and the date of minimum foliar moisture content |
weather | FwiWeather to use for calculations |
|
private |
Actual fire spread calculation without needing to worry about settings or scenarios
|
inlinenodiscardconstexpr |
Build-up Index used for spread.
|
inlinestaticnodiscardconstexpr |
Determine rate of spread from probability of spread threshold.
threshold | Probability of spread threshold |
|
inlinenodiscardconstexpr |
Drought Code used for spread.
|
inlinenodiscardconstexpr |
Duff Moisture Code used for spread.
|
inlinenodiscardconstexpr |
Fine Fuel Moisture Code used for spread.
|
inlinenodiscardconstexpr |
FFMC effect used for spread.
|
inlinenodiscardconstexpr |
Calculate foliar moisture.
|
inlinenodiscardconstexpr |
Head fire spread direction.
|
inlinenodiscardconstexpr |
Head fire rate of spread (m/min)
|
staticprivate |
Do initial spread calculations
|
inlinenodiscardconstexpr |
Whether or not there is no spread for given conditions.
|
inlinenodiscardconstexpr |
Whether or not there is no spread.
|
inlinenodiscardconstexpr |
Length to breadth ratio used for spread.
|
inlinenodiscardnoexcept |
Maximum intensity in any direction for spread (kW/m)
|
inlinenodiscardconstexpr |
Difference between date and the date of minimum foliar moisture content.
|
inlinenodiscard |
Offsets from origin point that represent spread under these conditions.
|
inlinenodiscardconstexpr |
Slope used for spread (%)
|
inlinenodiscardconstexpr |
Aspect used for spread (degrees)
|
inlinenodiscardconstexpr |
Slope factor calculated from percent slope.
|
inlinenodiscardconstexpr |
Time used for spread.
|
inlinenodiscardconstexpr |
FwiWeather used for spread.
|
inlinenodiscardconstexpr |
Wind used for spread.