![]() |
OpenSWMM Engine
6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
|
Static utility class for hot start file operations. More...
#include <HotStartManager.hpp>
Public Attributes | |
| std::vector< std::string > | species |
| int | n_subcatch = 0 |
| int | n_landuses = -1 |
| -1: the file has no surface block | |
| std::vector< double > | washoff |
| [sc * ns + s] washoff concentration | |
| std::vector< double > | ponded |
| [sc * ns + s] ponded mass | |
| std::vector< double > | buildup |
| [(sc * nlu + lu) * ns + s], per normalizer unit | |
Static utility class for hot start file operations.
All operations on the binary file are handled here. The HotStartFile struct is the data carrier; HotStartManager provides the I/O logic.
Reaction species carried after legacy's .hsf routing records.
Legacy hotstart.c stops reading after the link records, so the trailer is invisible to it. Network concentrations are applied as the file is read; the surface block waits here until msxsurf::initState() has sized the store (apply_species_surface()). Species are matched by name.
| std::vector<double> openswmm::LegacySpeciesTrailer::buildup |
[(sc * nlu + lu) * ns + s], per normalizer unit
| int openswmm::LegacySpeciesTrailer::n_landuses = -1 |
-1: the file has no surface block
| int openswmm::LegacySpeciesTrailer::n_subcatch = 0 |
| std::vector<double> openswmm::LegacySpeciesTrailer::ponded |
[sc * ns + s] ponded mass
| std::vector<std::string> openswmm::LegacySpeciesTrailer::species |
| std::vector<double> openswmm::LegacySpeciesTrailer::washoff |
[sc * ns + s] washoff concentration