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

Drought Code value. More...

#include <FWI.h>

Inheritance diagram for fs::Dc:
Collaboration diagram for fs::Dc:

Public Member Functions

 Dc (const Temperature temperature, const Precipitation prec, const Dc dc_previous, const int month, const MathSize latitude) noexcept
 Calculate Drought 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< Dc >
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 Dc operator+ (const T &rhs) const noexcept
 
constexpr Dc operator- (const T &rhs) const noexcept
 
constexpr Dc operator* (const MathSize &rhs) const noexcept
 
constexpr Dc 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< Dc >
using T
 
using concrete_type
 
using value_type
 
- Static Public Member Functions inherited from fs::StrictType< Dc >
static consteval Dc Zero ()
 
static consteval Dc Invalid ()
 
- Public Attributes inherited from fs::StrictType< Dc >
MathSize value
 
- Static Public Attributes inherited from fs::StrictType< Dc >
static constexpr auto units
 
static constexpr auto invalid_value
 

Detailed Description

Drought Code value.

Constructor & Destructor Documentation

◆ Dc()

fs::Dc::Dc ( const Temperature temperature,
const Precipitation prec,
const Dc dc_previous,
const int month,
const MathSize latitude )
noexcept

Calculate Drought Code.

Parameters
temperatureTemperature (Celsius)
precPrecipitation (24hr accumulated, noon-to-noon) (mm)
dc_previousDrought Code from the previous day
monthMonth to calculate for
latitudeLatitude to calculate for

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