TheBoussinesqModel  3.2.1
 All Data Structures Files Functions Variables Typedefs Macros Pages
b_v_advection.h File Reference

Go to the source code of this file.

Functions

double F1_coefficient (long j, double velocity, double wet_vert_area)
 
double b_advection (long i)
 
double t_st_advection_operator_element (long i, DOUBLEVECTOR *eta, double cond_dirichlet)
 
double symmetric_surface_velocity (long j, double forcing)
 
double asymmetric_surface_velocity (long j, double eta_previous)
 
int update_velocity (DOUBLEVECTOR *eta)
 
int update_F1_wet_vert_area ()
 

Function Documentation

double asymmetric_surface_velocity ( long  j,
double  eta_previous 
)
Author
Emanuele Cordano
Date
October 2009
Parameters
j(long) line index

area_vert;

Definition at line 234 of file b_v_advection.c.

Referenced by b_advection(), and update_velocity().

double b_advection ( long  i)
Parameters
j- (long) index of the polygon
(global)velocity- (DOUBLEVECTOR *) eulerian velocity thourg the line
(global)wat_vert_area- (DOUBLEVECTOR *) - water vertical area over the j-th line multiplied by F1
Author
Emanuele Cordano
Date
October 2009

Definition at line 103 of file b_v_advection.c.

References asymmetric_surface_velocity(), GRID::boundary_indicator, DOUBLE_GRID::coarse, polygon_connection_attributes::connections, PARAM::dt, POLYGON::edge_indices, POLYGONVECTOR::element, polygon_connection_attribute_array::element, GRID::lines, GRID::links, LINEVECTOR::nh, POLYGONVECTOR::nh, DOUBLEVECTOR::nh, LINEVECTOR::nl, POLYGONVECTOR::nl, LONGVECTOR::nl, GRID::polygons, vertical_area_surf(), and water_surface_elevation_mean().

Referenced by time_loop().

double F1_coefficient ( long  j,
double  velocity,
double  wet_vert_area 
)
Parameters
j- (long) index of the line
velocity- (double) eulerian velocity thourg the line
wat_vert_area- (double) - water vertical area over the j-th line
Author
Emanuele Cordano
Date
October 2009

Definition at line 75 of file b_v_advection.c.

References DOUBLE_GRID::coarse, PARAM::dt, LINEVECTOR::element, LINE::length2d, GRID::lines, and PARAM::p_runoff.

Referenced by update_F1_wet_vert_area().

double symmetric_surface_velocity ( long  j,
double  forcing 
)
Author
Emanuele Cordano
Date
October 2009
Parameters
j- (long) index of the line \
eta- (DOUBLEVECTOR *) water surface elevation

Definition at line 216 of file b_v_advection.c.

References PARAM::dt, and PARAM::gravity.

Referenced by t_st_advection_operator_element(), and update_velocity().