EPANET  3.0
EPANET Development Project
reservoir.h
Go to the documentation of this file.
1 /* EPANET 3
2  *
3  * Copyright (c) 2016 Open Water Analytics
4  * Licensed under the terms of the MIT License (see the LICENSE file for details).
5  *
6  */
7 
10 
11 #ifndef RESERVOIR_H_
12 #define RESERVOIR_H_
13 
14 #include "Elements/node.h"
15 
16 #include <string>
17 
18 class Network;
19 class Pattern;
20 
26 
27 class Reservoir: public Node
28 {
29  public:
30 
31  // Constructor/Destructor
32  Reservoir(std::string name_);
33  ~Reservoir();
34 
35  // Methods
36  int type() { return Node::RESERVOIR; }
37  void convertUnits(Network* nw);
38  void setFixedGrade();
39 
40  // Properties
42 };
43 
44 #endif
Describes the Node class.
A connection point between links in a network.
Definition: node.h:30
A fixed head Node with no storage volume.
Definition: reservoir.h:27
Pattern * headPattern
time pattern for reservoir&#39;s head
Definition: reservoir.h:41
A set of multiplier factors associated with points in time.
Definition: pattern.h:29
Contains the data elements that describe a pipe network.
Definition: network.h:41