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

#include <stdio.h>
#include <string.h>
#include <math.h>
#include <utils/utils.h>
#include "my_processes.h"
#include <sys/stat.h>

Go to the source code of this file.

Defines

#define SED_TIDE_PROC_NAME   "tide"
#define EH_LOG_DOMAIN   SED_TIDE_PROC_NAME
#define S_KEY_TIDE_RANGE   "tidal range"
#define S_KEY_TIDE_PERIOD   "tidal period"

Functions

Sed_process_info run_tide (Sed_process proc, Sed_cube prof)
gboolean init_tide (Sed_process p, Eh_symbol_table tab, GError **error)
gboolean destroy_tide (Sed_process p)


Define Documentation

#define EH_LOG_DOMAIN   SED_TIDE_PROC_NAME

Definition at line 22 of file run_tide.c.

#define S_KEY_TIDE_PERIOD   "tidal period"

Definition at line 53 of file run_tide.c.

Referenced by init_tide().

#define S_KEY_TIDE_RANGE   "tidal range"

Definition at line 52 of file run_tide.c.

Referenced by init_tide().

#define SED_TIDE_PROC_NAME   "tide"

Definition at line 21 of file run_tide.c.


Function Documentation

gboolean destroy_tide ( Sed_process  p  ) 

Definition at line 93 of file run_tide.c.

References eh_free, and sed_process_user_data().

gboolean init_tide ( Sed_process  p,
Eh_symbol_table  tab,
GError **  error 
)

Definition at line 56 of file run_tide.c.

References eh_check_to_s(), eh_return_val_if_fail, eh_set_error_strv(), eh_str_to_dbl(), eh_symbol_table_dbl_value(), eh_symbol_table_lookup(), S_KEY_TIDE_PERIOD, S_KEY_TIDE_RANGE, sed_process_new_user_data, SEDFLUX_ERROR, SEDFLUX_ERROR_BAD_PARAM, Tide_t::tidal_period, and Tide_t::tidal_range.

Sed_process_info run_tide ( Sed_process  proc,
Sed_cube  prof 
)

Definition at line 32 of file run_tide.c.

References sed_cube_age_in_years(), sed_cube_set_tidal_period(), sed_cube_set_tidal_range(), sed_cube_time_step_in_days(), SED_EMPTY_INFO, sed_process_user_data(), Tide_t::tidal_period, and Tide_t::tidal_range.


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