#include <stdio.h>#include <math.h>#include <string.h>#include <glib.h>#include <utils/utils.h>#include <sed/sed_sedflux.h>#include "my_processes.h"#include <xshore.h>Go to the source code of this file.
Defines | |
| #define | SED_XSHORE_PROC_NAME "xshore" |
| #define | EH_LOG_DOMAIN SED_XSHORE_PROC_NAME |
| #define | S_KEY_ALONG_SHORE_SEDIMENT_NO "Grain type of along shore sediment" |
| #define | S_KEY_XSHORE_VEL "Cross shore current" |
Functions | |
| gboolean | is_worth_running (Sed_ocean_storm s) |
| gboolean | init_xshore_data (Sed_process proc, Sed_cube prof, GError **error) |
| Sed_process_info | run_xshore (Sed_process proc, Sed_cube prof) |
| gboolean | init_xshore (Sed_process p, Eh_symbol_table tab, GError **error) |
| gboolean | destroy_xshore (Sed_process p) |
| #define EH_LOG_DOMAIN SED_XSHORE_PROC_NAME |
Definition at line 22 of file run_xshore.c.
| #define S_KEY_ALONG_SHORE_SEDIMENT_NO "Grain type of along shore sediment" |
| #define S_KEY_XSHORE_VEL "Cross shore current" |
| #define SED_XSHORE_PROC_NAME "xshore" |
Definition at line 21 of file run_xshore.c.
| gboolean destroy_xshore | ( | Sed_process | p | ) |
Definition at line 239 of file run_xshore.c.
References eh_free, eh_input_val_destroy(), sed_process_user_data(), and Xshore_t::xshore_current.
| gboolean init_xshore | ( | Sed_process | p, | |
| Eh_symbol_table | tab, | |||
| GError ** | error | |||
| ) |
Definition at line 205 of file run_xshore.c.
References eh_return_val_if_fail, eh_symbol_table_input_value(), eh_symbol_table_int_value(), Xshore_t::last_time, S_KEY_ALONG_SHORE_SEDIMENT_NO, S_KEY_XSHORE_VEL, sed_process_new_user_data, Xshore_t::sediment_type, and Xshore_t::xshore_current.
| gboolean init_xshore_data | ( | Sed_process | proc, | |
| Sed_cube | prof, | |||
| GError ** | error | |||
| ) |
Definition at line 228 of file run_xshore.c.
References Xshore_t::last_time, sed_cube_age_in_years(), and sed_process_user_data().
Referenced by run_xshore().
| gboolean is_worth_running | ( | Sed_ocean_storm | s | ) |
Definition at line 196 of file run_xshore.c.
References sed_ocean_storm_wave_height().
Referenced by run_xshore().
| Sed_process_info run_xshore | ( | Sed_process | proc, | |
| Sed_cube | prof | |||
| ) |
Definition at line 38 of file run_xshore.c.
References Xshore_info::added, Xshore_info::bruun_a, Xshore_info::bruun_h_b, Xshore_info::bruun_m, Xshore_info::bruun_y_0, Xshore_info::bruun_y_b, Xshore_info::dt, eh_clamp, eh_free, eh_input_val_eval(), eh_new0, init_xshore_data(), is_worth_running(), Xshore_t::last_time, Xshore_info::lost, Sed_process_info::mass_added, Sed_process_info::mass_lost, S_YEARS_PER_DAY, sed_cell_destroy(), sed_cell_mass(), sed_cell_new_env(), sed_cell_set_fraction(), sed_cube_adjust_sea_level(), sed_cube_age_in_years(), sed_cube_mass(), sed_cube_sea_level(), sed_cube_set_age(), sed_cube_set_sea_level(), sed_cube_storm_list(), sed_cube_x_res(), sed_cube_y_res(), SED_EMPTY_INFO, sed_mode_is_3d(), sed_ocean_storm_duration(), sed_ocean_storm_wave_height(), sed_process_run_count(), sed_process_user_data(), sed_sediment_env_n_types(), Xshore_t::sediment_type, xshore(), Xshore_t::xshore_current, and Xshore_info::z_0.
1.5.2