![]() |
AdH Kraken 0.0.0
Next generation Adaptive Hydraulics
|
#include "adh.h"
Functions | |
void | smodel_alloc_init_array (SMODEL **mod, int *phys, int *physInit, int nmods, int *nvars) |
Allocates and array SMODEL structures. More... | |
void | smodel_alloc_init (SMODEL *m, int phys, int physInit, int nvar) |
Allocates an SMODEL structure. More... | |
This file collects methods to allocate an SMODEL structure
void smodel_alloc_init | ( | SMODEL * | m, |
int | phys, | ||
int | physInit, | ||
int | nvar | ||
) |
void smodel_alloc_init_array | ( | SMODEL ** | mod, |
int * | phys, | ||
int * | physInit, | ||
int | nmods, | ||
int * | nvars | ||
) |
Allocates and array SMODEL structures.
[in,out] | mod | (SMODEL **) the struct double pointer |
[in] | phys | (int) a model ID for elemental residual functions, etc. |
[in] | phys_init | (int) a model ID for elemental body initialization |
[in] | nmods | (int) the number of SMODELs to allocate |
[in] | nvars | (int *) the number of variables in each submodel |