Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crhmcode/src/modules/Classfrozen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ void Classfrozen::run(void) {
INF[hh] = C[hh]*pow(S0[hh], 2.92f)*pow(1.0f-Si[hh], 1.64f)*
pow((273.15f-hru_tsoil[hh])/273.15f, -0.45f)*pow(t0_Var[hh], 0.44f); // (mm)

double INF0 = INF[hh]/t0_Var[hh];
double INF0 = INF[hh]/t0_Var[hh]*24.0/Global::Freq;

if(snowmelt <= INF0 && snowmelt <= capacity) {
snowinfil[hh] = snowmelt;
Expand Down
2 changes: 1 addition & 1 deletion crhmcode/src/modules/ClassfrozenAyers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ void ClassfrozenAyers::run(void) {
INF[hh] = C[hh]*pow(S0[hh], 2.92f)*pow(1.0f-Si[hh], 1.64f)*
pow((273.15f-hru_tsoil[hh])/273.15f, -0.45f)*pow(t0_Var[hh], 0.44f); // (mm)

double INF0 = INF[hh]/t0_Var[hh];
double INF0 = INF[hh]/t0_Var[hh]*24.0/Global::Freq;

if(snowmelt <= INF0 && snowmelt <= capacity) {
snowinfil[hh] = snowmelt;
Expand Down