#include <glib.h>Go to the source code of this file.
Classes | |
| struct | Sedflux_param_st |
Defines | |
| #define | SEDFLUX_H |
| #define | SEDFLUX_ERROR sedflux_error_quark() |
| #define | SEDFLUX_RUN_FLAG_SUMMARY (1) |
| #define | SEDFLUX_RUN_FLAG_WARN (2) |
Typedefs | |
| typedef gint32 | Sedflux_run_flag |
Enumerations | |
| enum | Sedflux_error { SEDFLUX_ERROR_BAD_PARAM, SEDFLUX_ERROR_UNKNOWN_FILE_TYPE, SEDFLUX_ERROR_BAD_FILE_TYPE, SEDFLUX_ERROR_BAD_ALGORITHM, SEDFLUX_ERROR_BAD_DIR, SEDFLUX_ERROR_BAD_INIT_FILE, SEDFLUX_ERROR_MULTIPLE_MODES, SEDFLUX_ERROR_PROCESS_FILE_CHECK } |
Functions | |
| GQuark | sedflux_error_quark (void) |
| gboolean | sedflux (const gchar *init_file) |
| Sedflux_param_st * | sedflux_parse_command_line (int argc, char *argv[], GError **error) |
| gboolean | sedflux_setup_project_dir (gchar **init_file, gchar **working_dir, GError **error) |
| gint | sedflux_print_info_file (const gchar *init_file, const gchar *wd, const gchar *cmd_str, const gchar *desc) |
| #define SEDFLUX_ERROR sedflux_error_quark() |
Definition at line 38 of file sedflux.h.
Referenced by init_avulsion(), init_bbl(), init_bedload(), init_debris_flow(), init_diffusion(), init_erosion(), init_failure(), init_flow(), init_inflow(), init_isostasy(), init_plume_hypo(), init_quake(), init_river(), init_squall(), init_storm(), init_tide(), and sedflux_parse_command_line().
| typedef gint32 Sedflux_run_flag |
| enum Sedflux_error |
| gboolean sedflux | ( | const gchar * | init_file | ) |
Definition at line 35 of file sedflux.c.
References sedflux_finalize(), sedflux_init(), and sedflux_run().
Referenced by main().
| GQuark sedflux_error_quark | ( | void | ) |
Definition at line 139 of file sedflux_command_line.c.
| Sedflux_param_st* sedflux_parse_command_line | ( | int | argc, | |
| char * | argv[], | |||
| GError ** | error | |||
| ) |
Definition at line 60 of file sedflux_command_line.c.
References Sedflux_param_st::active_procs, bio_get_option_group(), eh_exit(), eh_fprint_version_info(), eh_new, eh_require, eh_return_val_if_fail, eh_set_verbosity_level(), Sedflux_param_st::init_file, Sedflux_param_st::just_plume, Sedflux_param_st::just_rng, Sedflux_param_st::out_file, PROGRAM_NAME, Sedflux_param_st::run_desc, S_MAJOR_VERSION, S_MICRO_VERSION, S_MINOR_VERSION, sed_mode_set(), SEDFLUX_ERROR, SEDFLUX_ERROR_MULTIPLE_MODES, SEDFLUX_MODE_2D, SEDFLUX_MODE_3D, Sedflux_param_st::summary, Sedflux_param_st::verbose, Sedflux_param_st::verbosity, Sedflux_param_st::version, Sedflux_param_st::warn, and Sedflux_param_st::working_dir.
Referenced by main(), and sedflux_setup().
| gint sedflux_print_info_file | ( | const gchar * | init_file, | |
| const gchar * | wd, | |||
| const gchar * | cmd_str, | |||
| const gchar * | desc | |||
| ) |
Definition at line 262 of file sedflux_command_line.c.
References eh_create_project(), eh_destroy_project(), eh_set_project_dir(), eh_write_project_info_file(), and fill_sedflux_info_file().
Referenced by main(), and sedflux_setup().
| gboolean sedflux_setup_project_dir | ( | gchar ** | init_file, | |
| gchar ** | working_dir, | |||
| GError ** | error | |||
| ) |
Definition at line 145 of file sedflux_command_line.c.
References eh_return_val_if_fail, eh_set_file_error_from_errno(), and sedflux_get_file_name_interactively().
Referenced by main(), and sedflux_setup().
1.5.2