#include <HydStructures.hpp>
|
| void | resize (int n) |
| | Resize PumpGroup columns while preserving existing row prefixes.
|
| |
|
| int | count = 0 |
| |
| std::vector< int > | link_idx |
| | Global link index.
|
| |
| std::vector< int > | curve_idx |
| | Pump curve table index.
|
| |
| std::vector< int > | curve_type |
| | Pump type (1-5, 6=ideal)
|
| |
| std::vector< double > | speed |
| | Current speed setting [0-1].
|
| |
| std::vector< double > | y_on |
| | Startup depth.
|
| |
| std::vector< double > | y_off |
| | Shutoff depth.
|
| |
◆ resize()
| void openswmm::hydstruct::PumpGroup::resize |
( |
int | n | ) |
|
Resize PumpGroup columns while preserving existing row prefixes.
Sets count then resizes every declared vector; new curve index-1, curve type0, speed1 and thresholds0. Link indices value-initialize on growth. Allocation may leave partial resizing and invalidate borrowed element views.
- Parameters
-
| [in] | n | Nonnegative count; negative is unchecked before size_t conversion. |
◆ count
| int openswmm::hydstruct::PumpGroup::count = 0 |
◆ curve_idx
| std::vector<int> openswmm::hydstruct::PumpGroup::curve_idx |
◆ curve_type
| std::vector<int> openswmm::hydstruct::PumpGroup::curve_type |
◆ link_idx
| std::vector<int> openswmm::hydstruct::PumpGroup::link_idx |
◆ speed
| std::vector<double> openswmm::hydstruct::PumpGroup::speed |
Current speed setting [0-1].
◆ y_off
| std::vector<double> openswmm::hydstruct::PumpGroup::y_off |
◆ y_on
| std::vector<double> openswmm::hydstruct::PumpGroup::y_on |
The documentation for this struct was generated from the following files:
- /home/runner/work/openswmm.engine/openswmm.engine/src/engine/hydraulics/HydStructures.hpp
- /home/runner/work/openswmm.engine/openswmm.engine/src/engine/hydraulics/HydStructures.cpp