OpenSWMM Engine  6.0.0-alpha.3
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.3)
Loading...
Searching...
No Matches
MeshBuilder.hpp
Go to the documentation of this file.
1
19
20#ifndef OPENSWMM_ENGINE_2D_MESH_BUILDER_HPP
21#define OPENSWMM_ENGINE_2D_MESH_BUILDER_HPP
22
23#include "../data/MeshData.hpp"
24
25namespace openswmm::twoD {
26
35void buildMeshTopology(MeshData& mesh);
36
44std::string validateMesh(const MeshData& mesh);
45
61void recomputeVertexZDependents(MeshData& mesh, int vidx);
62
63} // namespace openswmm::twoD
64
65#endif // OPENSWMM_ENGINE_2D_MESH_BUILDER_HPP
Structure-of-Arrays (SoA) storage for 2D triangular mesh geometry.
Definition NodeCoupling.cpp:15
void buildMeshTopology(MeshData &mesh)
Build mesh topology and precompute geometry from raw vertex/triangle data.
Definition MeshBuilder.cpp:63
void recomputeVertexZDependents(MeshData &mesh, int vidx)
Recompute Z-derived per-triangle / per-edge geometry for triangles incident to a vertex whose Z just ...
Definition MeshBuilder.cpp:214
std::string validateMesh(const MeshData &mesh)
Validate mesh data for consistency.
Definition MeshBuilder.cpp:176
SoA storage for 2D triangular mesh geometry and topology.
Definition MeshData.hpp:34