63 const double& Sk,
unsigned short &n_lemon);
65 static void findWeakLayer(
const double& Pk, std::vector<unsigned short>& n_lemon,
SnowStation& Xdata,
double &Swl_ssi,
double &Swl_Sk38,
size_t &Swl_lemon);
67 static const bool __init;
68 static bool initStaticData();
69 static std::map<std::string, StabMemFn> mapHandHardness;
70 static std::map<std::string, StabFnShearStrength> mapShearStrength;
72 std::string strength_model, hardness_parameterization;
73 double hoar_density_buried;
75 bool classify_profile, multi_layer_sk38, RTA_ssi;
bool(* StabFnShearStrength)(const double &, const double &, const mio::Date &, ElementData &, NodeData &, StabilityData &)
Definition: Stability.h:32
double(* StabMemFn)(const ElementData &, const double &)
Definition: Stability.h:31
CurrentMeteo is the class of interpolated meteo data for the current calculation time step It contai...
Definition: DataClasses.h:83
ELEMENT DATA used as a pointer in the SnowStation structure NOTE on M below: this is the mass of an e...
Definition: DataClasses.h:285
NODAL DATA used as a pointer in the SnowStation structure.
Definition: DataClasses.h:393
Definition: DataClasses.h:604
Definition: SnowpackConfig.h:28
Layer shear strength evaluation parameters. This class contains layer properties useful for the shear...
Definition: StabilityAlgorithms.h:32
This class contains the stability routines for the snowpack model. Stability is found for each LAYER ...
Definition: Stability.h:49
static const double ground_rough
The first GROUND_ROUGH m of snow will not be unstable due to ground roughness.
Definition: Stability.h:55
static const int sh_mod
Defines regression model for surface hoar shear strength.
Definition: Stability.h:57
static const double min_depth_ssi
MIN_DEPTH_SSI m of snow must be left after discarding penetration depth.
Definition: Stability.h:56
static const double minimum_slab
Minimum slab thickness for natural and deformation stability index (m)
Definition: Stability.h:55
static const size_t nmax_lemon
Maximum number of structural instabilities looked at ("lemons")
Definition: Stability.h:58
void checkStability(const CurrentMeteo &Mdata, SnowStation &Xdata)
The stability information is based on a very empirical principle. First a distinction is made between...
Definition: Stability.cc:150
static const int prof_classi
Defines classification scheme for snow profiles.
Definition: Stability.h:57
Stability(const SnowpackConfig &i_cfg, const bool &i_classify_profile=false)
Definition: Stability.cc:71
static const double max_stability
Upper stability limit.
Definition: Stability.h:55
static const double skier_depth
Skiers will not trigger failures SKIER_DEPTH m below penetration depth.
Definition: Stability.h:56
static const double min_thick_crust
Minimum thickness for a supporting melt-freeze crust (perp to slope, in m)
Definition: Stability.h:56
static const double psi_ref
Reference slope angle.
Definition: Stability.h:55