diff --git a/src/topmodel.c b/src/topmodel.c index adfe30c..87a5fb6 100755 --- a/src/topmodel.c +++ b/src/topmodel.c @@ -593,7 +593,8 @@ return; */ extern void convert_dist_to_histords(const double * const dist_from_outlet, const int num_channels, - const double * const chv, const double * const rv, const double dt, double* const tch) + const double * const chv, const double * const rv, + const double dt, double* const tch) { //This function ASSUMES tch is overallocated by 1 and is indexable from (1, num_channels) //validate invariants @@ -800,13 +801,10 @@ extern void init_discharge_array(int stand_alone, int *num_delay, double *Q0, do * @params[out] bal, pointer of type double, residual of water balance */ -extern void init_water_balance( - int num_topodex_values, double dt, double *sr0, - double *szm, double *Q0, double *t0, double tl, - double **stor_unsat_zone, double *szq, - double **deficit_local, - double **deficit_root_zone, double *sbar, - double *bal) +extern void init_water_balance(int num_topodex_values, double dt, double *sr0, + double *szm, double *Q0, double *t0, double tl, + double **stor_unsat_zone, double *szq, double **deficit_local, + double **deficit_root_zone, double *sbar, double *bal) { // declare local variables double t0dt; @@ -914,15 +912,12 @@ extern void init_water_balance( */ extern void init(FILE *in_param_fptr, FILE *output_fptr, char *subcat, int stand_alone, int num_channels, int num_topodex_values, int yes_print_output, - double area, double **time_delay_histogram, - double *cum_dist_area_with_dist, double dt, - double tl, double *dist_from_outlet, - int *num_time_delay_histo_ords,int *num_delay, - double *szm, double *t0, double *chv, double *rv, double *td, double *srmax, - double *Q0,double *sr0, int *infex, double *xk0, double *hf, double *dth, - double **stor_unsat_zone, double **deficit_local, - double **deficit_root_zone,double *szq, double **Q, - double *sbar, double *bal) + double area, double **time_delay_histogram, double *cum_dist_area_with_dist, + double dt, double tl, double *dist_from_outlet, int *num_time_delay_histo_ords, + int *num_delay, double *szm, double *t0, double *chv, double *rv, double *td, + double *srmax, double *Q0,double *sr0, int *infex, double *xk0, double *hf, double *dth, + double **stor_unsat_zone, double **deficit_local, double **deficit_root_zone,double *szq, double **Q, + double *sbar, double *bal) { /***************************************************************