EPANET  3.0
EPANET Development Project
Public Member Functions | List of all members
Epanet::Project Class Reference

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 ()
 
NetworkgetNetwork ()
 

Detailed Description

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.


The documentation for this class was generated from the following files: