27 #include "Output/outputfile.h" 50 int load(
const char* fname);
51 int save(
const char* fname);
54 int initSolver(
bool initFlows);
55 int runSolver(
int* t);
56 int advanceSolver(
int* dt);
58 int openOutput(
const char* fname);
61 int openReport(
const char* fname);
63 void writeResults(
int t);
66 void writeMsg(
const std::string& msg);
67 void writeMsgLog(std::ostream& out);
69 Network* getNetwork() {
return &network; }
77 std::string inpFileName;
78 std::string outFileName;
79 std::string tmpFileName;
80 std::string rptFileName;
81 std::ofstream rptFile;
86 bool qualEngineOpened;
87 bool outputFileOpened;
88 bool solverInitialized;
91 void finalizeSolver();
Describes the HydEngine class.
Definition: project.cpp:26
Describes the QualEngine class.
Describes the Network class.
Simulates extended period water quality in a network.
Definition: qualengine.h:28
Encapsulates a pipe network and its simulation engines.
Definition: project.h:43
Simulates extended period hydraulics.
Definition: hydengine.h:25
Manages the writing and reading of analysis results to a binary file.
Definition: outputfile.h:30
Contains the data elements that describe a pipe network.
Definition: network.h:41