#include <QualityData.hpp>
|
| void | resize (int nlu, int npoll) |
| | Replace the land-use-major pollutant parameter matrix.
|
| |
| void | shrink_to_fit () |
| | Request capacity reduction for the owned parameter columns.
|
| |
◆ resize()
| void openswmm::BuildupData::resize |
( |
int | nlu, |
|
|
int | npoll ) |
|
inline |
Replace the land-use-major pollutant parameter matrix.
Stores counts then sets function NONE, coefficients zero and normalizer PER_AREA. Discards existing parameters; no negative/overflow checks or rollback on allocation failure.
- Parameters
-
| [in] | nlu | Nonnegative land-use count. |
| [in] | npoll | Nonnegative pollutants per land use; size_t product must fit. |
◆ shrink_to_fit()
| void openswmm::BuildupData::shrink_to_fit |
( |
| ) |
|
|
inline |
Request capacity reduction for the owned parameter columns.
Preserves sizes/values. Standard vector requests need not reduce capacity and may allocate/throw; any reallocation invalidates borrowed elements.
◆ coeff1
| std::vector<double> openswmm::BuildupData::coeff1 |
◆ coeff2
| std::vector<double> openswmm::BuildupData::coeff2 |
◆ coeff3
| std::vector<double> openswmm::BuildupData::coeff3 |
◆ func_type
| std::vector<int> openswmm::BuildupData::func_type |
Index: [landuse * n_pollutants + pollutant].
0=NONE,1=POW,2=EXP,3=SAT,4=EXT
◆ n_landuses
| int openswmm::BuildupData::n_landuses = 0 |
◆ n_pollutants
| int openswmm::BuildupData::n_pollutants = 0 |
◆ normalizer
| std::vector<int> openswmm::BuildupData::normalizer |
The documentation for this struct was generated from the following file:
- /home/runner/work/openswmm.engine/openswmm.engine/src/engine/data/QualityData.hpp