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

#include <glib.h>
#include <utils/utils.h>
#include <sed/sed_sedflux.h>

Go to the source code of this file.

Defines

#define BIO_H
#define BIO_PROGRAM_NAME   "bio"
#define BIO_MAJOR_VERSION_S   "0"
#define BIO_MINOR_VERSION_S   "1"
#define BIO_MICRO_VERSION_S   "0"
#define BIO_MAJOR_VERSION   (0)
#define BIO_MINOR_VERSION   (1)
#define BIO_MICRO_VERSION   (0)
#define BIO_ERROR   bio_error_quark()

Enumerations

enum  Bio_error { BIO_ERROR_BAD_PARAM, BIO_ERROR_BAD_ALGORITHM }
enum  Bio_method { BIO_METHOD_DIFFUSION, BIO_METHOD_CONVEYOR, BIO_METHOD_UNKNOWN }

Functions

GQuark bio_error_quark (void)
GOptionGroup * bio_get_option_group (void)
void bioturbate (double **col, gint n_grains, gint n_layers, double dz, double k, double total_t)
double ** bio_diffuse_layers (double *t, gint n_layers, double dz, double k, double duration)
double ** bio_conveyor_layers (double *t, gint n_layers, double dz, double r, double duration)

Variables

Sed_proc_init bio_init
Sed_proc_run bio_run
Sed_proc_destroy bio_destroy


Define Documentation

#define BIO_ERROR   bio_error_quark()

Definition at line 23 of file bio.h.

Referenced by bio_init().

#define BIO_H

Definition at line 2 of file bio.h.

#define BIO_MAJOR_VERSION   (0)

Definition at line 12 of file bio.h.

Referenced by main().

#define BIO_MAJOR_VERSION_S   "0"

Definition at line 9 of file bio.h.

#define BIO_MICRO_VERSION   (0)

Definition at line 14 of file bio.h.

Referenced by main().

#define BIO_MICRO_VERSION_S   "0"

Definition at line 11 of file bio.h.

#define BIO_MINOR_VERSION   (1)

Definition at line 13 of file bio.h.

Referenced by main().

#define BIO_MINOR_VERSION_S   "1"

Definition at line 10 of file bio.h.

#define BIO_PROGRAM_NAME   "bio"

Definition at line 8 of file bio.h.

Referenced by main().


Enumeration Type Documentation

enum Bio_error

Enumerator:
BIO_ERROR_BAD_PARAM 
BIO_ERROR_BAD_ALGORITHM 

Definition at line 16 of file bio.h.

enum Bio_method

Enumerator:
BIO_METHOD_DIFFUSION 
BIO_METHOD_CONVEYOR 
BIO_METHOD_UNKNOWN 

Definition at line 26 of file bio.h.


Function Documentation

double** bio_conveyor_layers ( double *  t,
gint  n_layers,
double  dz,
double  r,
double  duration 
)

Definition at line 83 of file bio.c.

References eh_dbl_array_dup(), eh_dbl_array_sum(), eh_new, eh_new0, and eh_require.

Referenced by main(), and sed_column_bioturbate().

double** bio_diffuse_layers ( double *  t,
gint  n_layers,
double  dz,
double  k,
double  duration 
)

Definition at line 56 of file bio.c.

References diffuse_col(), eh_new, and eh_new0.

Referenced by main(), and sed_column_bioturbate().

GQuark bio_error_quark ( void   ) 

Definition at line 8 of file bio.c.

GOptionGroup* bio_get_option_group ( void   ) 

Definition at line 38 of file bio_sed_interface.c.

Referenced by sedflux_parse_command_line().

void bioturbate ( double **  col,
gint  n_grains,
gint  n_layers,
double  dz,
double  k,
double  total_t 
)

Definition at line 14 of file bio.c.

References diffuse_col(), and eh_require.


Variable Documentation

Sed_proc_destroy bio_destroy

Definition at line 42 of file bio.h.

Sed_proc_init bio_init

Definition at line 40 of file bio.h.

Sed_proc_run bio_run

Definition at line 41 of file bio.h.


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