OpenSWMM Engine  6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
NetworkMeshBuilder.cpp File Reference

Implementation of the FV network mesh construction. More...

#include "NetworkMeshBuilder.hpp"
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <map>
#include <tuple>
#include "FvKernels.hpp"
#include "../../core/ErrorCodes.hpp"
#include "../Culvert.hpp"
#include "../Link.hpp"
#include "../Node.hpp"
#include "../../core/Constants.hpp"
#include "../../core/SimulationContext.hpp"
#include "../../core/UnitConversion.hpp"
Include dependency graph for NetworkMeshBuilder.cpp:

Namespaces

namespace  openswmm
 
namespace  openswmm::fv
 

Functions

void openswmm::fv::buildGeometry (const XSectParams &xs, bool is_open, double slot_celerity, FvGeometry &g, int barrels=1)
 Populate one conduit's cross-section closure, including the tapered Preissmann slot and the first-moment table.
 
MeshBuildReport openswmm::fv::buildNetworkMesh (SimulationContext &ctx, const FvOptions &opts, NetworkMeshData &mesh)
 Build the cell/face mesh and the per-conduit geometry closures.
 

Detailed Description

Implementation of the FV network mesh construction.

See also
NetworkMeshBuilder.hpp