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

#include <LinkSubtypes.hpp>

Collaboration diagram for openswmm::WeirData:

Public Member Functions

int count () const noexcept
 
void clear () noexcept
 
void reserve (int n)
 
int add_default (int i)
 
void erase_at (int r)
 

Public Attributes

std::vector< int > link_idx
 
std::vector< double > weir_type
 TRANSVERSE/SIDEFLOW/V-NOTCH/TRAPEZOIDAL (legacy param1)
 
std::vector< double > cd
 Discharge coefficient.
 
std::vector< double > end_contractions
 End contractions (legacy param2)
 
std::vector< double > crest_height
 
std::vector< double > cd2
 End-section discharge coeff (legacy cDisch2)
 
std::vector< uint8_t > can_surcharge
 Surcharge YES/NO (legacy Weir.canSurcharge, default YES)
 

Member Function Documentation

◆ add_default()

int openswmm::WeirData::add_default ( int i)
inline

◆ clear()

void openswmm::WeirData::clear ( )
inlinenoexcept

◆ count()

int openswmm::WeirData::count ( ) const
inlinenoexcept

◆ erase_at()

void openswmm::WeirData::erase_at ( int r)
inline

◆ reserve()

void openswmm::WeirData::reserve ( int n)
inline

Member Data Documentation

◆ can_surcharge

std::vector<uint8_t> openswmm::WeirData::can_surcharge

Surcharge YES/NO (legacy Weir.canSurcharge, default YES)

◆ cd

std::vector<double> openswmm::WeirData::cd

Discharge coefficient.

◆ cd2

std::vector<double> openswmm::WeirData::cd2

End-section discharge coeff (legacy cDisch2)

◆ crest_height

std::vector<double> openswmm::WeirData::crest_height

◆ end_contractions

std::vector<double> openswmm::WeirData::end_contractions

End contractions (legacy param2)

◆ link_idx

std::vector<int> openswmm::WeirData::link_idx

◆ weir_type

std::vector<double> openswmm::WeirData::weir_type

TRANSVERSE/SIDEFLOW/V-NOTCH/TRAPEZOIDAL (legacy param1)


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