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

Functions

void sdvar_position_init (SDVAR_POSITION *dp)
 Initializes a SDVAR instance. More...
 
void sdvar_position_printScreen (SDVAR_POSITION *dp)
 
void sdvar_alloc_init (SDVAR *sdvar, int nnode, int n_dvar, int n_dvar_elem_dbl, int n_dvar_elem_int, int nnode_dvar, int nelem_dvar)
 Allocates and initializes a SDVAR dependent variable structure. More...
 

Detailed Description

This file collects methods of the SCOVERAGE structure for coverages

Function Documentation

◆ sdvar_alloc_init()

void sdvar_alloc_init ( SDVAR sdvar,
int  nnode,
int  n_dvar,
int  n_dvar_elem_dbl,
int  n_dvar_elem_int,
int  nnode_dvar,
int  nelem_dvar 
)

Allocates and initializes a SDVAR dependent variable structure.

Author
Corey Trahan, Ph.D.
Bug:
none
Warning
none
Parameters
[in,out]sdvar(SDVAR *) a pointer to a SDVAR structure
[in]nnode(int) number of active nodes
[in]n_dvar(int) number of active dependent variables
[in]n_dvar_elem_dbl(int) the number of active elemental double variables
[in]n_dvar_elem_int(int) the number of active elemental integer variables
[in]nnode_dvar(int) the number of active nodes
[in]nelem_dvar(int) the number of active elements
Note
CJT - some of these variables are internally needed, others are turned on by user in paramter file, so it must be read first

◆ sdvar_position_init()

void sdvar_position_init ( SDVAR_POSITION dp)

Initializes a SDVAR instance.

Author
Corey Trahan, Ph.D.
Bug:
none
Warning
none
Parameters
[in,out]dp(SDVAR_POSITION *) a pointer to a SDVAR_POSITION structure
Note
CJT - lists all possible AdH variables
CJT - some of these variables are internally needed, others are turned on by user in paramter file, so it must be read first