AdH Kraken 0.0.0
Next generation Adaptive Hydraulics
Loading...
Searching...
No Matches
fe_sw2_init.c File Reference
#include "adh.h"

Functions

int fe_sw2_init (SMODEL_SUPER *sm)
 Performs any preprocessing for dependent variables in SW2 equations. For now this mainly is updating the wet/dry flags and the dirichlet conditions for dry elements. More...
 

Detailed Description

This file is the init routine for sw2 which will be called right before each Newton solve

Function Documentation

◆ fe_sw2_init()

int fe_sw2_init ( SMODEL_SUPER sm)

Performs any preprocessing for dependent variables in SW2 equations. For now this mainly is updating the wet/dry flags and the dirichlet conditions for dry elements.

Author
Mark Loveland, Ph.D.
Corey Trahan, Ph.D.
Bug:
none
Warning
none
Parameters
[in,out]sm(SMODEL_SUPER *) a super model
Note
CJT:: Label wetting and drying AND neighboring elements as wet/dry elements
CJT:: flag = 0 :: fully wet || flag = 1 :: some nodes are dry || flag = 2 :: all nodes dry