#include <stdio.h>#include <stdlib.h>#include <utils/utils.h>#include <sed/sed_sedflux.h>#include "bing.h"#include "my_processes.h"Go to the source code of this file.
Defines | |
| #define | SED_DEBRIS_FLOW_PROC_NAME "debris flow" |
| #define | EH_LOG_DOMAIN SED_DEBRIS_FLOW_PROC_NAME |
| #define | MAX_TRIES (1) |
| #define | BING_LOCAL_MODEL |
| #define | S_KEY_YIELD_STRENGTH "yield strength" |
| #define | S_KEY_VISCOSITY "kinematic viscosity" |
| #define | S_KEY_NUM_VISCOSITY "artificial viscosity" |
| #define | S_KEY_DT "time step" |
| #define | S_KEY_MAX_TIME "maximum run time" |
Functions | |
| Sed_process_info | run_debris_flow (Sed_process proc, Sed_cube p) |
| gboolean | init_debris_flow (Sed_process p, Eh_symbol_table tab, GError **error) |
| gboolean | destroy_debris_flow (Sed_process p) |
| gboolean | dump_debris_flow_data (gpointer ptr, FILE *fp) |
| gboolean | load_debris_flow_data (gpointer ptr, FILE *fp) |
| #define BING_LOCAL_MODEL |
Definition at line 35 of file run_debris_flow.c.
| #define EH_LOG_DOMAIN SED_DEBRIS_FLOW_PROC_NAME |
Definition at line 22 of file run_debris_flow.c.
| #define MAX_TRIES (1) |
| #define S_KEY_DT "time step" |
| #define S_KEY_MAX_TIME "maximum run time" |
| #define S_KEY_NUM_VISCOSITY "artificial viscosity" |
| #define S_KEY_VISCOSITY "kinematic viscosity" |
| #define S_KEY_YIELD_STRENGTH "yield strength" |
| #define SED_DEBRIS_FLOW_PROC_NAME "debris flow" |
Definition at line 21 of file run_debris_flow.c.
| gboolean destroy_debris_flow | ( | Sed_process | p | ) |
| gboolean dump_debris_flow_data | ( | gpointer | ptr, | |
| FILE * | fp | |||
| ) |
| gboolean init_debris_flow | ( | Sed_process | p, | |
| Eh_symbol_table | tab, | |||
| GError ** | error | |||
| ) |
Definition at line 226 of file run_debris_flow.c.
References Debris_flow_t::dt, eh_check_to_s(), eh_return_val_if_fail, eh_set_error_strv(), eh_symbol_table_dbl_value(), Debris_flow_t::failure, Debris_flow_t::max_time, Debris_flow_t::numerical_viscosity, S_KEY_DT, S_KEY_MAX_TIME, S_KEY_NUM_VISCOSITY, S_KEY_VISCOSITY, S_KEY_YIELD_STRENGTH, sed_process_new_user_data, SEDFLUX_ERROR, SEDFLUX_ERROR_BAD_PARAM, Debris_flow_t::viscosity, and Debris_flow_t::yield_strength.
| gboolean load_debris_flow_data | ( | gpointer | ptr, | |
| FILE * | fp | |||
| ) |
| Sed_process_info run_debris_flow | ( | Sed_process | proc, | |
| Sed_cube | p | |||
| ) |
Definition at line 39 of file run_debris_flow.c.
References bing(), createPosVec(), destroyPosVec(), Debris_flow_t::dt, bing_t::dt, eh_dbl_array_mean(), eh_dbl_array_set(), eh_free, eh_new, eh_require_not_reached, FAILURE_PROFILE_DATA, bing_t::flowDensity, Debris_flow_t::max_time, MAX_TRIES, bing_t::maxTime, Debris_flow_t::numerical_viscosity, bing_t::numericalViscosity, S_FACIES_DEBRIS_FLOW, sed_cell_add(), sed_cell_age(), sed_cell_bulk_dynamic_viscosity(), sed_cell_bulk_yield_strength(), sed_cell_density(), sed_cell_destroy(), sed_cell_load(), sed_cell_new_env(), sed_cell_resize(), sed_cell_set_age(), sed_cell_set_facies(), sed_cell_set_pressure(), sed_cell_shear_strength(), sed_cell_viscosity(), sed_column_add_cell(), sed_column_top(), sed_cube_add(), sed_cube_age_in_years(), sed_cube_col(), sed_cube_col_y(), sed_cube_mass(), sed_cube_n_y(), sed_cube_thickness(), sed_cube_water_depth(), sed_cube_y_res(), SED_EMPTY_INFO, sed_process_use(), sed_process_user_data(), pos_t::size, Debris_flow_t::viscosity, bing_t::viscosity, pos_t::x, pos_t::y, Debris_flow_t::yield_strength, and bing_t::yieldStrength.
1.5.2