/Users/huttone/Devel/sedflux-new/sedflux/trunk/ew/sakura/sakura_main.c File Reference

#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <limits.h>
#include <unistd.h>
#include <string.h>
#include "sakura.h"
#include "sakura_local.h"
#include <sed/sed_sedflux.h>
#include <utils/utils.h>

Go to the source code of this file.

Functions

gboolean parse_data_list (const gchar *name, const gchar *value, gpointer data, GError **error)
void sakura_run_flood (Sakura_bathy_st *b, Sakura_flood_st *f, Sakura_sediment_st *s, Sakura_const_st *c, double **deposit_in_m)
gint main (int argc, char *argv[])


Function Documentation

gint main ( int  argc,
char *  argv[] 
)

Definition at line 162 of file sakura_main.c.

References eh_dbl_grid_add(), eh_dbl_grid_data(), eh_exit(), eh_fprint_version_info(), eh_grid_destroy(), eh_grid_new, eh_init_glib(), Sakura_bathy_st::len, Sakura_sediment_st::n_grains, S_DAYS_PER_SECOND, S_SECONDS_PER_DAY, sakura_copy_bathy_data(), sakura_run_flood(), sakura_scan_bathy_file(), sakura_scan_flood_file(), sakura_scan_parameter_file(), sakura_set_constant_data(), sakura_set_constant_output_data(), sakura_set_sediment_data(), sakura_set_width(), sakura_write_data(), and sakura_write_output().

gboolean parse_data_list ( const gchar *  name,
const gchar *  value,
gpointer  data,
GError **  error 
)

Definition at line 72 of file sakura_main.c.

References eh_free, eh_new, eh_return_val_if_fail, and eh_strv_find().

void sakura_run_flood ( Sakura_bathy_st b,
Sakura_flood_st f,
Sakura_sediment_st s,
Sakura_const_st c,
double **  deposit_in_m 
)

Definition at line 131 of file sakura_main.c.

References eh_free_2, eh_require, Sakura_bathy_st::len, Sakura_sediment_st::n_grains, and sakura_wrapper().

Referenced by main().


Generated on Fri Jan 4 18:04:17 2008 for sedflux by  doxygen 1.5.2