OpenSWMM Engine  6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
Loading...
Searching...
No Matches
GageData.hpp File Reference

Structure-of-Arrays (SoA) storage for rain gages. More...

#include <vector>
#include <string>
#include <cstdint>
Include dependency graph for GageData.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  openswmm::GageData
 Structure-of-Arrays storage for all rain gages. More...
 

Namespaces

namespace  openswmm
 

Enumerations

enum class  openswmm::RainSource : int8_t {
  openswmm::TIMESERIES = 0 ,
  openswmm::FILE_RAIN = 1
}
 Precipitation source type for a rain gage. More...
 
enum class  openswmm::RainFileFormat : int8_t {
  openswmm::UNKNOWN = -1 ,
  openswmm::NWS_15 = 0 ,
  openswmm::NWS_HOURLY = 1 ,
  openswmm::DSI_3240 = 2 ,
  openswmm::DSI_3260 = 3 ,
  openswmm::HLY_PRCP = 4 ,
  openswmm::STAN_PRCP = 5 ,
  openswmm::USER_CSV = 6
}
 Rain data format in an external file. More...
 

Detailed Description

Structure-of-Arrays (SoA) storage for rain gages.

Replaces the global Gage[] array and TGage struct from src/solver/objects.h. Rain gages provide precipitation input to subcatchments.

Precipitation sources:

  • TIMESERIES — reads from an in-file [TIMESERIES] table
  • FILE — reads from an external rain file (possibly multi-column CSV)
See also
Legacy reference: src/solver/objects.h — TGage (line ~90)
Legacy reference: src/solver/globals.h — Gage[], Ngages
Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
License\n MIT License