FireSTARR
Loading...
Searching...
No Matches
fs::Dmc Struct Reference

Duff Moisture Code value. More...

#include <FWI.h>

Inheritance diagram for fs::Dmc:
Collaboration diagram for fs::Dmc:

Public Member Functions

 Dmc (const Temperature temperature, const RelativeHumidity rh, const Precipitation prec, const Dmc dmc_previous, const int month, const MathSize latitude) noexcept
 Duff Moisture Code.
 
constexpr StrictType ()=default
 
constexpr StrictType (const ValueType value) noexcept
 
constexpr StrictType (T &&rhs) noexcept=default
 
constexpr StrictType (const T &rhs) noexcept=default
 
- Public Member Functions inherited from fs::StrictType< Dmc >
constexpr StrictType (const MathSize value) noexcept
 
constexpr StrictType (T &&rhs) noexcept=default
 
constexpr StrictType (const T &rhs) noexcept=default
 
T & operator= (T &&rhs) noexcept=default
 
T & operator= (const T &rhs) noexcept=default
 
constexpr auto operator== (const T &rhs) const
 
constexpr auto operator<=> (const T &rhs) const
 
constexpr Dmc operator+ (const T &rhs) const noexcept
 
constexpr Dmc operator- (const T &rhs) const noexcept
 
constexpr Dmc operator* (const MathSize &rhs) const noexcept
 
constexpr Dmc operator/ (const MathSize &rhs) const noexcept
 
constexpr T & operator+= (const T &rhs) noexcept
 
constexpr T & operator-= (const T &rhs) noexcept
 
constexpr T & operator*= (const T &rhs) noexcept
 
constexpr T & operator/= (const T &rhs) noexcept
 
 operator string () noexcept
 

Additional Inherited Members

- Public Types inherited from fs::StrictType< Dmc >
using T
 
using concrete_type
 
using value_type
 
- Static Public Member Functions inherited from fs::StrictType< Dmc >
static consteval Dmc Zero ()
 
static consteval Dmc Invalid ()
 
- Public Attributes inherited from fs::StrictType< Dmc >
MathSize value
 
- Static Public Attributes inherited from fs::StrictType< Dmc >
static constexpr auto units
 
static constexpr auto invalid_value
 

Detailed Description

Duff Moisture Code value.

Constructor & Destructor Documentation

◆ Dmc()

fs::Dmc::Dmc ( const Temperature temperature,
const RelativeHumidity rh,
const Precipitation prec,
const Dmc dmc_previous,
const int month,
const MathSize latitude )
noexcept

Duff Moisture Code.

Parameters
temperatureTemperature (Celsius)
rhRelative Humidity (%)
precPrecipitation (24hr accumulated, noon-to-noon) (mm)
dmc_previousDuff Moisture Code for previous day
monthMonth to calculate for
latitudeLatitude to calculate for

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