/Users/huttone/Devel/sedflux-new/sedflux/trunk/ew/squall/squall.h

Go to the documentation of this file.
00001 //---
00002 //
00003 // This file is part of sedflux.
00004 //
00005 // sedflux is free software; you can redistribute it and/or modify
00006 // it under the terms of the GNU General Public License as published by
00007 // the Free Software Foundation; either version 2 of the License, or
00008 // (at your option) any later version.
00009 //
00010 // sedflux is distributed in the hope that it will be useful,
00011 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00012 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013 // GNU General Public License for more details.
00014 //
00015 // You should have received a copy of the GNU General Public License
00016 // along with sedflux; if not, write to the Free Software
00017 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00018 //
00019 //---
00020 
00021 #ifndef _SQUALL_H_
00022 # define _SQUALL_H_
00023    
00024 # include <utils/utils.h>
00025 # include <sed/sed_sedflux.h>
00026    
00027 # define SQUALL_DEFAULT_C_E       (.2)
00028 //# define SQUALL_DEFAULT_C_V       (.05)
00029 # define SQUALL_DEFAULT_C_V       (0.05)
00030 # define SQUALL_DEFAULT_M         (3.)
00031 # define SQUALL_DEFAULT_A         (2.)
00032 # define SQUALL_DEFAULT_Z_L       (1)
00033 # define SQUALL_DEFAULT_C_H       (1.)
00034 # define SQUALL_DEFAULT_ALPHA_REF (.005)
00035 
00036 void write_output_file( const char *file , Sed_cube p );
00037 gboolean squall( Sed_cube , double );
00038 double get_erosion_rate_from_profile( Sed_cube p , int i ,
00039                                       double h_c  , double h_w );
00040 //                                      int i_c        , int i_w );
00041 double get_shoreface_slope( Sed_cube p , int i_c , int i_w );
00042 double get_erosion_rate( double h        , double h_w    , double h_c ,
00043                          double alpha_sf , double h_wave , double h_wave_fair );
00044 double get_erosion_efficiency( double h , double h_w , double h_c );
00045 double get_coastal_dissipation( double alpha_sf );
00046 double get_coastal_wave_energy( double wave_height_actual ,
00047                                 double wave_height_fair );
00048 double get_wave_base( double wave_length );
00049 double get_breaking_wave_base( double wave_height );
00050 double get_deep_water_wave_base( double wave_height );
00051 int *get_zone_boundaries( Sed_cube p , double h_w , double h_c );
00052 double get_travel_dist( double grain_size_in_m , double depth , double dx );
00053 double get_non_dim_travel_dist( double grain_size_in_m );
00054 double *get_moveable_grains( double water_depth ,
00055                              double wave_height ,
00056                              double wave_period ,
00057                              Sed_sediment sed   ,
00058                              double *is_moveable );
00059 
00060 #endif
00061 

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