SWMMVis  6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
sms2dmreader.h File Reference
#include "meshresult.h"
#include <QString>
Include dependency graph for sms2dmreader.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  mesh::Sms2dmReader
 

Namespaces

namespace  mesh
 

Detailed Description

Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
Date
2026
License\n GPL-3.0-or-later

Phase G5 of workplans/TRI_QUAD_MESHING_PLAN_2026-09-06.md — a minimal reader for the SMS 2DM mesh format (Aquaveo). Only the cards that carry geometry are consumed:

ND  id  x  y  z              node (1-based id)
E3T id  n1 n2 n3 [mat]       triangle
E4Q id  n1 n2 n3 n4 [mat]    quadrilateral (cyclic node order)

Every other card (MESH2D, NUM_MATERIALS_PER_ELEM, NS, BEGPARAMDEF, …) is ignored. NOT the engine's own .2dm sidecar grammar (that is mesh::InpMeshReader's [2D_*] sections in a file that merely happens to use the same extension).