Exfil file functions.
More...
|
| int | exfil_readStorageParams (int k, char *tok[], int ntoks, int n) |
| | Reads exfiltration parameters from a line of input data.
|
| |
| void | exfil_initState (int k) |
| | Initializes exfiltration parameters.
|
| |
| double | exfil_getLoss (TExfil *exfil, double tStep, double depth, double area) |
| | Gets exfiltration loss rate.
|
| |
Exfil file functions.
◆ exfil_getLoss()
| double exfil_getLoss |
( |
TExfil * | exfil, |
|
|
double | tStep, |
|
|
double | depth, |
|
|
double | area ) |
Gets exfiltration loss rate.
- Parameters
-
| exfil | Pointer to exfiltration object |
| tStep | Time step |
| depth | Depth of water above exfiltration layer |
| area | Area of exfiltration layer |
- Returns
- Exfiltration loss rate
◆ exfil_initState()
| void exfil_initState |
( |
int | k | ) |
|
Initializes exfiltration parameters.
- Parameters
-
| k | Index of exfiltration object in project's object list |
◆ exfil_readStorageParams()
| int exfil_readStorageParams |
( |
int | k, |
|
|
char * | tok[], |
|
|
int | ntoks, |
|
|
int | n ) |
Reads exfiltration parameters from a line of input data.
- Parameters
-
| k | Index of line's keyword in project's keyword list |
| tok | Array of string tokens |
| ntoks | Number of tokens |
| n | Number of exfiltration parameters |
- Returns
- Error code