#include <HydStructures.hpp>
◆ resize()
| void openswmm::hydstruct::OrificeGroup::resize |
( |
int | n | ) |
|
Resize OrificeGroup columns while preserving existing row prefixes.
Sets count then resizes every declared vector; new shape/surface-area/effective-length entries0. 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::OrificeGroup::count = 0 |
◆ length_eff
| std::vector<double> openswmm::hydstruct::OrificeGroup::length_eff |
Equivalent length (ft) used for surface-area computation on SIDE orifices. Legacy: max(200, 2·routingStep·sqrt(g·yFull)). Pre-computed at init; constant per simulation.
◆ link_idx
| std::vector<int> openswmm::hydstruct::OrificeGroup::link_idx |
◆ shape
| std::vector<int> openswmm::hydstruct::OrificeGroup::shape |
◆ surf_area
| std::vector<double> openswmm::hydstruct::OrificeGroup::surf_area |
Most-recently-computed surface area (ft²) for scatter into node new_surf_area (matches legacy Orifice[k].surfArea).
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