#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 EH_LOG_DOMAIN SED_TIDE_PROC_NAME |
Definition at line 22 of file run_tide.c.
#define S_KEY_TIDE_PERIOD "tidal period" |
#define S_KEY_TIDE_RANGE "tidal range" |
#define SED_TIDE_PROC_NAME "tide" |
Definition at line 21 of file run_tide.c.
gboolean destroy_tide | ( | Sed_process | p | ) |
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.