|
constexpr | FuelBase (const FuelCodeSize &code, const char *name, const bool can_crown, const Duff *duff_ffmc, const Duff *duff_dmc) |
| Constructor.
|
|
| FuelBase (FuelBase &&rhs) noexcept=delete |
|
| FuelBase (const FuelBase &rhs)=delete |
|
FuelBase & | operator= (FuelBase &&rhs) noexcept=delete |
|
FuelBase & | operator= (const FuelBase &rhs)=delete |
|
MathSize | crownFractionBurned (const MathSize rss, const MathSize rso) const noexcept override |
| Crown Fraction Burned (CFB) [ST-X-3 eq 58].
|
|
ThresholdSize | probabilityPeat (const MathSize mc_fraction) const noexcept override |
| Calculate probability of burning [Anderson eq 1].
|
|
ThresholdSize | survivalProbability (const wx::FwiWeather &wx) const noexcept override |
| Survival probability calculated using probability of ony survival based on multiple formulae.
|
|
constexpr const Duff * | duffDmcType () const |
| Type of duff deeper underground.
|
|
constexpr const Duff * | duffFfmcType () const |
| Type of duff near the surface.
|
|
virtual MathSize | cfl () const =0 |
| Crown fuel load (kg/m^2) [ST-X-3 table 8].
|
|
constexpr | FuelType (const FuelCodeSize &code, const char *name, const bool can_crown) noexcept |
| Fuel type.
|
|
| FuelType (FuelType &&rhs) noexcept=delete |
|
| FuelType (const FuelType &rhs) noexcept=delete |
|
FuelType & | operator= (FuelType &&rhs) noexcept=delete |
|
FuelType & | operator= (const FuelType &rhs) noexcept=delete |
|
constexpr bool | canCrown () const |
| Whether or not this fuel can have a crown fire.
|
|
virtual MathSize | grass_curing (const int, const wx::FwiWeather &) const |
| Grass curing.
|
|
virtual MathSize | cbh () const =0 |
| Crown base height (m) [ST-X-3 table 8].
|
|
virtual MathSize | buiEffect (MathSize bui) const =0 |
| BUI Effect on surface fire rate of spread [ST-X-3 eq 54].
|
|
virtual MathSize | crownConsumption (MathSize cfb) const =0 |
| Crown Fuel Consumption (CFC) (kg/m^2) [ST-X-3 eq 66].
|
|
virtual MathSize | calculateRos (int nd, const wx::FwiWeather &wx, MathSize isi) const =0 |
| Calculate rate of spread (m/min)
|
|
virtual MathSize | calculateIsf (const SpreadInfo &spread, MathSize isi) const =0 |
| Calculate ISI with slope influence and zero wind (ISF) [ST-X-3 eq 41/42].
|
|
virtual MathSize | surfaceFuelConsumption (const SpreadInfo &spread) const =0 |
| Surface fuel consumption (SFC) (kg/m^2) [ST-X-3 eq 9-25].
|
|
virtual MathSize | lengthToBreadth (MathSize ws) const =0 |
| Length to Breadth ratio [ST-X-3 eq 79].
|
|
virtual MathSize | finalRos (const SpreadInfo &spread, MathSize isi, MathSize cfb, MathSize rss) const =0 |
| Final rate of spread (m/min)
|
|
virtual MathSize | criticalSurfaceIntensity (const SpreadInfo &spread) const =0 |
| Critical Surface Fire Intensity (CSI) [ST-X-3 eq 56].
|
|
constexpr const char * | name () const |
| Name of the fuel.
|
|
constexpr FuelCodeSize | code () const |
| Code for this fuel type.
|
|
|
static constexpr MathSize | bulkDensity () |
| Duff Bulk Density (kg/m^3) [Anderson table 1].
|
|
static constexpr MathSize | inorganicPercent () |
| Inorganic Percent (% / 100) [Anderson table 1].
|
|
static constexpr MathSize | duffDepth () |
| DuffDepth Depth of Duff layer (cm) [Anderson table 1].
|
|
static constexpr MathSize | ffmcRatio () |
| What fraction of the duff layer should use FFMC to determine moisture.
|
|
static constexpr MathSize | dmcRatio () |
| What fraction of the duff layer should use DMC to determine moisture.
|
|
static constexpr FuelCodeSize | safeCode (const FuelType *fuel) |
| Convert FuelType to its code, or 0 if nullptr.
|
|
static constexpr const char * | safeName (const FuelType *fuel) |
| Convert FuelType to its name, or 0 if nullptr.
|
|
static constexpr MathSize | criticalRos (const MathSize sfc, const MathSize csi) |
| Critical rate of spread (m/min)
|
|
static constexpr bool | isCrown (const MathSize csi, const MathSize sfi) |
| Whether or not this is a crown fire.
|
|
template<int BulkDensity, int InorganicPercent, int DuffDepth>
class fs::fuel::FuelBase< BulkDensity, InorganicPercent, DuffDepth >
Base class for all FuelTypes.
- Template Parameters
-
BulkDensity | Duff Bulk Density (kg/m^3) [Anderson table 1] * 1000 |
InorganicPercent | Inorganic percent of Duff layer (%) [Anderson table 1] |
DuffDepth | Depth of Duff layer (cm * 10) [Anderson table 1] |