#include <HydStructures.hpp>
|
| void | resize (int n) |
| | Resize OutletGroup columns while preserving existing row prefixes.
|
| |
|
| int | count = 0 |
| |
| std::vector< int > | link_idx |
| |
| std::vector< int > | curve_idx |
| | Rating curve (-1 = power law)
|
| |
| std::vector< double > | q_coeff |
| | Power law coefficient.
|
| |
| std::vector< double > | q_expon |
| | Power law exponent.
|
| |
◆ resize()
| void openswmm::hydstruct::OutletGroup::resize |
( |
int | n | ) |
|
Resize OutletGroup columns while preserving existing row prefixes.
Sets count then resizes every declared vector; new curve index-1, coefficient0 and exponent1. 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::OutletGroup::count = 0 |
◆ curve_idx
| std::vector<int> openswmm::hydstruct::OutletGroup::curve_idx |
Rating curve (-1 = power law)
◆ link_idx
| std::vector<int> openswmm::hydstruct::OutletGroup::link_idx |
◆ q_coeff
| std::vector<double> openswmm::hydstruct::OutletGroup::q_coeff |
◆ q_expon
| std::vector<double> openswmm::hydstruct::OutletGroup::q_expon |
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