25#ifndef WATERTRANSPORT_H
26#define WATERTRANSPORT_H
31#include <meteoio/MeteoIO.h>
55 double BisFunc(
const double X,
const double P[]);
56 double Bisection(
const double minval,
const double maxval,
double P[]);
57 void KHCalcNaga(
const double RG,
const double Dens,
double ThR,
const double WatCnt,
const double SatuK,
double &Rh,
double &Rk);
69 std::string watertransportmodel_snow;
70 std::string watertransportmodel_soil;
71 bool enable_pref_flow;
72 std::string pref_flow_rain_input_domain;
75 double hoar_thresh_rh, hoar_thresh_vw, hoar_thresh_ta;
76 double hoar_density_buried, hoar_density_surf, hoar_min_size_buried;
77 double minimum_l_element, comb_thresh_l;
78 bool useSoilLayers, water_layer, jam;
80 bool enable_vapour_transport;
CurrentMeteo is the class of interpolated meteo data for the current calculation time step It contai...
Definition: DataClasses.h:83
This module contains the solver for the 1d Richards Equation for the 1d snowpack model.
Definition: ReSolver1d.h:36
Definition: DataClasses.h:604
Definition: SnowpackConfig.h:28
Definition: DataClasses.h:733
This module contains water transport routines for the 1d snowpack model.
Definition: WaterTransport.h:39
WaterTransport(const SnowpackConfig &cfg)
Definition: WaterTransport.cc:69
void adjustDensity(SnowStation &Xdata)
Surface sublimation and melt artificially create surface elements that have a much too low density an...
Definition: WaterTransport.cc:689
virtual ~WaterTransport()
Definition: WaterTransport.h:43
watertransportmodels
Definition: WaterTransport.h:51
@ RICHARDSEQUATION
Definition: WaterTransport.h:51
@ NIED
Definition: WaterTransport.h:51
@ UNDEFINED
Definition: WaterTransport.h:51
@ BUCKET
Definition: WaterTransport.h:51
void compTransportMass(const CurrentMeteo &Mdata, SnowStation &Xdata, SurfaceFluxes &Sdata, double &ql)
The mass transport procedure is called from sn_Snowpack – AFTER calling the NEWSNOW (sn_SnowFall) or ...
Definition: WaterTransport.cc:1224
void mergingElements(SnowStation &Xdata, SurfaceFluxes &Sdata)
Merging snow elements .
Definition: WaterTransport.cc:483