![]() |
AdH Kraken 0.0.0
Next generation Adaptive Hydraulics
|
#include "adh.h"
Functions | |
double | fe_sw2_wet_dry_factor (SVECT *x, double *h, double djac) |
Returns the wet-dry integration factor :: essentially a stripped down version of fe_sw2_wet_dry_wrapper. More... | |
double | fe_sw2_wet_dry_wrapper (double *elem_rhs, SVECT *x, double *h, SVECT2D *grad_phi, SVECT2D *v, SVECT2D *v_wet_dry, double *f, double *f_wet_dry, double djac, int redistribute_flag, int DEBUG, double *vars, void(*fe_sw_func)(SVECT *elem_nds, double *elem_head, SVECT2D *grad_phi, SVECT2D *v, SVECT2D *v_wet_dry, double *f, double *f_wet_dry, double djac, double *vars, double *elem_rhs)) |
Wet/Dry wrapper for the 2D depth-averaged continuity equation temporal integral. More... | |
double | fe_sw2_wet_dry_wrapper_1d (double *elem_rhs, SVECT *x, double *h, SVECT2D *nrml, SVECT2D *v, SVECT2D *v_wet_dry, double *f, double *f_wet_dry, double djac, int redistribute_flag, int DEBUG, double *vars, void(*fe_sw_func)(SVECT *elem_nds, double *elem_head, SVECT2D *grad_phi, SVECT2D *v, SVECT2D *v_wet_dry, double *f, double *f_wet_dry, double djac, double *vars, double *elem_rhs)) |
Wet/Dry wrapper for the 2D depth-averaged continuity equation temporal integral. More... | |
This file collects the 2D shallow water wet/dry wrapper. All function arguements assumed to be consistent with function prototype.
double fe_sw2_wet_dry_factor | ( | SVECT * | x, |
double * | h, | ||
double | djac | ||
) |
Returns the wet-dry integration factor :: essentially a stripped down version of fe_sw2_wet_dry_wrapper.
[in] | (required) | x the 2d element nodal coordinates |
[in] | (required) | h the 2d element nodal depths - this is wet-dry averaged |
[in] | (required) | djac the 2d element area |
double fe_sw2_wet_dry_wrapper | ( | double * | elem_rhs, |
SVECT * | x, | ||
double * | h, | ||
SVECT2D * | grad_phi, | ||
SVECT2D * | v, | ||
SVECT2D * | v_wet_dry, | ||
double * | f, | ||
double * | f_wet_dry, | ||
double | djac, | ||
int | redistribute_flag, | ||
int | DEBUG, | ||
double * | vars, | ||
void(*)(SVECT *elem_nds, double *elem_head, SVECT2D *grad_phi, SVECT2D *v, SVECT2D *v_wet_dry, double *f, double *f_wet_dry, double djac, double *vars, double *elem_rhs) | fe_sw_func | ||
) |
Wet/Dry wrapper for the 2D depth-averaged continuity equation temporal integral.
[in,out] | elem_rhs | the 2D elemental residual array contribution with wet/dry inclusion |
[in] | (required) | x the 2d element nodal coordinates |
[in] | (required) | h the 2d element nodal depths - this is wet-dry averaged |
[in] | (optional) | grad_phi the elemental shape function gradients in configuration space, NULL if not included |
[in] | (optional) | v the element nodal velocities, NULL if not included |
[in] | (optional) | grad_z the elemental bathymetry gradients, NULL if not included |
[in] | (optional) | f generic scalar function which is integrated over the whole element |
[in] | (optional) | f_wet_dry a generic scalar function which is wet-dry integrated |
[in] | (required) | djac the 2d element area |
[in] | (required) | dt timestep |
[in] | (required) | c an integration constant |
[in] | (required) | void(*fe_sw_func) a function that performs the consisitent mass integration |
double fe_sw2_wet_dry_wrapper_1d | ( | double * | elem_rhs, |
SVECT * | x, | ||
double * | h, | ||
SVECT2D * | nrml, | ||
SVECT2D * | v, | ||
SVECT2D * | v_wet_dry, | ||
double * | f, | ||
double * | f_wet_dry, | ||
double | djac, | ||
int | redistribute_flag, | ||
int | DEBUG, | ||
double * | vars, | ||
void(*)(SVECT *elem_nds, double *elem_head, SVECT2D *grad_phi, SVECT2D *v, SVECT2D *v_wet_dry, double *f, double *f_wet_dry, double djac, double *vars, double *elem_rhs) | fe_sw_func | ||
) |
Wet/Dry wrapper for the 2D depth-averaged continuity equation temporal integral.
[in,out] | elem_rhs | the 2D elemental residual array contribution with wet/dry inclusion |
[in] | (required) | x the 2d element nodal coordinates |
[in] | (required) | h the 2d element nodal depths - this is wet-dry averaged |
[in] | (optional) | grad_phi the elemental shape function gradients in configuration space, NULL if not included |
[in] | (optional) | v the element nodal velocities, NULL if not included |
[in] | (optional) | grad_z the elemental bathymetry gradients, NULL if not included |
[in] | (optional) | f generic scalar function which is integrated over the whole element |
[in] | (optional) | f_wet_dry a generic scalar function which is wet-dry integrated |
[in] | (required) | djac the 2d element area |
[in] | (required) | dt timestep |
[in] | (required) | c an integration constant |
[in] | (required) | void(*fe_sw_func) a function that performs the consisitent mass integration |