Seasonality< FP > Struct Template Reference

CPP API: mio::lsecir2d::Seasonality< FP > Struct Template Reference
mio::lsecir2d::Seasonality< FP > Struct Template Reference

The seasonality in the LCT-SECIR-2-DISEASES model. More...

#include <parameters.h>

Public Types

using Type = FP
 

Static Public Member Functions

static Type get_default (size_t)
 
static std::string name ()
 

Detailed Description

template<typename FP>
struct mio::lsecir2d::Seasonality< FP >

The seasonality in the LCT-SECIR-2-DISEASES model.

The seasonality is given as (1+k*sin()) where the sine curve is below one in summer and above one in winter.

Member Typedef Documentation

◆ Type

template<typename FP >
using mio::lsecir2d::Seasonality< FP >::Type = FP

Member Function Documentation

◆ get_default()

template<typename FP >
static Type mio::lsecir2d::Seasonality< FP >::get_default ( size_t  )
inlinestatic

◆ name()

template<typename FP >
static std::string mio::lsecir2d::Seasonality< FP >::name ( )
inlinestatic