#include <stdio.h>
#include <sed/sed_sedflux.h>
#include "my_processes.h"
#include "sedflux.h"
Go to the source code of this file.
Defines | |
#define | EH_LOG_DOMAIN FLOW_PROCESS_NAME_S |
Functions | |
void | run_exponential_flow (Sed_column c, double time_now_in_years) |
void | run_terzaghi_flow (Sed_column c, double time_now_in_years) |
void | run_darcy_flow (Sed_column c, double dt_in_years) |
Sed_process_info | run_flow (Sed_process proc, Sed_cube p) |
gboolean | init_flow (Sed_process p, Eh_symbol_table tab, GError **error) |
gboolean | destroy_flow (Sed_process p) |
gboolean | dump_flow_data (gpointer ptr, FILE *fp) |
gboolean | load_flow_data (gpointer ptr, FILE *fp) |
#define EH_LOG_DOMAIN FLOW_PROCESS_NAME_S |
Definition at line 21 of file run_flow.c.
gboolean destroy_flow | ( | Sed_process | p | ) |
gboolean dump_flow_data | ( | gpointer | ptr, | |
FILE * | fp | |||
) |
Definition at line 135 of file run_flow.c.
gboolean init_flow | ( | Sed_process | p, | |
Eh_symbol_table | tab, | |||
GError ** | error | |||
) |
Definition at line 91 of file run_flow.c.
References eh_return_val_if_fail, eh_symbol_table_lookup(), FLOW_ALGORITHM_DARCY, FLOW_ALGORITHM_EXPONENTIAL, FLOW_ALGORITHM_TERZAGHI, FLOW_KEY_METHOD, Flow_t::last_time, Flow_t::method, sed_process_new_user_data, SEDFLUX_ERROR, and SEDFLUX_ERROR_BAD_ALGORITHM.
gboolean load_flow_data | ( | gpointer | ptr, | |
FILE * | fp | |||
) |
Definition at line 145 of file run_flow.c.
void run_darcy_flow | ( | Sed_column | c, | |
double | dt_in_years | |||
) |
Definition at line 236 of file run_flow.c.
References eh_dbl_array_mean(), eh_dbl_array_set(), eh_free, eh_lower_bound, eh_new, sed_cell_compressibility(), sed_cell_hydraulic_conductivity(), sed_cell_pressure(), sed_cell_set_pressure(), sed_column_len(), sed_column_load(), sed_column_nth_cell(), sed_column_water_pressure(), sed_column_z_res(), sed_gravity(), sed_rho_sea_water(), solve_excess_pore_pressure(), and years_to_secs.
Referenced by run_flow().
void run_exponential_flow | ( | Sed_column | c, | |
double | time_now_in_years | |||
) |
Definition at line 155 of file run_flow.c.
References eh_free, eh_lower_bound, eh_new, S_SECONDS_PER_YEAR, sed_cell_age(), sed_cell_cc(), sed_cell_pressure(), sed_cell_set_pressure(), sed_column_len(), and sed_column_nth_cell().
Referenced by run_flow().
Sed_process_info run_flow | ( | Sed_process | proc, | |
Sed_cube | p | |||
) |
Definition at line 34 of file run_flow.c.
References eh_require_not_reached, FLOW_ALGORITHM_DARCY, FLOW_ALGORITHM_EXPONENTIAL, FLOW_ALGORITHM_TERZAGHI, Flow_t::last_time, Flow_t::method, run_darcy_flow(), run_exponential_flow(), run_terzaghi_flow(), sed_column_len(), sed_cube_age_in_years(), sed_cube_col(), sed_cube_size(), SED_EMPTY_INFO, and sed_process_user_data().
void run_terzaghi_flow | ( | Sed_column | c, | |
double | time_now_in_years | |||
) |
Definition at line 190 of file run_flow.c.
References eh_free, eh_lower_bound, eh_new, S_SECONDS_PER_YEAR, sed_calculate_consolidation(), sed_cell_age(), sed_cell_cv(), sed_cell_pressure(), sed_cell_set_pressure(), sed_cell_size(), sed_column_len(), sed_column_nth_cell(), and sed_column_thickness().
Referenced by run_flow().