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

Functions

int no_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 when no init is used

Function Documentation

◆ no_init()

int no_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