63 void setSnDt(
const double& snDt) { sn_dt = snDt;}
89 const bool& ThrowAtNoConvergence);
94 static void EL_INCID(
const int &e,
int Ie[]);
95 static void EL_TEMP(
const int Ie[],
double Te0[],
double Tei[],
const std::vector<NodeData> &T0,
const double Ti[] );
96 static void EL_RGT_ASSEM(
double F[],
const int Ie[],
const double Fe[]);
102 const double VaporEnhance);
107 const double& T_snow,
const double& T_iter,
111 void neumannBoundaryConditionsSoil(
const double& flux,
const double& T_snow,
120 void fillNewSnowElement(
const CurrentMeteo& Mdata,
const double& length,
const double& density,
double& theta_water,
121 const bool& is_surface_hoar,
const unsigned short& number_of_solutes,
ElementData &elem);
131 std::string variant, viscosity_model, watertransportmodel_snow, watertransportmodel_soil;
132 std::string hn_density, hn_density_parameterization;
133 std::string sw_mode, snow_albedo, albedo_parameterization, albedo_average_schmucki, sw_absorption_scheme;
135 double albedo_NIED_av;
136 double albedo_fixedValue, hn_density_fixedValue;
137 double meteo_step_length;
138 double thresh_change_bc, geo_heat, height_of_meteo_values, height_new_elem, sn_dt;
139 double t_crazy_min, t_crazy_max, thresh_rh, thresh_dtempAirSnow;
140 double new_snow_dd, new_snow_sp, new_snow_dd_wind, new_snow_sp_wind, rh_lowlim, bond_factor_rh;
141 double new_snow_grain_size, new_snow_bond_size;
142 double hoar_density_buried, hoar_density_surf, hoar_min_size_buried;
143 double minimum_l_element, comb_thresh_l;
145 bool allow_adaptive_timestepping;
146 bool research_mode, useCanopyModel, enforce_measured_snow_heights, detect_grass;
147 bool soil_flux, useSoilLayers;
148 bool coupled_phase_changes;
149 bool combine_elements, reduce_n_elements, force_add_snowfall, change_bc, meas_tss;
150 bool enhanced_wind_slab;
151 std::string snow_erosion;
152 std::string snow_redistribution;
155 const static double min_allowed_sn_dt;
156 const static bool hydrometeor;
157 const static double snowfall_warning;
158 const static unsigned int new_snow_marker;
159 bool adjust_height_of_meteo_values, adjust_height_of_wind_value;
161 double heat_begin, heat_end;
162 double temp_index_degree_day, temp_index_swr_factor;
163 bool allow_freezing_rain;
164 bool forestfloor_alb;
165 bool rime_index, newsnow_lwc, read_dsm;
166 std::string soil_evaporation, soil_thermal_conductivity;
168 enum class new_snow_dd_parameterizations{DD_CONSTANT, DD_STEP_WIND, DD_ZWART, DD_JORDY, DD_CROCUS, DD_KRUYT, UNKNOWN};
169 enum class new_snow_sp_parameterizations{SP_CONSTANT, SP_STEP_WIND, SP_ZWART, SP_JORDY, SP_CROCUS, SP_KRUYT, UNKNOWN};
170 static new_snow_dd_parameterizations get_new_snow_dd_parameterization(
const SnowpackConfig& cfg);
171 static new_snow_sp_parameterizations get_new_snow_sp_parameterization(
const SnowpackConfig& cfg);
172 new_snow_dd_parameterizations new_snow_dd_parameterization;
173 new_snow_sp_parameterizations new_snow_sp_parameterization;
void RedepositSnow(CurrentMeteo Mdata, SnowStation &Xdata, SurfaceFluxes &Sdata, double redeposit_mass, const std::string density_redep="EVENT")
Redeposit snow that was eroded. This is used either with EROSION_REDEPOSIT or SNOW_REDISTRIBUTION....
Definition Snowpack.cc:2080
void runSnowpackModel(CurrentMeteo &Mdata, SnowStation &Xdata, double &cumu_precip, BoundCond &Bdata, SurfaceFluxes &Sdata)
The near future (s. below) has arrived on Wednesday Feb. 6, when it was finally snowing in Davos and ...
Definition Snowpack.cc:2201
void snowPreparation(const mio::Date ¤tDate, SnowStation &Xdata) const
Perform snow preparation (grooming, etc) on a given snowpack.
Definition Snowpack.cc:2443
bool compTemperatureProfile(const CurrentMeteo &Mdata, SnowStation &Xdata, BoundCond &Bdata, const bool &ThrowAtNoConvergence)
Computes the snow temperatures which are given by the following formula: .
Definition Snowpack.cc:883