EPANET
3.0
EPANET Development Project
|
Encapsulates a pipe network and its simulation engines. More...
#include <project.h>
Public Member Functions | |
int | load (const char *fname) |
int | save (const char *fname) |
void | clear () |
int | initSolver (bool initFlows) |
int | runSolver (int *t) |
int | advanceSolver (int *dt) |
int | openOutput (const char *fname) |
int | saveOutput () |
int | openReport (const char *fname) |
void | writeSummary () |
void | writeResults (int t) |
int | writeReport () |
void | writeMsg (const std::string &msg) |
void | writeMsgLog (std::ostream &out) |
void | writeMsgLog () |
Network * | getNetwork () |
Encapsulates a pipe network and its simulation engines.
A project contains a description of the pipe network being analyzed and the engines and methods used to carry out the analysis. All methods applied to a project and its components can be done in a thread-safe manner.