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

#include <stdio.h>
#include <stdlib.h>
#include <utils/utils.h>
#include <sed/sed_sedflux.h>
#include <subside.h>
#include "my_processes.h"
#include "sedflux.h"

Go to the source code of this file.

Defines

#define SED_ISOSTASY_PROC_NAME   "isostasy"
#define EH_LOG_DOMAIN   SED_ISOSTASY_PROC_NAME
#define ISOSTASY_KEY_EET   "effective elastic thickness"
#define ISOSTASY_KEY_YOUNGS_MODULUS   "Youngs modulus"
#define ISOSTASY_KEY_RELAXATION_TIME   "relaxation time"

Functions

void subside_point_load (Eh_dbl_grid g, double load, double h, double E, int i_load, int j_load)
void subside_half_plane_load (Eh_dbl_grid g, double load, double h, double E)
double get_flexure_parameter (double h, double E, gssize n_dim)
gboolean init_isostasy_data (Sed_process proc, Sed_cube prof)
Sed_process_info run_isostasy (Sed_process proc, Sed_cube prof)
gboolean init_isostasy (Sed_process p, Eh_symbol_table tab, GError **error)
gboolean destroy_isostasy (Sed_process p)
gboolean dump_isostasy_data (gpointer ptr, FILE *fp)
gboolean load_isostasy_data (gpointer ptr, FILE *fp)


Define Documentation

#define EH_LOG_DOMAIN   SED_ISOSTASY_PROC_NAME

Definition at line 22 of file run_isostasy.c.

#define ISOSTASY_KEY_EET   "effective elastic thickness"

Definition at line 299 of file run_isostasy.c.

Referenced by init_isostasy().

#define ISOSTASY_KEY_RELAXATION_TIME   "relaxation time"

Definition at line 301 of file run_isostasy.c.

Referenced by init_isostasy().

#define ISOSTASY_KEY_YOUNGS_MODULUS   "Youngs modulus"

Definition at line 300 of file run_isostasy.c.

Referenced by init_isostasy().

#define SED_ISOSTASY_PROC_NAME   "isostasy"

Definition at line 21 of file run_isostasy.c.


Function Documentation

gboolean destroy_isostasy ( Sed_process  p  ) 

Definition at line 369 of file run_isostasy.c.

References eh_free, eh_grid_destroy(), Isostasy_t::last_dw_iso, Isostasy_t::last_load, and sed_process_user_data().

gboolean dump_isostasy_data ( gpointer  ptr,
FILE *  fp 
)

Definition at line 387 of file run_isostasy.c.

double get_flexure_parameter ( double  h,
double  E,
gssize  n_dim 
)

Definition at line 213 of file subside.c.

Referenced by subside_half_plane_load(), and subside_point_load().

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

Definition at line 312 of file run_isostasy.c.

References Isostasy_t::eet, eh_check_to_s(), eh_return_val_if_fail, eh_set_error_strv(), eh_symbol_table_dbl_value(), eh_symbol_table_require_labels(), ISOSTASY_KEY_EET, ISOSTASY_KEY_RELAXATION_TIME, ISOSTASY_KEY_YOUNGS_MODULUS, Isostasy_t::last_dw_iso, Isostasy_t::last_half_load, Isostasy_t::last_load, Isostasy_t::relaxation_time, sed_process_new_user_data, SEDFLUX_ERROR, SEDFLUX_ERROR_BAD_PARAM, and Isostasy_t::youngs_modulus.

gboolean init_isostasy_data ( Sed_process  proc,
Sed_cube  prof 
)

Definition at line 352 of file run_isostasy.c.

References eh_grid_new, Isostasy_t::last_dw_iso, Isostasy_t::last_half_load, Isostasy_t::last_load, Isostasy_t::last_time, sed_cube_age_in_years(), sed_cube_load_grid(), sed_cube_n_x(), sed_cube_n_y(), sed_cube_water_pressure(), and sed_process_user_data().

Referenced by run_isostasy().

gboolean load_isostasy_data ( gpointer  ptr,
FILE *  fp 
)

Definition at line 398 of file run_isostasy.c.

Sed_process_info run_isostasy ( Sed_process  proc,
Sed_cube  prof 
)

Definition at line 40 of file run_isostasy.c.

References C, Isostasy_t::eet, eh_dbl_grid_add(), eh_dbl_grid_data(), eh_dbl_grid_expand(), eh_dbl_grid_remesh(), eh_dbl_grid_scalar_mult(), eh_dbl_grid_subtract(), eh_dbl_grid_sum(), eh_dbl_grid_val(), eh_grid_copy(), eh_grid_destroy(), eh_grid_dup(), eh_grid_new, eh_grid_set_x_lin(), eh_grid_set_y_lin(), init_isostasy_data(), Isostasy_t::last_dw_iso, Isostasy_t::last_half_load, Isostasy_t::last_load, Isostasy_t::last_time, Isostasy_t::relaxation_time, sed_cube_adjust_base_height(), sed_cube_age_in_years(), sed_cube_load_grid(), sed_cube_n_x(), sed_cube_n_y(), sed_cube_sea_level(), sed_cube_size(), sed_cube_water_pressure(), sed_cube_x_res(), sed_cube_y_res(), SED_EMPTY_INFO, sed_mode_is_2d(), sed_mode_is_3d(), sed_process_run_count(), sed_process_user_data(), subside_grid_load(), subside_half_plane_load(), and Isostasy_t::youngs_modulus.

void subside_half_plane_load ( Eh_dbl_grid  g,
double  load,
double  h,
double  E 
)

Definition at line 180 of file subside.c.

Referenced by run_isostasy().

void subside_point_load ( Eh_dbl_grid  g,
double  load,
double  h,
double  E,
int  i_load,
int  j_load 
)

Definition at line 136 of file subside.c.

Referenced by main(), subside_grid_load(), and subside_helper().


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