AdH Kraken 0.0.0
Next generation Adaptive Hydraulics
Loading...
Searching...
No Matches
residual.h
1#ifndef _H_RESIDUAL_
2#define _H_RESIDUAL_
3
4
6void add_replace_elem_rhs(double *elem_rhs, double *eq_rhs, int elem_nvars, int eq_nvars, int *eq_vars, int nnodes, double scale);
7void load_global_resid(double *residual, double *elem_rhs, int nnodes, int elem_nvars, int *local_dofs);
8
9#endif
void assemble_residual(SMODEL_SUPER *sm, SGRID *grid)
This function assembles the global residual vector using elemental resid routines.
Definition: assemble_residual.c:18
void load_global_resid(double *residual, double *elem_rhs, int nnodes, int elem_nvars, int *local_dofs)
This function takes an elemental residual and loads into the global residual vector.
Definition: assemble_residual.c:217
void add_replace_elem_rhs(double *elem_rhs, double *eq_rhs, int elem_nvars, int eq_nvars, int *eq_vars, int nnodes, double scale)
This function adds the residual of one PDE into the elemental residual.
Definition: assemble_residual.c:172
Definition: sgrid.h:28
Definition: smodel_super.h:7