/Users/huttone/Devel/sedflux-new/sedflux/trunk/ew/sed/sed_sediment.h File Reference

#include <stdio.h>
#include <glib.h>
#include "datadir_path.h"
#include "sed_cell.h"
#include "sed_const.h"
#include "sed_property.h"

Go to the source code of this file.

Defines

#define SED_SEDIMENT_H
#define SED_SEDIMENT_TEST_FILE   DATADIR "/sedflux/sample_sediment.kvf"
#define S_SED_TYPE_NONE   ((Sed_size_class)(0))
#define S_SED_TYPE_BOULDER   ((Sed_size_class)(1<<0 ))
#define S_SED_TYPE_COBBLE   ((Sed_size_class)(1<<1 ))
#define S_SED_TYPE_PEBBLE   ((Sed_size_class)(1<<2 ))
#define S_SED_TYPE_GRANULE   ((Sed_size_class)(1<<3 ))
#define S_SED_TYPE_VERY_COARSE_SAND   ((Sed_size_class)(1<<4 ))
#define S_SED_TYPE_COARSE_SAND   ((Sed_size_class)(1<<5 ))
#define S_SED_TYPE_MEDIUM_SAND   ((Sed_size_class)(1<<6 ))
#define S_SED_TYPE_FINE_SAND   ((Sed_size_class)(1<<7 ))
#define S_SED_TYPE_VERY_FINE_SAND   ((Sed_size_class)(1<<8 ))
#define S_SED_TYPE_COARSE_SILT   ((Sed_size_class)(1<<9 ))
#define S_SED_TYPE_MEDIUM_SILT   ((Sed_size_class)(1<<10))
#define S_SED_TYPE_FINE_SILT   ((Sed_size_class)(1<<11))
#define S_SED_TYPE_VERY_FINE_SILT   ((Sed_size_class)(1<<12))
#define S_SED_TYPE_COARSE_CLAY   ((Sed_size_class)(1<<13))
#define S_SED_TYPE_MEDIUM_CLAY   ((Sed_size_class)(1<<14))
#define S_SED_TYPE_FINE_CLAY   ((Sed_size_class)(1<<15))
#define S_SED_TYPE_GRAVEL
#define S_SED_TYPE_SAND
#define S_SED_TYPE_SILT
#define S_SED_TYPE_CLAY
#define S_SED_TYPE_MUD
#define S_SED_TYPE_BOULDER_PHI   (-8.)
#define S_SED_TYPE_COBBLE_PHI   (-5.)
#define S_SED_TYPE_PEBBLE_PHI   (-2.)
#define S_SED_TYPE_GRANULE_PHI   (-1.)
#define S_SED_TYPE_VERY_COARSE_SAND_PHI   ( 0.)
#define S_SED_TYPE_COARSE_SAND_PHI   ( 1.)
#define S_SED_TYPE_SAND_PHI   ( 2.)
#define S_SED_TYPE_FINE_SAND_PHI   ( 3.)
#define S_SED_TYPE_VERY_FINE_SAND_PHI   ( 4.)
#define S_SED_TYPE_COARSE_SILT_PHI   ( 5.)
#define S_SED_TYPE_SILT_PHI   ( 6.)
#define S_SED_TYPE_FINE_SILT_PHI   ( 7.)
#define S_SED_TYPE_VERY_FINE_SILT_PHI   ( 8.)
#define S_SED_TYPE_COARSE_CLAY_PHI   ( 9.)
#define S_SED_TYPE_MEDIUM_CLAY_PHI   (10.)
#define S_SED_TYPE_FINE_CLAY_PHI   (11.)

Typedefs

typedef gint32 Sed_size_class
typedef double(*) Sed_type_property_func_0 (const Sed_type)
typedef double(*) Sed_type_property_func_1 (const Sed_type, double)
typedef double(*) Sed_type_property_func_2 (const Sed_type, double, double)
typedef double(*) Sed_type_property_func_with_data (const Sed_type, gpointer user_data)

Enumerations

enum  Sed_property_id {
  S_PROPERTY_ID_BAD_VAL = 0, S_PROPERTY_ID_BULK_DENSITY, S_PROPERTY_ID_GRAIN_SIZE, S_PROPERTY_ID_PLASTIC_INDEX,
  S_PROPERTY_ID_FACIES, S_PROPERTY_ID_AGE, S_PROPERTY_ID_VELOCITY, S_PROPERTY_ID_VOID_RATIO,
  S_PROPERTY_ID_VOID_RATIO_MIN, S_PROPERTY_ID_VISCOSITY, S_PROPERTY_ID_FRICTION_ANGLE, S_PROPERTY_ID_PERMEABILITY,
  S_PROPERTY_ID_POROSITY, S_PROPERTY_ID_RELATIVE_DENSITY, S_PROPERTY_ID_MV, S_PROPERTY_ID_CV,
  S_PROPERTY_ID_SHEAR_STRENGTH, S_PROPERTY_ID_COHESION, S_PROPERTY_ID_EXCESS_PRESSURE, S_PROPERTY_ID_CONSOLIDATION,
  S_PROPERTY_ID_CONSOLIDATION_RATE, S_PROPERTY_ID_RELATIVE_PRESSURE, S_PROPERTY_ID_SAND_FRACTION, S_PROPERTY_ID_SILT_FRACTION,
  S_PROPERTY_ID_CLAY_FRACTION, S_PROPERTY_ID_MUD_FRACTION, S_PROPERTY_ID_GRAIN_DENSITY, S_PROPERTY_ID_MAX_DENSITY,
  S_PROPERTY_ID_GRAIN_SIZE_IN_M, S_PROPERTY_ID_POROSITY_MIN, S_PROPERTY_ID_POROSITY_MAX, S_PROPERTY_ID_HYDRAULIC_CONDUCTIVITY,
  S_PROPERTY_ID_VOID_RATIO_MAX, S_PROPERTY_ID_CC, S_PROPERTY_ID_YIELD_STRENGTH, S_PROPERTY_ID_DYNAMIC_VISCOSITY,
  S_PROPERTY_ID_COMPRESSIBILITY, S_PROPERTY_ID_PRESSURE, S_PROPERTY_ID_FRACTION = 100
}

Functions

 new_handle (Sed_type)
 new_handle (Sed_sediment)
Sed_sediment sed_sediment_new (void)
Sed_sediment sed_sediment_new_sized (gssize n)
Sed_sediment sed_sediment_copy (Sed_sediment, const Sed_sediment)
Sed_sediment sed_sediment_dup (const Sed_sediment)
gssize sed_sediment_n_types (const Sed_sediment)
Sed_sediment sed_sediment_add_type (Sed_sediment, const Sed_type)
Sed_sediment sed_sediment_insert_sorted (Sed_sediment s, Sed_type t) G_GNUC_INTERNAL
gboolean sed_sediment_has_type (Sed_sediment s, Sed_type t)
Sed_sediment sed_sediment_append (Sed_sediment s, Sed_type t) G_GNUC_INTERNAL
void sed_sediment_foreach (Sed_sediment s, GFunc f, gpointer user_data)
double * sed_sediment_property (Sed_sediment s, Sed_type_property_func_0 f)
double sed_sediment_property_avg (Sed_sediment s, double *f, Sed_type_property_func_0 p_func)
double sed_sediment_property_avg_1 (Sed_sediment s, double *f, double arg_1, Sed_type_property_func_1 p_func)
double sed_sediment_property_avg_2 (Sed_sediment s, double *f, double arg_1, double arg_2, Sed_type_property_func_2 p_func)
double sed_sediment_property_avg_with_data (Sed_sediment s, double *f, Sed_type_property_func_with_data p_func, gpointer user_data)
gssize sed_sediment_fprint (FILE *fp, Sed_sediment s)
void sed_sediment_fprint_default (FILE *fp)
Sed_type sed_sediment_type (const Sed_sediment, gssize)
Sed_sediment sed_sediment_destroy (Sed_sediment)
gssize sed_sediment_write (FILE *, const Sed_sediment)
Sed_sediment sed_sediment_load (FILE *)
Sed_sediment sed_sediment_scan (const char *, GError **)
Sed_sediment sed_sediment_set_env (Sed_sediment s)
Sed_sediment sed_sediment_unset_env ()
Sed_sediment sed_sediment_env () G_GNUC_INTERNAL
gboolean sed_sediment_env_is_set ()
gssize sed_sediment_env_size () G_GNUC_DEPRECATED
gint sed_sediment_env_n_types ()
Sed_sediment sed_sediment_resize (Sed_sediment s, gssize new_len) G_GNUC_INTERNAL
Sed_type sed_type_set_rho_sat (Sed_type t, double rho_sat)
Sed_type sed_type_set_rho_grain (Sed_type t, double rho_grain)
Sed_type sed_type_set_grain_size (Sed_type t, double gz)
Sed_type sed_type_set_plastic_index (Sed_type t, double pi) G_GNUC_DEPRECATED
Sed_type sed_type_set_void_ratio_min (Sed_type t, double void_min)
Sed_type sed_type_set_diff_coef (Sed_type t, double k)
Sed_type sed_type_set_lambda (Sed_type t, double l)
Sed_type sed_type_set_settling_velocity (Sed_type t, double w)
Sed_type sed_type_set_c_consolidation (Sed_type t, double c_v)
Sed_type sed_type_set_compressibility (Sed_type t, double c)
double sed_type_plastic_index (const Sed_type t) G_GNUC_DEPRECATED
double sed_type_rho_sat (const Sed_type t)
double sed_type_rho_grain (const Sed_type t)
double sed_type_grain_size (const Sed_type t)
double sed_type_void_ratio_min (const Sed_type t)
double sed_type_diff_coef (const Sed_type t)
double sed_type_lambda (const Sed_type t)
double sed_type_lambda_in_per_seconds (const Sed_type t)
double sed_type_settling_velocity (const Sed_type t)
double sed_removal_rate_to_settling_velocity (double l)
double sed_type_c_consolidation (const Sed_type t)
double sed_type_compressibility (const Sed_type t)
double sed_type_density_0 (const Sed_type t)
double sed_type_sat_density (const Sed_type t)
double sed_type_rho_max (const Sed_type t)
double sed_type_grain_size_in_meters (const Sed_type t)
double sed_type_inv_grain_size_in_meters (const Sed_type t)
double sed_type_grain_size_in_phi (const Sed_type t)
double sed_type_is_sand (const Sed_type t)
double sed_type_is_silt (const Sed_type t)
double sed_type_is_clay (const Sed_type t)
double sed_type_is_mud (const Sed_type t)
Sed_size_class sed_type_grain_size_in_wentworth (const Sed_type t)
Sed_size_class sed_type_size_class (const Sed_type t)
double sed_type_velocity (const Sed_type t)
double sed_type_viscosity (const Sed_type t)
double sed_type_dynamic_viscosity (const Sed_type t)
double sed_type_relative_density (const Sed_type t)
double sed_type_void_ratio (Sed_type t)
double sed_type_void_ratio_max (Sed_type t)
double sed_type_porosity (const Sed_type t)
double sed_type_porosity_min (const Sed_type t)
double sed_type_porosity_max (const Sed_type t)
double sed_type_permeability (const Sed_type t)
double sed_type_hydraulic_conductivity (const Sed_type t)
double sed_type_water_content (const Sed_type t)
double sed_specific_gravity (const Sed_type t)
double sed_type_friction_angle (const Sed_type t)
double sed_type_yield_strength (const Sed_type t)
double sed_type_mv (const Sed_type t)
double sed_type_cv (const Sed_type t)
double sed_type_shear_strength (const Sed_type t, double load)
double sed_type_cohesion (const Sed_type t, double load)
double sed_type_consolidation (const Sed_type t, double d, double dt)
double sed_type_consolidation_rate (const Sed_type t, double d, double dt)
double sed_calculate_avg_consolidation (double c_v, double d, double t)
double sed_calculate_consolidation (double c_v, double d, double z, double t)
double sed_type_is_size_class (Sed_type t, Sed_size_class size)
Sed_size_class sed_size_class (const double phi)
 Return the Wentworth size class from a grain size.
double sed_type_shear_strength_with_data (const Sed_type t, gpointer data) G_GNUC_INTERNAL
double sed_type_cohesion_with_data (const Sed_type t, gpointer data) G_GNUC_INTERNAL
double sed_type_consolidation_with_data (const Sed_type t, gpointer data) G_GNUC_INTERNAL
double sed_type_consolidation_rate_with_data (const Sed_type t, gpointer data) G_GNUC_INTERNAL
double sed_type_is_size_class_with_data (Sed_type t, gpointer size) G_GNUC_INTERNAL
double sed_type_sum_size_classes_with_data (Sed_type t, gpointer size) G_GNUC_INTERNAL
double sed_type_void_ratio_compacted (Sed_type t, gpointer d) G_GNUC_INTERNAL
double sed_type_density_compacted (Sed_type t, gpointer d) G_GNUC_INTERNAL
double sed_settling_velocity_to_removal_rate (double w_s)
Sed_size_class sed_grain_size_in_wentworth (const Sed_sediment, gssize)
Sed_type sed_type_new ()
Sed_type sed_type_destroy (Sed_type s)
Sed_type sed_type_copy (Sed_type dest, Sed_type src)
Sed_type sed_type_dup (Sed_type src)
gssize sed_type_fprint (FILE *fp, Sed_type t)
gssize sed_type_write (FILE *fp, Sed_type t)
Sed_type sed_type_read (FILE *fp)
Sed_type sed_type_init (Eh_symbol_table t)
gboolean sed_type_is_same (Sed_type t_1, Sed_type t_2)
gboolean sed_type_is_same_size (Sed_type t_1, Sed_type t_2)
double sed_gravity (void)
double sed_gravity_units (Sed_units units)
double sed_set_gravity (double new_val)
double sed_rho_sea_water (void)
double sed_rho_sea_water_units (Sed_units units)
double sed_set_rho_sea_water (double new_val)
double sed_rho_fresh_water (void)
double sed_rho_fresh_water_units (Sed_units units)
double sed_set_rho_fresh_water (double new_val)
double sed_mu_water (void)
double sed_mu_water_units (Sed_units units)
double sed_set_mu_water (double new_val)
double sed_sea_salinity (void)
double sed_sea_salinity_units (Sed_units units)
double sed_set_sea_salinity (double new_val)
double sed_rho_quartz (void)
double sed_rho_quartz_units (Sed_units units)
double sed_set_rho_quartz (double new_val)
double sed_rho_mantle (void)
double sed_rho_mantle_units (Sed_units units)
double sed_set_rho_mantle (double new_val)


Define Documentation

#define S_SED_TYPE_BOULDER   ((Sed_size_class)(1<<0 ))

Definition at line 95 of file sed_sediment.h.

#define S_SED_TYPE_BOULDER_PHI   (-8.)

Definition at line 135 of file sed_sediment.h.

#define S_SED_TYPE_CLAY

Value:

Definition at line 126 of file sed_sediment.h.

Referenced by sed_measure_cube_clay_fraction(), sed_measure_cube_mud_fraction(), sed_size_class(), sed_type_is_clay(), and sed_type_yield_strength().

#define S_SED_TYPE_COARSE_CLAY   ((Sed_size_class)(1<<13))

Definition at line 108 of file sed_sediment.h.

#define S_SED_TYPE_COARSE_CLAY_PHI   ( 9.)

Definition at line 148 of file sed_sediment.h.

#define S_SED_TYPE_COARSE_SAND   ((Sed_size_class)(1<<5 ))

Definition at line 100 of file sed_sediment.h.

#define S_SED_TYPE_COARSE_SAND_PHI   ( 1.)

Definition at line 140 of file sed_sediment.h.

#define S_SED_TYPE_COARSE_SILT   ((Sed_size_class)(1<<9 ))

Definition at line 104 of file sed_sediment.h.

#define S_SED_TYPE_COARSE_SILT_PHI   ( 5.)

Definition at line 144 of file sed_sediment.h.

#define S_SED_TYPE_COBBLE   ((Sed_size_class)(1<<1 ))

Definition at line 96 of file sed_sediment.h.

#define S_SED_TYPE_COBBLE_PHI   (-5.)

Definition at line 136 of file sed_sediment.h.

#define S_SED_TYPE_FINE_CLAY   ((Sed_size_class)(1<<15))

Definition at line 110 of file sed_sediment.h.

#define S_SED_TYPE_FINE_CLAY_PHI   (11.)

Definition at line 150 of file sed_sediment.h.

#define S_SED_TYPE_FINE_SAND   ((Sed_size_class)(1<<7 ))

Definition at line 102 of file sed_sediment.h.

#define S_SED_TYPE_FINE_SAND_PHI   ( 3.)

Definition at line 142 of file sed_sediment.h.

#define S_SED_TYPE_FINE_SILT   ((Sed_size_class)(1<<11))

Definition at line 106 of file sed_sediment.h.

#define S_SED_TYPE_FINE_SILT_PHI   ( 7.)

Definition at line 146 of file sed_sediment.h.

#define S_SED_TYPE_GRANULE   ((Sed_size_class)(1<<3 ))

Definition at line 98 of file sed_sediment.h.

#define S_SED_TYPE_GRANULE_PHI   (-1.)

Definition at line 138 of file sed_sediment.h.

#define S_SED_TYPE_GRAVEL

Value:

Definition at line 112 of file sed_sediment.h.

#define S_SED_TYPE_MEDIUM_CLAY   ((Sed_size_class)(1<<14))

Definition at line 109 of file sed_sediment.h.

#define S_SED_TYPE_MEDIUM_CLAY_PHI   (10.)

Definition at line 149 of file sed_sediment.h.

#define S_SED_TYPE_MEDIUM_SAND   ((Sed_size_class)(1<<6 ))

Definition at line 101 of file sed_sediment.h.

#define S_SED_TYPE_MEDIUM_SILT   ((Sed_size_class)(1<<10))

Definition at line 105 of file sed_sediment.h.

#define S_SED_TYPE_MUD

Value:

Definition at line 130 of file sed_sediment.h.

Referenced by main(), and sed_type_is_mud().

#define S_SED_TYPE_NONE   ((Sed_size_class)(0))

Definition at line 94 of file sed_sediment.h.

Referenced by sed_cell_size_class(), and sed_cell_size_classes().

#define S_SED_TYPE_PEBBLE   ((Sed_size_class)(1<<2 ))

Definition at line 97 of file sed_sediment.h.

#define S_SED_TYPE_PEBBLE_PHI   (-2.)

Definition at line 137 of file sed_sediment.h.

#define S_SED_TYPE_SAND

Value:

Definition at line 115 of file sed_sediment.h.

Referenced by main(), sed_measure_cube_sand_fraction(), sed_size_class(), sed_type_dynamic_viscosity(), sed_type_is_sand(), and sed_type_yield_strength().

#define S_SED_TYPE_SAND_PHI   ( 2.)

Definition at line 141 of file sed_sediment.h.

#define S_SED_TYPE_SILT

Value:

Definition at line 121 of file sed_sediment.h.

Referenced by sed_measure_cube_mud_fraction(), sed_measure_cube_silt_fraction(), sed_size_class(), sed_type_is_silt(), and sed_type_yield_strength().

#define S_SED_TYPE_SILT_PHI   ( 6.)

Definition at line 145 of file sed_sediment.h.

#define S_SED_TYPE_VERY_COARSE_SAND   ((Sed_size_class)(1<<4 ))

Definition at line 99 of file sed_sediment.h.

#define S_SED_TYPE_VERY_COARSE_SAND_PHI   ( 0.)

Definition at line 139 of file sed_sediment.h.

#define S_SED_TYPE_VERY_FINE_SAND   ((Sed_size_class)(1<<8 ))

Definition at line 103 of file sed_sediment.h.

#define S_SED_TYPE_VERY_FINE_SAND_PHI   ( 4.)

Definition at line 143 of file sed_sediment.h.

Referenced by sed_size_class().

#define S_SED_TYPE_VERY_FINE_SILT   ((Sed_size_class)(1<<12))

Definition at line 107 of file sed_sediment.h.

#define S_SED_TYPE_VERY_FINE_SILT_PHI   ( 8.)

Definition at line 147 of file sed_sediment.h.

Referenced by sed_size_class().

#define SED_SEDIMENT_H

Definition at line 22 of file sed_sediment.h.

#define SED_SEDIMENT_TEST_FILE   DATADIR "/sedflux/sample_sediment.kvf"

Definition at line 33 of file sed_sediment.h.

Referenced by avulsion_full(), main(), and sed_sediment_scan().


Typedef Documentation

typedef gint32 Sed_size_class

Definition at line 39 of file sed_sediment.h.

typedef double(*) Sed_type_property_func_0(const Sed_type)

Definition at line 41 of file sed_sediment.h.

typedef double(*) Sed_type_property_func_1(const Sed_type, double)

Definition at line 42 of file sed_sediment.h.

typedef double(*) Sed_type_property_func_2(const Sed_type, double, double)

Definition at line 43 of file sed_sediment.h.

typedef double(*) Sed_type_property_func_with_data(const Sed_type, gpointer user_data)

Definition at line 44 of file sed_sediment.h.


Enumeration Type Documentation

enum Sed_property_id

Enumerator:
S_PROPERTY_ID_BAD_VAL 
S_PROPERTY_ID_BULK_DENSITY 
S_PROPERTY_ID_GRAIN_SIZE 
S_PROPERTY_ID_PLASTIC_INDEX 
S_PROPERTY_ID_FACIES 
S_PROPERTY_ID_AGE 
S_PROPERTY_ID_VELOCITY 
S_PROPERTY_ID_VOID_RATIO 
S_PROPERTY_ID_VOID_RATIO_MIN 
S_PROPERTY_ID_VISCOSITY 
S_PROPERTY_ID_FRICTION_ANGLE 
S_PROPERTY_ID_PERMEABILITY 
S_PROPERTY_ID_POROSITY 
S_PROPERTY_ID_RELATIVE_DENSITY 
S_PROPERTY_ID_MV 
S_PROPERTY_ID_CV 
S_PROPERTY_ID_SHEAR_STRENGTH 
S_PROPERTY_ID_COHESION 
S_PROPERTY_ID_EXCESS_PRESSURE 
S_PROPERTY_ID_CONSOLIDATION 
S_PROPERTY_ID_CONSOLIDATION_RATE 
S_PROPERTY_ID_RELATIVE_PRESSURE 
S_PROPERTY_ID_SAND_FRACTION 
S_PROPERTY_ID_SILT_FRACTION 
S_PROPERTY_ID_CLAY_FRACTION 
S_PROPERTY_ID_MUD_FRACTION 
S_PROPERTY_ID_GRAIN_DENSITY 
S_PROPERTY_ID_MAX_DENSITY 
S_PROPERTY_ID_GRAIN_SIZE_IN_M 
S_PROPERTY_ID_POROSITY_MIN 
S_PROPERTY_ID_POROSITY_MAX 
S_PROPERTY_ID_HYDRAULIC_CONDUCTIVITY 
S_PROPERTY_ID_VOID_RATIO_MAX 
S_PROPERTY_ID_CC 
S_PROPERTY_ID_YIELD_STRENGTH 
S_PROPERTY_ID_DYNAMIC_VISCOSITY 
S_PROPERTY_ID_COMPRESSIBILITY 
S_PROPERTY_ID_PRESSURE 
S_PROPERTY_ID_FRACTION 

Definition at line 50 of file sed_sediment.h.


Function Documentation

new_handle ( Sed_sediment   ) 

new_handle ( Sed_type   ) 

double sed_calculate_avg_consolidation ( double  c_v,
double  d,
double  t 
)

Definition at line 1396 of file sed_sediment.c.

Referenced by sed_type_consolidation().

double sed_calculate_consolidation ( double  c_v,
double  d,
double  z,
double  t 
)

Definition at line 1407 of file sed_sediment.c.

Referenced by run_terzaghi_flow().

Sed_size_class sed_grain_size_in_wentworth ( const   Sed_sediment,
gssize   
)

double sed_gravity ( void   ) 

Definition at line 746 of file sed_sediment.c.

References __gravity.

Referenced by factor_of_safety(), fail_reinit_fail_column(), get_constant(), get_flexure_parameter(), get_grain_size_threshold(), get_h_c(), get_moveable_grains(), get_threshold_depth(), get_tsunami_parameters(), inflow(), init_failure(), main(), muddy(), near_bed_velocity_func(), run_darcy_flow(), sakura_reynolds_number(), sakura_settling_velocity(), sed_cell_load(), sed_cell_sediment_load(), sed_column_water_pressure(), sed_cube_water_pressure(), sed_dispersion_relation_frequency(), sed_dispersion_relation_wave_number_helper(), sed_gravity_wave_deep_water_height(), sed_gravity_wave_deep_water_wave_number(), sed_wave_break_depth(), sed_wave_break_depth_helper(), set_ocean_storm_wave(), subside_half_plane_load(), and subside_point_load().

double sed_gravity_units ( Sed_units  units  ) 

Definition at line 751 of file sed_sediment.c.

References __gravity, eh_require_not_reached, UNITS_CGS, UNITS_IMPERIAL, and UNITS_MKS.

double sed_mu_water ( void   ) 

Definition at line 833 of file sed_sediment.c.

References __mu_water.

Referenced by sed_mu_water_units().

double sed_mu_water_units ( Sed_units  units  ) 

Definition at line 840 of file sed_sediment.c.

References eh_require_not_reached, sed_mu_water(), UNITS_CGS, UNITS_IMPERIAL, and UNITS_MKS.

double sed_removal_rate_to_settling_velocity ( double  l  ) 

Definition at line 1066 of file sed_sediment.c.

References SED_BURSIK_CONST_A_3, and SED_BURSIK_CONST_H.

Referenced by sakura_set_sediment_data(), sakura_set_sediment_data_from_env(), sed_type_init(), and sed_type_set_lambda().

double sed_rho_fresh_water ( void   ) 

Definition at line 802 of file sed_sediment.c.

References __rho_fresh_water.

Referenced by run_plume_hyper_inflow(), run_plume_hyper_sakura(), sed_hydro_array_eventize_conc(), sed_hydro_is_hyperpycnal(), sed_rho_fresh_water_units(), and sed_river_concentration().

double sed_rho_fresh_water_units ( Sed_units  units  ) 

Definition at line 809 of file sed_sediment.c.

References eh_require_not_reached, sed_rho_fresh_water(), UNITS_CGS, UNITS_IMPERIAL, and UNITS_MKS.

double sed_rho_mantle ( void   ) 

Definition at line 914 of file sed_sediment.c.

References __rho_mantle.

Referenced by get_flexure_parameter(), sed_rho_mantle_units(), subside_half_plane_load(), and subside_point_load().

double sed_rho_mantle_units ( Sed_units  units  ) 

Definition at line 920 of file sed_sediment.c.

References eh_require_not_reached, sed_rho_mantle(), UNITS_CGS, UNITS_IMPERIAL, and UNITS_MKS.

double sed_rho_quartz ( void   ) 

Definition at line 886 of file sed_sediment.c.

References __rho_grain.

Referenced by get_constant(), get_grain_size_threshold(), get_moveable_grains(), get_paola_diffusion(), get_threshold_depth(), sed_rho_quartz_units(), and sed_type_init().

double sed_rho_quartz_units ( Sed_units  units  ) 

Definition at line 892 of file sed_sediment.c.

References eh_require_not_reached, sed_rho_quartz(), UNITS_CGS, UNITS_IMPERIAL, and UNITS_MKS.

double sed_rho_sea_water ( void   ) 

Definition at line 771 of file sed_sediment.c.

References __rho_sea_water.

Referenced by compact(), get_constant(), get_erosion_depth(), get_grain_size_threshold(), get_moveable_grains(), get_paola_diffusion(), get_threshold_depth(), init_failure(), run_darcy_flow(), sed_column_water_pressure(), sed_cube_water_pressure(), sed_hydro_is_hyperpycnal(), sed_rho_sea_water_units(), sed_specific_gravity(), sed_type_density_compacted(), sed_type_init(), sed_type_rho_max(), sed_type_void_ratio(), and sed_type_water_content().

double sed_rho_sea_water_units ( Sed_units  units  ) 

Definition at line 778 of file sed_sediment.c.

References eh_require_not_reached, sed_rho_sea_water(), UNITS_CGS, UNITS_IMPERIAL, and UNITS_MKS.

double sed_sea_salinity ( void   ) 

Definition at line 860 of file sed_sediment.c.

References __salinity_sea.

Referenced by sed_sea_salinity_units().

double sed_sea_salinity_units ( Sed_units  units  ) 

Definition at line 865 of file sed_sediment.c.

References eh_require_not_reached, sed_sea_salinity(), UNITS_CGS, UNITS_IMPERIAL, and UNITS_MKS.

Sed_sediment sed_sediment_add_type ( Sed_sediment  ,
const   Sed_type 
)

Definition at line 196 of file sed_sediment.c.

References eh_require, sed_sediment_append(), sed_sediment_has_type(), and sed_sediment_resize().

Referenced by sed_sediment_read(), and sed_sediment_scan().

Sed_sediment sed_sediment_append ( Sed_sediment  s,
Sed_type  t 
)

Definition at line 291 of file sed_sediment.c.

References eh_require, and sed_type_dup().

Referenced by sed_sediment_add_type().

Sed_sediment sed_sediment_copy ( Sed_sediment  ,
const   Sed_sediment 
)

Definition at line 120 of file sed_sediment.c.

References eh_new, eh_require, sed_sediment_n_types(), sed_sediment_new(), and sed_type_dup().

Referenced by sed_sediment_dup().

Sed_sediment sed_sediment_destroy ( Sed_sediment   ) 

Definition at line 429 of file sed_sediment.c.

References eh_free, and sed_type_destroy().

Referenced by avulsion_full(), main(), sed_cube_new_from_file(), sed_sediment_resize(), sed_sediment_unset_env(), and test_2d().

Sed_sediment sed_sediment_dup ( const   Sed_sediment  ) 

Definition at line 144 of file sed_sediment.c.

References sed_sediment_copy().

Referenced by sed_sediment_set_env().

Sed_sediment sed_sediment_env (  ) 

Definition at line 110 of file sed_sediment.c.

Referenced by sed_cell_new_bedload(), sed_cell_new_classed(), sed_cell_new_typed(), sed_hydro_add_cell(), sed_hydro_subtract_cell(), sed_hydro_suspended_volume_flux(), sed_sediment_env_n_types(), sed_sediment_env_size(), sed_sediment_property(), sed_sediment_property_avg(), sed_sediment_property_avg_1(), sed_sediment_property_avg_2(), sed_sediment_property_avg_with_data(), and sed_sediment_type().

gboolean sed_sediment_env_is_set (  ) 

Definition at line 115 of file sed_sediment.c.

Referenced by sed_cell_new_env(), sed_sediment_env_n_types(), and sed_sediment_env_size().

gint sed_sediment_env_n_types (  ) 

Definition at line 170 of file sed_sediment.c.

References sed_sediment_env(), and sed_sediment_env_is_set().

Referenced by _print_sediment_column(), _scan_sediment_column(), compact(), decider(), deposit_sediment_helper(), diffuse_sediment(), diffuse_sediment_2(), get_moveable_grains(), get_sediment_flux(), get_time_step(), inflow_deposit_sediment(), inflow_erode_sediment(), inflow_set_sediment_data_from_env(), init_plume_hypo_data(), main(), move_sediment(), muddy(), run_plume_hypo(), run_xshore(), sakura_deposit_sediment(), sakura_erode_sediment(), sakura_sed_add_sediment(), sakura_sed_get_phe(), sakura_sed_remove_sediment(), sakura_set_bathy_data_from_cube(), sakura_set_sediment_data_from_env(), sed_array_to_bio_array(), sed_cell_add_column(), sed_cell_grid_new_env(), sed_cell_new_env(), sed_column_add_vec(), sed_column_extract_top_fill(), sed_column_separate_top(), sed_column_separate_top_amounts(), sed_column_top(), sed_column_top_age(), sed_column_top_property_0(), sed_column_top_rho(), sed_cube_create_in_suspension(), sed_get_phe(), sed_sediment_n_types(), squall(), update_bruun_zone_data(), and xshore().

gssize sed_sediment_env_size (  ) 

Definition at line 157 of file sed_sediment.c.

References sed_sediment_env(), and sed_sediment_env_is_set().

void sed_sediment_foreach ( Sed_sediment  s,
GFunc  f,
gpointer  user_data 
)

Definition at line 304 of file sed_sediment.c.

References eh_require.

gssize sed_sediment_fprint ( FILE *  fp,
Sed_sediment  s 
)

Definition at line 272 of file sed_sediment.c.

References sed_type_fprint().

void sed_sediment_fprint_default ( FILE *  fp  ) 

Definition at line 579 of file sed_sediment.c.

References DEFAULT_SEDIMENT_FILE, and eh_require.

gboolean sed_sediment_has_type ( Sed_sediment  s,
Sed_type  t 
)

Definition at line 214 of file sed_sediment.c.

References sed_type_is_same().

Referenced by sed_sediment_add_type().

Sed_sediment sed_sediment_insert_sorted ( Sed_sediment  s,
Sed_type  t 
)

Definition at line 229 of file sed_sediment.c.

References eh_require, and sed_type_dup().

Sed_sediment sed_sediment_load ( FILE *   ) 

gssize sed_sediment_n_types ( const   Sed_sediment  ) 

Definition at line 149 of file sed_sediment.c.

References sed_sediment_env_n_types().

Referenced by get_moveable_grains(), main(), plume_centerline_deposit(), plume_width_averaged_deposit(), plume_width_averaged_deposit_num(), sed_cell_new_bedload(), sed_cell_new_classed(), sed_cell_new_typed(), sed_hydro_add_cell(), sed_hydro_subtract_cell(), sed_sediment_copy(), sed_sediment_property(), sed_sediment_write(), and test_2d().

Sed_sediment sed_sediment_new ( void   ) 

Definition at line 65 of file sed_sediment.c.

References NEW_OBJECT.

Referenced by sed_sediment_copy(), sed_sediment_new_sized(), sed_sediment_read(), sed_sediment_resize(), and sed_sediment_scan().

Sed_sediment sed_sediment_new_sized ( gssize  n  ) 

Definition at line 77 of file sed_sediment.c.

References sed_sediment_new(), and sed_sediment_resize().

double* sed_sediment_property ( Sed_sediment  s,
Sed_type_property_func_0  f 
)

Definition at line 316 of file sed_sediment.c.

References eh_new, sed_sediment_env(), and sed_sediment_n_types().

Referenced by compact(), diffuse_sediment(), diffuse_sediment_2(), get_moveable_grains(), get_sediment_flux(), get_time_step(), inflow_set_sediment_data_from_env(), muddy(), run_plume_hypo(), sakura_set_sediment_data_from_env(), squall(), and update_bruun_zone_data().

double sed_sediment_property_avg ( Sed_sediment  s,
double *  f,
Sed_type_property_func_0  p_func 
)

Definition at line 336 of file sed_sediment.c.

References sed_sediment_env().

Referenced by sed_cell_bulk_permeability(), sed_cell_c_consolidation(), sed_cell_cc(), sed_cell_clay_fraction(), sed_cell_compressibility(), sed_cell_cv(), sed_cell_density_0(), sed_cell_dynamic_viscosity(), sed_cell_friction_angle(), sed_cell_grain_density(), sed_cell_grain_size(), sed_cell_grain_size_in_phi(), sed_cell_hydraulic_conductivity(), sed_cell_max_density(), sed_cell_mud_fraction(), sed_cell_mv(), sed_cell_permeability(), sed_cell_plastic_index(), sed_cell_porosity(), sed_cell_porosity_max(), sed_cell_porosity_min(), sed_cell_relative_density(), sed_cell_sand_fraction(), sed_cell_silt_fraction(), sed_cell_size_class(), sed_cell_velocity(), sed_cell_viscosity(), sed_cell_void_ratio(), sed_cell_void_ratio_max(), sed_cell_void_ratio_min(), and sed_cell_yield_strength().

double sed_sediment_property_avg_1 ( Sed_sediment  s,
double *  f,
double  arg_1,
Sed_type_property_func_1  p_func 
)

Definition at line 353 of file sed_sediment.c.

References sed_sediment_env().

double sed_sediment_property_avg_2 ( Sed_sediment  s,
double *  f,
double  arg_1,
double  arg_2,
Sed_type_property_func_2  p_func 
)

Definition at line 370 of file sed_sediment.c.

References sed_sediment_env().

double sed_sediment_property_avg_with_data ( Sed_sediment  s,
double *  f,
Sed_type_property_func_with_data  p_func,
gpointer  user_data 
)

Definition at line 387 of file sed_sediment.c.

References sed_sediment_env().

Referenced by sed_cell_cohesion(), sed_cell_consolidation(), sed_cell_consolidation_rate(), sed_cell_density(), sed_cell_shear_strength(), sed_cell_size_class_percent(), and sed_cell_size_classes().

Sed_sediment sed_sediment_resize ( Sed_sediment  s,
gssize  new_len 
)

Definition at line 179 of file sed_sediment.c.

References eh_renew, sed_sediment_destroy(), and sed_sediment_new().

Referenced by sed_sediment_add_type(), and sed_sediment_new_sized().

Sed_sediment sed_sediment_scan ( const char *  file,
GError **  error 
)

Scan sediment information from a file

Scan sediment information from a file. The file consists of a series of groups (one for each type of sediment). Each groups contains a key-value pairs describing the sediment type.

An example group:

This is the start of the next group.

Note:
The order that the sediment groups appear in the file are the order they are placed into the Sed_sediment class. They are no longer sorted by grain size.
Parameters:
file The name of the file to scan
error A GError
Returns:
A new Sed_sediment constructed from the file. Use sed_sediment_destroy to free.

Definition at line 614 of file sed_sediment.c.

References eh_free, eh_key_file_destroy(), eh_key_file_pop_group(), eh_key_file_scan(), eh_return_val_if_fail, eh_symbol_table_destroy(), sed_sediment_add_type(), sed_sediment_new(), SED_SEDIMENT_TEST_FILE, sed_type_destroy(), and sed_type_init().

Referenced by avulsion_full(), main(), sed_cube_new_from_file(), and test_2d().

Sed_sediment sed_sediment_set_env ( Sed_sediment  s  ) 

Definition at line 91 of file sed_sediment.c.

References sed_sediment_dup().

Referenced by avulsion_full(), main(), sed_cube_new_from_file(), and test_2d().

Sed_type sed_sediment_type ( const   Sed_sediment,
gssize   
)

Definition at line 407 of file sed_sediment.c.

References eh_require, and sed_sediment_env().

Referenced by plume_centerline_deposit(), plume_width_averaged_deposit(), plume_width_averaged_deposit_num(), run_bedload(), sed_cell_new_classed(), sed_cell_new_typed(), sed_get_phe(), sed_hydro_add_cell(), sed_hydro_subtract_cell(), and sed_hydro_suspended_volume_flux().

Sed_sediment sed_sediment_unset_env (  ) 

Definition at line 102 of file sed_sediment.c.

References sed_sediment_destroy().

Referenced by avulsion_full(), main(), sedflux_finalize(), and test_2d().

gssize sed_sediment_write ( FILE *  ,
const   Sed_sediment 
)

Definition at line 539 of file sed_sediment.c.

References sed_sediment_n_types(), and sed_type_write().

double sed_set_gravity ( double  new_val  ) 

Definition at line 766 of file sed_sediment.c.

References __gravity.

Referenced by run_constants().

double sed_set_mu_water ( double  new_val  ) 

Definition at line 854 of file sed_sediment.c.

References __mu_water.

double sed_set_rho_fresh_water ( double  new_val  ) 

Definition at line 826 of file sed_sediment.c.

References __rho_fresh_water.

Referenced by run_constants().

double sed_set_rho_mantle ( double  new_val  ) 

Definition at line 936 of file sed_sediment.c.

References __rho_mantle.

Referenced by run_constants().

double sed_set_rho_quartz ( double  new_val  ) 

Definition at line 908 of file sed_sediment.c.

References __rho_grain.

Referenced by run_constants().

double sed_set_rho_sea_water ( double  new_val  ) 

Definition at line 795 of file sed_sediment.c.

References __rho_sea_water.

Referenced by run_constants().

double sed_set_sea_salinity ( double  new_val  ) 

Definition at line 880 of file sed_sediment.c.

References __salinity_sea.

Referenced by run_constants().

double sed_settling_velocity_to_removal_rate ( double  w_s  ) 

Definition at line 1071 of file sed_sediment.c.

References SED_BURSIK_CONST_A_3, and SED_BURSIK_CONST_H.

Referenced by sed_type_set_settling_velocity().

Sed_size_class sed_size_class ( const double  phi  ) 

Return the Wentworth size class from a grain size.

Returns the Wentworth size class for a grain size in phi units.

Parameters:
phi The grain size is phi units.
Returns:
The grain size as a Wentworth size class.
See also:
sed_cell_size_class , Sed_size_class .

Definition at line 1471 of file sed_sediment.c.

References S_SED_TYPE_CLAY, S_SED_TYPE_SAND, S_SED_TYPE_SILT, S_SED_TYPE_VERY_FINE_SAND_PHI, and S_SED_TYPE_VERY_FINE_SILT_PHI.

Referenced by sed_cell_size_class(), sed_type_grain_size_in_wentworth(), and sed_type_size_class().

double sed_specific_gravity ( const Sed_type  t  ) 

Definition at line 1263 of file sed_sediment.c.

References sed_rho_sea_water(), and sed_type_rho_grain().

double sed_type_c_consolidation ( const Sed_type  t  ) 

Definition at line 1076 of file sed_sediment.c.

Referenced by sed_cell_c_consolidation(), sed_cell_cc(), sed_type_consolidation(), and sed_type_consolidation_rate().

double sed_type_cohesion ( const Sed_type  t,
double  load 
)

Definition at line 1351 of file sed_sediment.c.

Referenced by sed_type_cohesion_with_data().

double sed_type_cohesion_with_data ( const Sed_type  t,
gpointer  data 
)

Definition at line 1360 of file sed_sediment.c.

References sed_type_cohesion().

Referenced by sed_cell_cohesion().

double sed_type_compressibility ( const Sed_type  t  ) 

Definition at line 1081 of file sed_sediment.c.

Referenced by compact(), sed_cell_compressibility(), sed_cell_mv(), sed_type_cv(), and sed_type_mv().

double sed_type_consolidation ( const Sed_type  t,
double  d,
double  dt 
)

Definition at line 1365 of file sed_sediment.c.

References sed_calculate_avg_consolidation(), and sed_type_c_consolidation().

double sed_type_consolidation_rate ( const Sed_type  t,
double  d,
double  dt 
)

Definition at line 1377 of file sed_sediment.c.

References sed_type_c_consolidation().

Referenced by sed_type_consolidation_rate_with_data(), and sed_type_consolidation_with_data().

double sed_type_consolidation_rate_with_data ( const Sed_type  t,
gpointer  data 
)

Definition at line 1391 of file sed_sediment.c.

References sed_type_consolidation_rate().

Referenced by sed_cell_consolidation_rate().

double sed_type_consolidation_with_data ( const Sed_type  t,
gpointer  data 
)

Definition at line 1372 of file sed_sediment.c.

References sed_type_consolidation_rate().

Referenced by sed_cell_consolidation().

Sed_type sed_type_copy ( Sed_type  dest,
Sed_type  src 
)

Definition at line 465 of file sed_sediment.c.

References eh_require, and sed_type_new().

Referenced by sed_type_dup().

double sed_type_cv ( const Sed_type  t  ) 

Definition at line 1335 of file sed_sediment.c.

References S_GAMMA_WATER, sed_type_compressibility(), and sed_type_hydraulic_conductivity().

Referenced by sed_cell_cv().

double sed_type_density_0 ( const Sed_type  t  ) 

Definition at line 1086 of file sed_sediment.c.

References sed_type_rho_sat().

Referenced by sed_cell_density_0().

double sed_type_density_compacted ( Sed_type  t,
gpointer  d 
)

Definition at line 1454 of file sed_sediment.c.

References sed_rho_sea_water(), sed_type_rho_grain(), and sed_type_void_ratio_compacted().

Referenced by sed_cell_density().

Sed_type sed_type_destroy ( Sed_type  s  ) 

Definition at line 453 of file sed_sediment.c.

References eh_free.

Referenced by sed_sediment_destroy(), and sed_sediment_scan().

double sed_type_diff_coef ( const Sed_type  t  ) 

Definition at line 1029 of file sed_sediment.c.

Referenced by diffuse_sediment(), diffuse_sediment_2(), muddy(), and run_plume_hypo().

Sed_type sed_type_dup ( Sed_type  src  ) 

Definition at line 477 of file sed_sediment.c.

References sed_type_copy().

Referenced by sed_sediment_append(), sed_sediment_copy(), and sed_sediment_insert_sorted().

double sed_type_dynamic_viscosity ( const Sed_type  t  ) 

Definition at line 1182 of file sed_sediment.c.

References S_MU_WATER, S_SED_TYPE_SAND, sed_type_porosity(), and sed_type_size_class().

Referenced by sed_cell_dynamic_viscosity().

gssize sed_type_fprint ( FILE *  fp,
Sed_type  t 
)

Definition at line 482 of file sed_sediment.c.

Referenced by sed_sediment_fprint().

double sed_type_friction_angle ( const Sed_type  t  ) 

Definition at line 1285 of file sed_sediment.c.

References sed_type_grain_size_in_meters(), and sed_type_relative_density().

Referenced by sed_cell_friction_angle().

double sed_type_grain_size ( const Sed_type  t  ) 

Definition at line 1014 of file sed_sediment.c.

Referenced by run_plume_hypo(), sed_cell_grain_size(), sed_type_grain_size_in_meters(), and sed_type_inv_grain_size_in_meters().

double sed_type_grain_size_in_meters ( const Sed_type  t  ) 

Definition at line 1101 of file sed_sediment.c.

References sed_type_grain_size().

Referenced by get_moveable_grains(), get_sediment_flux(), inflow_set_sediment_data_from_env(), sed_type_friction_angle(), sed_type_permeability(), and squall().

double sed_type_grain_size_in_phi ( const Sed_type  t  ) 

Definition at line 1111 of file sed_sediment.c.

References log2().

Referenced by sed_cell_grain_size_in_phi(), sed_cell_size_class(), sed_type_grain_size_in_wentworth(), and sed_type_size_class().

Sed_size_class sed_type_grain_size_in_wentworth ( const Sed_type  t  ) 

Definition at line 1152 of file sed_sediment.c.

References sed_size_class(), and sed_type_grain_size_in_phi().

double sed_type_hydraulic_conductivity ( const Sed_type  t  ) 

Definition at line 1251 of file sed_sediment.c.

References S_GAMMA_WATER, S_MU_WATER, and sed_type_permeability().

Referenced by sed_cell_hydraulic_conductivity(), and sed_type_cv().

Sed_type sed_type_init ( Eh_symbol_table  t  ) 

Definition at line 669 of file sed_sediment.c.

References eh_require, eh_symbol_table_dbl_value(), S_KEY_C, S_KEY_C_V, S_KEY_DIFF_COEF, S_KEY_GRAIN_SIZE, S_KEY_LAMBDA, S_KEY_RHO_GRAIN, S_KEY_RHO_SAT, S_KEY_VOID_MIN, sed_removal_rate_to_settling_velocity(), sed_rho_quartz(), sed_rho_sea_water(), and sed_type_new().

Referenced by sed_sediment_scan().

double sed_type_inv_grain_size_in_meters ( const Sed_type  t  ) 

Definition at line 1106 of file sed_sediment.c.

References sed_type_grain_size().

Referenced by sed_cell_bulk_permeability().

double sed_type_is_clay ( const Sed_type  t  ) 

Definition at line 1134 of file sed_sediment.c.

References S_SED_TYPE_CLAY, and sed_type_size_class().

Referenced by sed_cell_clay_fraction().

double sed_type_is_mud ( const Sed_type  t  ) 

Definition at line 1143 of file sed_sediment.c.

References S_SED_TYPE_MUD, and sed_type_size_class().

Referenced by sed_cell_mud_fraction().

gboolean sed_type_is_same ( Sed_type  t_1,
Sed_type  t_2 
)

Definition at line 698 of file sed_sediment.c.

References eh_require.

Referenced by sed_cell_new_typed(), and sed_sediment_has_type().

gboolean sed_type_is_same_size ( Sed_type  t_1,
Sed_type  t_2 
)

Definition at line 723 of file sed_sediment.c.

References eh_require.

double sed_type_is_sand ( const Sed_type  t  ) 

Definition at line 1116 of file sed_sediment.c.

References S_SED_TYPE_SAND, and sed_type_size_class().

Referenced by sed_cell_sand_fraction().

double sed_type_is_silt ( const Sed_type  t  ) 

Definition at line 1125 of file sed_sediment.c.

References S_SED_TYPE_SILT, and sed_type_size_class().

Referenced by sed_cell_silt_fraction().

double sed_type_is_size_class ( Sed_type  t,
Sed_size_class  size 
)

Definition at line 1430 of file sed_sediment.c.

References sed_type_size_class().

Referenced by sed_type_is_size_class_with_data().

double sed_type_is_size_class_with_data ( Sed_type  t,
gpointer  size 
)

Definition at line 1435 of file sed_sediment.c.

References sed_type_is_size_class().

Referenced by sed_cell_size_class_percent().

double sed_type_lambda ( const Sed_type  t  ) 

Definition at line 1034 of file sed_sediment.c.

Referenced by plume_centerline_deposit(), plume_width_averaged_deposit(), and plume_width_averaged_deposit_num().

double sed_type_lambda_in_per_seconds ( const Sed_type  t  ) 

Definition at line 1039 of file sed_sediment.c.

References S_DAYS_PER_SECOND.

Referenced by inflow_set_sediment_data_from_env(), run_plume_hypo(), and sakura_set_sediment_data_from_env().

double sed_type_mv ( const Sed_type  t  ) 

Definition at line 1330 of file sed_sediment.c.

References sed_type_compressibility().

Sed_type sed_type_new (  ) 

Definition at line 443 of file sed_sediment.c.

References NEW_OBJECT.

Referenced by sed_type_copy(), sed_type_init(), and sed_type_read().

double sed_type_permeability ( const Sed_type  t  ) 

Definition at line 1242 of file sed_sediment.c.

References S_F, sed_type_grain_size_in_meters(), and sed_type_void_ratio().

Referenced by sed_cell_permeability(), and sed_type_hydraulic_conductivity().

double sed_type_plastic_index ( const Sed_type  t  ) 

Definition at line 1019 of file sed_sediment.c.

Referenced by sed_cell_plastic_index(), and sed_type_shear_strength().

double sed_type_porosity ( const Sed_type  t  ) 

Definition at line 1223 of file sed_sediment.c.

References sed_type_void_ratio().

Referenced by sed_cell_porosity(), sed_type_dynamic_viscosity(), sed_type_porosity_max(), and sed_type_yield_strength().

double sed_type_porosity_max ( const Sed_type  t  ) 

Definition at line 1235 of file sed_sediment.c.

References sed_type_porosity().

Referenced by sed_cell_porosity_max(), and sed_type_void_ratio_max().

double sed_type_porosity_min ( const Sed_type  t  ) 

Definition at line 1229 of file sed_sediment.c.

References sed_type_void_ratio_min().

Referenced by sed_cell_porosity_min().

Sed_type sed_type_read ( FILE *  fp  ) 

Definition at line 520 of file sed_sediment.c.

References sed_type_new().

double sed_type_relative_density ( const Sed_type  t  ) 

Definition at line 1200 of file sed_sediment.c.

References sed_type_void_ratio(), sed_type_void_ratio_max(), and sed_type_void_ratio_min().

Referenced by sed_cell_relative_density(), and sed_type_friction_angle().

double sed_type_rho_grain ( const Sed_type  t  ) 

Definition at line 1009 of file sed_sediment.c.

Referenced by compact(), sakura_set_sediment_data_from_env(), sed_cell_grain_density(), sed_specific_gravity(), sed_type_density_compacted(), sed_type_rho_max(), sed_type_void_ratio(), and sed_type_water_content().

double sed_type_rho_max ( const Sed_type  t  ) 

Definition at line 1095 of file sed_sediment.c.

References sed_rho_sea_water(), sed_type_rho_grain(), and sed_type_void_ratio_min().

Referenced by compact(), and sed_cell_max_density().

double sed_type_rho_sat ( const Sed_type  t  ) 

Definition at line 1004 of file sed_sediment.c.

Referenced by compact(), inflow_set_sediment_data_from_env(), plume_centerline_deposit(), plume_width_averaged_deposit(), plume_width_averaged_deposit_num(), run_bedload(), run_plume_hypo(), sakura_set_sediment_data_from_env(), sed_get_phe(), sed_hydro_add_cell(), sed_hydro_subtract_cell(), sed_hydro_suspended_volume_flux(), sed_sediment_bedload_rho(), sed_type_density_0(), and sed_type_void_ratio().

double sed_type_sat_density ( const Sed_type  t  ) 

Sed_type sed_type_set_c_consolidation ( Sed_type  t,
double  c_v 
)

Definition at line 992 of file sed_sediment.c.

Sed_type sed_type_set_compressibility ( Sed_type  t,
double  c 
)

Definition at line 998 of file sed_sediment.c.

Sed_type sed_type_set_diff_coef ( Sed_type  t,
double  k 
)

Definition at line 972 of file sed_sediment.c.

Sed_type sed_type_set_grain_size ( Sed_type  t,
double  gz 
)

Definition at line 954 of file sed_sediment.c.

Sed_type sed_type_set_lambda ( Sed_type  t,
double  l 
)

Definition at line 978 of file sed_sediment.c.

References sed_removal_rate_to_settling_velocity().

Sed_type sed_type_set_plastic_index ( Sed_type  t,
double  pi 
)

Definition at line 960 of file sed_sediment.c.

Sed_type sed_type_set_rho_grain ( Sed_type  t,
double  rho_grain 
)

Definition at line 948 of file sed_sediment.c.

Sed_type sed_type_set_rho_sat ( Sed_type  t,
double  rho_sat 
)

Definition at line 942 of file sed_sediment.c.

Sed_type sed_type_set_settling_velocity ( Sed_type  t,
double  w 
)

Definition at line 985 of file sed_sediment.c.

References sed_settling_velocity_to_removal_rate().

Sed_type sed_type_set_void_ratio_min ( Sed_type  t,
double  void_min 
)

Definition at line 966 of file sed_sediment.c.

double sed_type_settling_velocity ( const Sed_type  t  ) 

Definition at line 1060 of file sed_sediment.c.

Referenced by get_sediment_flux(), get_time_step(), and update_bruun_zone_data().

double sed_type_shear_strength ( const Sed_type  t,
double  load 
)

Definition at line 1341 of file sed_sediment.c.

References sed_type_plastic_index().

Referenced by sed_type_shear_strength_with_data().

double sed_type_shear_strength_with_data ( const Sed_type  t,
gpointer  data 
)

Definition at line 1346 of file sed_sediment.c.

References sed_type_shear_strength().

Referenced by sed_cell_shear_strength().

Sed_size_class sed_type_size_class ( const Sed_type  t  ) 

Definition at line 1158 of file sed_sediment.c.

References sed_size_class(), and sed_type_grain_size_in_phi().

Referenced by sed_cell_new_classed(), sed_type_dynamic_viscosity(), sed_type_is_clay(), sed_type_is_mud(), sed_type_is_sand(), sed_type_is_silt(), sed_type_is_size_class(), sed_type_sum_size_classes_with_data(), and sed_type_yield_strength().

double sed_type_sum_size_classes_with_data ( Sed_type  t,
gpointer  size 
)

Definition at line 1440 of file sed_sediment.c.

References sed_type_size_class().

Referenced by sed_cell_size_classes().

double sed_type_velocity ( const Sed_type  t  ) 

Definition at line 1163 of file sed_sediment.c.

References S_VELOCITY_IN_ROCK, S_VELOCITY_IN_WATER, and sed_type_void_ratio().

Referenced by sed_cell_velocity().

double sed_type_viscosity ( const Sed_type  t  ) 

Definition at line 1169 of file sed_sediment.c.

References S_ETA_WATER, sed_type_void_ratio(), and sed_type_void_ratio_min().

Referenced by sed_cell_viscosity().

double sed_type_void_ratio ( Sed_type  t  ) 

Definition at line 1209 of file sed_sediment.c.

References sed_rho_sea_water(), sed_type_rho_grain(), and sed_type_rho_sat().

Referenced by sed_cell_void_ratio(), sed_type_permeability(), sed_type_porosity(), sed_type_relative_density(), sed_type_velocity(), sed_type_viscosity(), sed_type_void_ratio_compacted(), and sed_type_water_content().

double sed_type_void_ratio_compacted ( Sed_type  t,
gpointer  d 
)

Definition at line 1449 of file sed_sediment.c.

References sed_type_void_ratio().

Referenced by sed_type_density_compacted().

double sed_type_void_ratio_max ( Sed_type  t  ) 

Definition at line 1217 of file sed_sediment.c.

References sed_type_porosity_max().

Referenced by sed_cell_void_ratio_max(), and sed_type_relative_density().

double sed_type_void_ratio_min ( const Sed_type  t  ) 

Definition at line 1024 of file sed_sediment.c.

Referenced by sed_cell_void_ratio_min(), sed_type_porosity_min(), sed_type_relative_density(), sed_type_rho_max(), and sed_type_viscosity().

double sed_type_water_content ( const Sed_type  t  ) 

Definition at line 1256 of file sed_sediment.c.

References sed_rho_sea_water(), sed_type_rho_grain(), and sed_type_void_ratio().

gssize sed_type_write ( FILE *  fp,
Sed_type  t 
)

Definition at line 505 of file sed_sediment.c.

References eh_require.

Referenced by sed_sediment_write().

double sed_type_yield_strength ( const Sed_type  t  ) 

Definition at line 1306 of file sed_sediment.c.

References eh_require_not_reached, S_SED_TYPE_CLAY, S_SED_TYPE_SAND, S_SED_TYPE_SILT, sed_type_porosity(), and sed_type_size_class().

Referenced by sed_cell_yield_strength().


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