Skip to content

Commit

Permalink
Rename isolated Schaake func to avoid collisions.
Browse files Browse the repository at this point in the history
  • Loading branch information
robertbartel committed Mar 2, 2021
1 parent c0d56b3 commit bfe2332
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion models/kernels/schaake_partitioning.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include <math.h>


static void Schaake_partitioning_scheme(double timestep_s, double Schaake_adjusted_magic_constant_by_soil_type,
static void Schaake_partitioning_scheme_cpp(double timestep_s, double Schaake_adjusted_magic_constant_by_soil_type,
double column_total_soil_moisture_deficit_m, double water_input_depth_m,
double *surface_runoff_depth_m, double *infiltration_depth_m)
{
Expand Down
2 changes: 1 addition & 1 deletion src/models/tshirt/Tshirt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ namespace tshirt {

// Perform Schaake partitioning, passing some declared references to hold the calculated values.
double surface_runoff, subsurface_infiltration_flux;
Schaake_partitioning_scheme(dt, model_params.Cschaake, soil_column_moisture_deficit_m, input_storage_m,
Schaake_partitioning_scheme_cpp(dt, model_params.Cschaake, soil_column_moisture_deficit_m, input_storage_m,
&surface_runoff, &subsurface_infiltration_flux);

double subsurface_excess, nash_subsurface_excess;
Expand Down

0 comments on commit bfe2332

Please sign in to comment.