#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <limits.h>
#include <unistd.h>
#include <string.h>
#include "inflow.h"
#include <sed/sed_sedflux.h>
#include <utils/utils.h>
Go to the source code of this file.
Defines | |
#define | M_PI 3.14159265358979323846 |
#define | DEFAULT_DAY_LENGTH 1 |
#define | DEFAULT_VERBOSE 0 |
#define | DEFAULT_U0 (1.) |
#define | DEFAULT_B0 (1.) |
#define | DEFAULT_I0 (1.) |
#define | DEFAULT_LAMBDA (10.) |
#define | X_A (5.176) |
#define | PSEUDOPLUME_A (0.126) |
#define | PSEUDOPLUME_B (1.) |
Functions | |
double * | pseudoplume (double *x, int len_x, double lambda, double *I) |
int | main (int argc, char *argv[]) |
Variables | |
char * | help_msg [] |
#define DEFAULT_B0 (1.) |
#define DEFAULT_DAY_LENGTH 1 |
#define DEFAULT_I0 (1.) |
#define DEFAULT_LAMBDA (10.) |
#define DEFAULT_U0 (1.) |
#define DEFAULT_VERBOSE 0 |
Definition at line 61 of file pseudoplume.c.
#define M_PI 3.14159265358979323846 |
Definition at line 57 of file pseudoplume.c.
Referenced by bed_load_2d_domain(), eh_erf_inv(), eh_kei_0(), eh_reduce_angle(), fail_get_janbu_parameters(), get_constant(), get_janbu_parameters(), get_moveable_grains(), get_orbital_velocity(), get_path_exit_side(), get_threshold_depth(), get_tidal_level(), get_tidal_time(), is_between_angles(), main(), muddy(), and subside_point_load().
#define PSEUDOPLUME_A (0.126) |
#define PSEUDOPLUME_B (1.) |
#define X_A (5.176) |
int main | ( | int | argc, | |
char * | argv[] | |||
) |
Definition at line 69 of file pseudoplume.c.
References DEFAULT_B0, DEFAULT_DAY_LENGTH, DEFAULT_I0, DEFAULT_LAMBDA, DEFAULT_U0, eh_check_opts(), eh_data_record_destroy(), eh_data_record_dup_row(), eh_data_record_scan_file(), eh_exit(), EH_FAST_DIM_COL, eh_free, eh_get_opt_bool(), eh_get_opt_dbl(), eh_get_opt_str(), eh_new, eh_open_file(), eh_opts_init(), help_msg, and pseudoplume().
double * pseudoplume | ( | double * | x, | |
int | len_x, | |||
double | lambda, | |||
double * | I | |||
) |
Definition at line 174 of file pseudoplume.c.
References PSEUDOPLUME_A, PSEUDOPLUME_B, and X_A.
Referenced by main().
char* help_msg[] |
Initial value:
{ " ", " pseudoplume [options] [parameters] [filein] ", " run a pseudo-plume. ", " ", " Options ", " -o outfile - send output to outfile instead of stdout. [stdout] ", " -v - be verbose. [off] ", " -h - print this help message. ", " ", " Parameters ", " -pday=value - set the length of a day to be value fraction of 24 hrs. [1] ", " -pb0=value - width of the river mouth (m). [1] ", " -pu0=value - velocity at the river mouth (m/s). [1] ", " -pI0=value - sediment inventory at the river mouth (m/s). [1] ", " -plambda=value - removal rate for the sediment (1/day). [10] ", " ", " -fin - input bathymetry file. [stdin] ", " -fout - output bathymetry file. [stdout] ", NULL }
Definition at line 33 of file pseudoplume.c.