Loading...
Searching...
No Matches
meshcellparams.cpp File Reference

Registry of the per-cell (per-triangle) 2D mesh parameters the user can prescribe interactively, plus the read/write dispatch every editing surface shares. More...

#include "mesh/meshcellparams.h"
#include <QCoreApplication>
#include <cmath>
#include <limits>
Include dependency graph for meshcellparams.cpp:

Namespaces

namespace  mesh
 The Qt-facing MeshKit API (meshkit::core_qt, meshkit::model_qt, meshkit::io_qt): mesh value types and cell attributes, the mesh generator, quad regions, matching and cleanup, mesh statistics, and the INP and 2DM mesh codecs.
 

Functions

const QVector< CellParamSpec > & mesh::cellParamSpecs ()
 Return the immutable shared registry of mesh cell parameter/editor specifications.
 
const CellParamSpec * mesh::cellParamSpec (const QByteArray &key)
 Find a registry specification by its case-sensitive stable byte key.
 
QString mesh::cellParamLabel (const QByteArray &key, const QString &depthUnitLabel)
 Build a display label using the registry and an optional project depth-unit suffix.
 
double mesh::cellParamValue (const MeshResult &mesh, int tri, const QByteArray &key)
 Read a stored or inheritance-resolved cell parameter without substituting editor defaults.
 
QByteArray mesh::initialConditionCounterpart (const QByteArray &key)
 Name the alternative initial-condition key of key.
 

Detailed Description

Registry of the per-cell (per-triangle) 2D mesh parameters the user can prescribe interactively, plus the read/write dispatch every editing surface shares.

Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
Date
2026
License
Apache-2.0