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

#include <HydStructures.hpp>

Collaboration diagram for openswmm::hydstruct::OrificeGroup:

Public Member Functions

void resize (int n)
 

Public Attributes

int count = 0
 
std::vector< int > link_idx
 
std::vector< int > shape
 BOTTOM or SIDE.
 
std::vector< double > c_orifice
 Cd * sqrt(2g) * Area.
 
std::vector< double > c_weir
 Cd * L * sqrt(2g) for partial fill.
 
std::vector< double > h_crit
 Transition depth.
 
std::vector< uint8_t > has_flap
 
std::vector< double > surf_area
 
std::vector< double > length_eff
 

Member Function Documentation

◆ resize()

void openswmm::hydstruct::OrificeGroup::resize ( int  n)
Here is the caller graph for this function:

Member Data Documentation

◆ c_orifice

std::vector<double> openswmm::hydstruct::OrificeGroup::c_orifice

Cd * sqrt(2g) * Area.

◆ c_weir

std::vector<double> openswmm::hydstruct::OrificeGroup::c_weir

Cd * L * sqrt(2g) for partial fill.

◆ count

int openswmm::hydstruct::OrificeGroup::count = 0

◆ h_crit

std::vector<double> openswmm::hydstruct::OrificeGroup::h_crit

Transition depth.

◆ has_flap

std::vector<uint8_t> openswmm::hydstruct::OrificeGroup::has_flap

Flap gate (uint8_t, not bool: avoids vector<bool> bit-packing overhead in per-iteration hot loops and enables parallel-for writes without atomics).

◆ length_eff

std::vector<double> openswmm::hydstruct::OrificeGroup::length_eff

Equivalent length (ft) used for surface-area computation on SIDE orifices. Legacy: max(200, 2·routingStep·sqrt(g·yFull)). Pre-computed at init; constant per simulation.

◆ link_idx

std::vector<int> openswmm::hydstruct::OrificeGroup::link_idx

◆ shape

std::vector<int> openswmm::hydstruct::OrificeGroup::shape

BOTTOM or SIDE.

◆ surf_area

std::vector<double> openswmm::hydstruct::OrificeGroup::surf_area

Most-recently-computed surface area (ft²) for scatter into node new_surf_area (matches legacy Orifice[k].surfArea).


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