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

One infiltration specification: method + positional parameters + destination. More...

#include <Infil2D.hpp>

Collaboration diagram for openswmm::twoD::Infil2DRow:

Public Attributes

bool has_method = false
 
InfilModel method = InfilModel::HORTON
 
double p [kInfil2DMaxParams] = {0.0, 0.0, 0.0, 0.0, 0.0}
 
Infil2DDest dest = Infil2DDest::LOST
 
bool dest_explicit = false
 

Detailed Description

One infiltration specification: method + positional parameters + destination.

Parameters are POSITIONAL and in PROJECT UNITS, matching legacy [INFILTRATION] exactly:

method p0 p1 p2 p3 p4
HORTON f0 fmin decay (1/hr) dry_time(d) Fmax
MOD_HORTON f0 fmin decay (1/hr) dry_time(d) Fmax
GREEN_AMPT S (suction) Ks IMD
MOD_GREEN_AMPT S (suction) Ks IMD
CURVE_NUM CN dry_time(d)
CONSTANT rate

f0/fmin/Ks/rate are in/hr (US) or mm/hr (SI); S and Fmax are in (US) or mm (SI). CURVE_NUM's p1 is unused and ignored, matching the legacy column layout where the middle value is a no-op.

Member Data Documentation

◆ dest

Infil2DDest openswmm::twoD::Infil2DRow::dest = Infil2DDest::LOST

◆ dest_explicit

bool openswmm::twoD::Infil2DRow::dest_explicit = false

E2: true when the row spelled its own DEST column. Rows that did not take the project default ([2D_OPTIONS] INFIL_DESTINATION) at initialize; the writer emits DEST only for explicit rows so a deck round-trips unchanged.

◆ has_method

bool openswmm::twoD::Infil2DRow::has_method = false

False = NONE: the cell has no infiltration model. When false, every other field is meaningless.

◆ method

InfilModel openswmm::twoD::Infil2DRow::method = InfilModel::HORTON

◆ p

double openswmm::twoD::Infil2DRow::p[kInfil2DMaxParams] = {0.0, 0.0, 0.0, 0.0, 0.0}

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