![]() |
AdH Kraken 0.0.0
Next generation Adaptive Hydraulics
|
#include "adh.h"
Functions | |
int | fe_sw2_bc_flapu (SMODEL_SUPER *mod, double *elem_rhs, int ie, double perturbation, int perturb_node, int perturb_var, int perturb_sign, int DEBUG) |
Computes the 1D element residual for the SW-2D model. More... | |
This file collections functions responsible for the 2D shallow water boundary contributions to the elemental residual.
int fe_sw2_bc_flapu | ( | SMODEL_SUPER * | mod, |
double * | elem_rhs, | ||
int | ie, | ||
double | perturbation, | ||
int | perturb_node, | ||
int | perturb_var, | ||
int | perturb_sign, | ||
int | DEBUG | ||
) |
Computes the 1D element residual for the SW-2D model.
[out] | elem_rhs | the 1D elemental residual array |
[in] | mod | a pointer to the model struct |
[in] | ie | the elemental id |
[in] | pertubation | the Newton pertubation |
[in] | perturb_node | the node to be perturbed |
[in] | perturb_var | the variable to be perturbed |
[in] | perturb_sign | the direction of Newton perturbation |
[in] | DEBUG | a debug flag |
Integrates the weak, discrete outflow boundary terms:
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++