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

Implementation of pseudo-Laplacian vertex stencil construction and head reconstruction. More...

#include "VertexReconstruction.hpp"
#include "VfrClosure.hpp"
#include "QuadVfr.hpp"
#include <vector>
#include <cmath>
#include <algorithm>
Include dependency graph for VertexReconstruction.cpp:

Namespaces

namespace  openswmm
 
namespace  openswmm::twoD
 

Functions

void openswmm::twoD::buildVertexStencils (MeshData &mesh)
 Build pseudo-Laplacian reconstruction stencils for all vertices.
 
void openswmm::twoD::reconstructVertexHeads (const MeshData &mesh, SurfaceStateData &state, int nthreads=1)
 Reconstruct head values at vertices from cell-centred heads.
 
double openswmm::twoD::cellFreeSurfaceElevationOf (const MeshData &mesh, int t, double mean_depth)
 
double openswmm::twoD::cellFreeSurfaceElevation (double mean_depth, double za, double zb, double zc)
 Free-surface elevation η of one triangular cell from its mean depth (render/output closure).
 
void openswmm::twoD::reconstructVertexRenderDepths (const MeshData &mesh, SurfaceStateData &state, double dry_depth, int nthreads, std::vector< double > &eta_scratch)
 Wet-masked, depth-weighted free-surface reconstruction at vertices for RENDERING/OUTPUT only (writes state.vert_depth_signed).
 

Detailed Description

Implementation of pseudo-Laplacian vertex stencil construction and head reconstruction.

See also
VertexReconstruction.hpp