|
EPANET
3.0
EPANET Development Project
|
Contains the data elements that describe a pipe network. More...
#include <network.h>
Public Member Functions | |
| void | clear () |
| bool | addElement (Element::ElementType eType, int subType, std::string name) |
| int | count (Element::ElementType eType) |
| int | indexOf (Element::ElementType eType, const std::string &name) |
| int | option (Options::IndexOption type) |
| double | option (Options::ValueOption type) |
| long | option (Options::TimeOption type) |
| std::string | option (Options::StringOption type) |
| Node * | node (const std::string &name) |
| Link * | link (const std::string &name) |
| Pattern * | pattern (const std::string &name) |
| Curve * | curve (const std::string &name) |
| Control * | control (const std::string &name) |
| Node * | node (const int index) |
| Link * | link (const int index) |
| Pattern * | pattern (const int index) |
| Curve * | curve (const int index) |
| Control * | control (const int index) |
| bool | createHeadLossModel () |
| bool | createDemandModel () |
| bool | createLeakageModel () |
| bool | createQualModel () |
| double | ucf (Units::Quantity quantity) |
| std::string | getUnits (Units::Quantity quantity) |
| void | convertUnits () |
| void | addTitleLine (std::string line) |
| void | writeTitle (std::ostream &out) |
Public Attributes | |
| Graph | graph |
| std::vector< std::string > | title |
| descriptive title for the network | |
| std::vector< Node * > | nodes |
| collection of node objects | |
| std::vector< Link * > | links |
| collection of link objects | |
| std::vector< Curve * > | curves |
| collection of data curve objects | |
| std::vector< Pattern * > | patterns |
| collection of time pattern objects | |
| std::vector< Control * > | controls |
| collection of control rules | |
| Units | units |
| unit conversion factors | |
| Options | options |
| analysis options | |
| QualBalance | qualBalance |
| water quality mass balance | |
| std::ostringstream | msgLog |
| status message log. | |
| HeadLossModel * | headLossModel |
| pipe head loss model | |
| DemandModel * | demandModel |
| nodal demand model | |
| LeakageModel * | leakageModel |
| pipe leakage model | |
| QualModel * | qualModel |
| water quality model | |
Contains the data elements that describe a pipe network.
A Network object contains collections of the individual elements belonging to the pipe network being analyzed by a Project.
1.8.11