Skip to content

Commit

Permalink
cleaned up some indentation/formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben-Choat authored and madMatchstick committed Jan 12, 2024
1 parent 32d3ba2 commit e2e90d6
Showing 1 changed file with 12 additions and 17 deletions.
29 changes: 12 additions & 17 deletions src/topmodel.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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)
{

/***************************************************************
Expand Down

0 comments on commit e2e90d6

Please sign in to comment.