#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <limits.h>
#include <unistd.h>
#include <string.h>
#include "inflow.h"
#include "inflow_local.h"
#include <sed/sed_sedflux.h>
#include <utils/utils.h>
Go to the source code of this file.
Functions | |
void | inflow_run_flood (Inflow_bathy_st *b, Inflow_flood_st *f, Inflow_sediment_st *s, Inflow_const_st *c, double **deposit_in_m) |
void | inflow_set_width (Inflow_bathy_st *bathy_data, double river_width, double spreading_angle) |
int | main (int argc, char *argv[]) |
void inflow_run_flood | ( | Inflow_bathy_st * | b, | |
Inflow_flood_st * | f, | |||
Inflow_sediment_st * | s, | |||
Inflow_const_st * | c, | |||
double ** | deposit_in_m | |||
) |
Definition at line 59 of file inflow_main.c.
References Inflow_flood_st::duration, eh_free_2, eh_new_2, inflow_update_bathy_data(), inflow_wrapper(), Inflow_bathy_st::len, Inflow_sediment_st::n_grains, and S_SECONDS_PER_DAY.
Referenced by main().
void inflow_set_width | ( | Inflow_bathy_st * | bathy_data, | |
double | river_width, | |||
double | spreading_angle | |||
) |
Definition at line 180 of file inflow_main.c.
References Inflow_bathy_st::len, Inflow_bathy_st::width, and Inflow_bathy_st::x.
Referenced by main().
int main | ( | int | argc, | |
char * | argv[] | |||
) |
Definition at line 97 of file inflow_main.c.
References eh_dbl_grid_add(), eh_dbl_grid_data(), eh_exit(), eh_fprint_version_info(), eh_grid_destroy(), eh_grid_new, inflow_run_flood(), inflow_scan_bathy_file(), inflow_scan_flood_file(), inflow_scan_parameter_file(), inflow_set_constant_data(), inflow_set_sediment_data(), inflow_set_width(), inflow_write_output(), Inflow_bathy_st::len, Inflow_sediment_st::n_grains, S_DAYS_PER_SECOND, and S_SECONDS_PER_DAY.