SoA parameter block for all links of one cross-section shape.
More...
#include <XSectBatch.hpp>
|
| void | resize (int n) |
| | Resize all arrays to n elements.
|
| |
SoA parameter block for all links of one cross-section shape.
All arrays have size count. The link_idx array maps each position back to the original link index in SimulationContext so results can be scattered back to the global arrays.
Parameter arrays are populated once at initialisation from the per-link XSectParams and do not change during simulation.
◆ resize()
| void openswmm::ShapeGroup::resize |
( |
int |
n | ) |
|
Resize all arrays to n elements.
◆ a_bot
| std::vector<double> openswmm::ShapeGroup::a_bot |
◆ a_full
| std::vector<double> openswmm::ShapeGroup::a_full |
◆ count
| int openswmm::ShapeGroup::count = 0 |
◆ link_idx
| std::vector<int> openswmm::ShapeGroup::link_idx |
◆ r_bot
| std::vector<double> openswmm::ShapeGroup::r_bot |
◆ r_full
| std::vector<double> openswmm::ShapeGroup::r_full |
◆ s_bot
| std::vector<double> openswmm::ShapeGroup::s_bot |
◆ s_full
| std::vector<double> openswmm::ShapeGroup::s_full |
◆ shape
◆ w_max
| std::vector<double> openswmm::ShapeGroup::w_max |
◆ y_bot
| std::vector<double> openswmm::ShapeGroup::y_bot |
◆ y_full
| std::vector<double> openswmm::ShapeGroup::y_full |
The documentation for this struct was generated from the following files:
- /home/runner/work/openswmm.engine/openswmm.engine/src/engine/hydraulics/XSectBatch.hpp
- /home/runner/work/openswmm.engine/openswmm.engine/src/engine/hydraulics/XSectBatch.cpp