OpenSWMM Engine  6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
Street.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: Apache-2.0
2//
3// Copyright 2026 Caleb Buahin
4//
5// Licensed under the Apache License, Version 2.0 (the "License");
6// you may not use this file except in compliance with the License.
7// You may obtain a copy of the License at
8//
9// http://www.apache.org/licenses/LICENSE-2.0
10//
11// Unless required by applicable law or agreed to in writing, software
12// distributed under the License is distributed on an "AS IS" BASIS,
13// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14// See the License for the specific language governing permissions and
15// limitations under the License.
16
31
32#ifndef OPENSWMM_STREET_HPP
33#define OPENSWMM_STREET_HPP
34
35#include "Transect.hpp"
36
37namespace openswmm {
38
39namespace street {
40
42 double width = 0.0;
43 double curb_height = 0.0;
44 double slope = 0.0;
45 double roughness = 0.013;
46 double gutter_depression = 0.0;
47 double gutter_width = 0.0;
48 int sides = 2;
49 double back_width = 0.0;
50 double back_slope = 0.0;
51 double back_roughness = 0.0;
52};
53
61
62} // namespace street
63} // namespace openswmm
64
65#endif // OPENSWMM_STREET_HPP
Irregular transect cross-section geometry (HEC-2 style).
Definition Street.cpp:30
void buildTransect(const StreetParams &sp, transect::TransectData &td)
Build a transect from street parameters.
Definition Street.cpp:32
Definition NodeCoupling.cpp:16
Definition Street.hpp:41
double gutter_width
Depressed gutter width (ft)
Definition Street.hpp:47
double back_roughness
Backing Manning's n.
Definition Street.hpp:51
double slope
Transverse slope (fraction)
Definition Street.hpp:44
int sides
1=half street, 2=full street
Definition Street.hpp:48
double width
Distance curb to crown (ft)
Definition Street.hpp:42
double roughness
Manning's n (road surface)
Definition Street.hpp:45
double back_width
Backing width (ft)
Definition Street.hpp:49
double gutter_depression
Depressed gutter depth (ft)
Definition Street.hpp:46
double back_slope
Backing slope (fraction)
Definition Street.hpp:50
double curb_height
Curb elevation (ft)
Definition Street.hpp:43
Definition Transect.hpp:50