#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <sed/sed_sedflux.h>
#include <utils/utils.h>
#include "bing.h"
Go to the source code of this file.
Defines | |
#define | EPS 1e-5 |
#define | NNODES 7 |
#define | nxpts 1000 |
#define | D_MAX 4.0 |
#define | INIT_LEN 1000.0 |
#define | FLOW_START 10 |
#define | DEFAULT_VERBOSE 0 |
#define | DEFAULT_IN_FILE stdin |
#define | DEFAULT_OUT_FILE stdout |
#define | DEFAULT_IN_FILE_NAME "stdin" |
#define | DEFAULT_OUT_FILE_NAME "stdout" |
#define | DEFAULT_WRITE_INTERVAL 120 |
#define | DEFAULT_END_TIME 60.0 |
#define | DEFAULT_SLOPE 2.0 |
#define | DEFAULT_VISCOSITY 0.00083 |
#define | DEFAULT_NUMERICAL_VISCOSITY 0.01 |
#define | DEFAULT_YIELD_STRENGTH 100.0 |
#define | DEFAULT_TIME_STEP .01 |
#define | DEFAULT_FLOW_DENSITY 1500.0 |
#define | FLOOR_LENGTH 100000. |
Functions | |
int | main (int argc, char *argv[]) |
Variables | |
char * | help_msg [] |
#define D_MAX 4.0 |
#define DEFAULT_END_TIME 60.0 |
#define DEFAULT_FLOW_DENSITY 1500.0 |
#define DEFAULT_IN_FILE stdin |
#define DEFAULT_IN_FILE_NAME "stdin" |
#define DEFAULT_NUMERICAL_VISCOSITY 0.01 |
#define DEFAULT_OUT_FILE stdout |
Definition at line 98 of file bing_main.c.
#define DEFAULT_OUT_FILE_NAME "stdout" |
#define DEFAULT_SLOPE 2.0 |
Definition at line 103 of file bing_main.c.
#define DEFAULT_TIME_STEP .01 |
#define DEFAULT_VERBOSE 0 |
#define DEFAULT_VISCOSITY 0.00083 |
#define DEFAULT_WRITE_INTERVAL 120 |
#define DEFAULT_YIELD_STRENGTH 100.0 |
#define EPS 1e-5 |
Definition at line 85 of file bing_main.c.
#define FLOOR_LENGTH 100000. |
#define FLOW_START 10 |
#define INIT_LEN 1000.0 |
#define NNODES 7 |
#define nxpts 1000 |
Definition at line 89 of file bing_main.c.
int main | ( | int | argc, | |
char * | argv[] | |||
) |
Read in bathymetry
Set initial shape of debris flow
Parabola:
Definition at line 112 of file bing_main.c.
References bing(), createPosVec(), D_MAX, DEFAULT_END_TIME, DEFAULT_FLOW_DENSITY, DEFAULT_IN_FILE_NAME, DEFAULT_NUMERICAL_VISCOSITY, DEFAULT_OUT_FILE_NAME, DEFAULT_TIME_STEP, DEFAULT_VERBOSE, DEFAULT_VISCOSITY, DEFAULT_WRITE_INTERVAL, DEFAULT_YIELD_STRENGTH, destroyPosVec(), bing_t::dt, eh_check_opts(), eh_exit(), eh_fopen(), eh_free, eh_get_opt_bool(), eh_get_opt_dbl(), eh_get_opt_int(), eh_get_opt_str(), eh_new, eh_opts_init(), FLOOR_LENGTH, FLOW_START, bing_t::flowDensity, help_msg, INIT_LEN, bing_t::maxTime, bing_t::MC, NNODES, bing_t::numericalViscosity, PI, sed_get_floor_vec(), pos_t::size, bing_t::viscosity, pos_t::x, pos_t::y, and bing_t::yieldStrength.
char* help_msg[] |