Adding leakage model
This commit is contained in:
19
src/funcs.h
19
src/funcs.h
@@ -7,7 +7,7 @@
|
||||
Authors: see AUTHORS
|
||||
Copyright: see AUTHORS
|
||||
License: see LICENSE
|
||||
Last Updated: 09/28/2023
|
||||
Last Updated: 06/26/2024
|
||||
******************************************************************************
|
||||
*/
|
||||
#ifndef FUNCS_H
|
||||
@@ -100,6 +100,7 @@ int controldata(Project *);
|
||||
int energydata(Project *);
|
||||
int sourcedata(Project *);
|
||||
int emitterdata(Project *);
|
||||
int leakagedata(Project *);
|
||||
int qualdata(Project *);
|
||||
int reactdata(Project *);
|
||||
int mixingdata(Project *);
|
||||
@@ -142,6 +143,7 @@ void writecontrolaction(Project *, int, int);
|
||||
void writeruleaction(Project *, int, char *);
|
||||
int writehydwarn(Project *, int,double);
|
||||
void writehyderr(Project *, int);
|
||||
void writeflowbalance(Project *);
|
||||
void writemassbalance(Project *);
|
||||
void writetime(Project *, char *);
|
||||
char *clocktime(char *, long);
|
||||
@@ -195,4 +197,19 @@ int savefinaloutput(Project *);
|
||||
|
||||
int saveinpfile(Project *, const char *);
|
||||
|
||||
// ------- LEAKAGE.C --------------------
|
||||
|
||||
int openleakage(Project *);
|
||||
void closeleakage(Project *);
|
||||
double findlinkleakage(Project *, int);
|
||||
void leakagecoeffs(Project *);
|
||||
double leakageflowchange(Project *, int);
|
||||
int leakagehasconverged(Project *);
|
||||
|
||||
// ------- FLOWBALANCE.C-----------------
|
||||
|
||||
void startflowbalance(Project *);
|
||||
void updateflowbalance(Project *, long);
|
||||
void endflowbalance(Project *);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user