OpenSWMM Engine  6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
openswmm::LegacySpeciesTrailer Struct Reference

Static utility class for hot start file operations. More...

#include <HotStartManager.hpp>

Collaboration diagram for openswmm::LegacySpeciesTrailer:

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
 

Detailed Description

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.

Member Data Documentation

◆ buildup

std::vector<double> openswmm::LegacySpeciesTrailer::buildup

[(sc * nlu + lu) * ns + s], per normalizer unit

◆ n_landuses

int openswmm::LegacySpeciesTrailer::n_landuses = -1

-1: the file has no surface block

◆ n_subcatch

int openswmm::LegacySpeciesTrailer::n_subcatch = 0

◆ ponded

std::vector<double> openswmm::LegacySpeciesTrailer::ponded

[sc * ns + s] ponded mass

◆ species

std::vector<std::string> openswmm::LegacySpeciesTrailer::species

◆ washoff

std::vector<double> openswmm::LegacySpeciesTrailer::washoff

[sc * ns + s] washoff concentration


The documentation for this struct was generated from the following file: