#include <array>
#include <cstdint>
#include "DNDS/Defines.hpp"
#include "Geometric.hpp"
#include "ElemEnum.hpp"
Go to the source code of this file.
◆ DNDS_ELEMENT_TRAITS_COMMON
| #define DNDS_ELEMENT_TRAITS_COMMON |
( |
|
ETYPE, |
|
|
|
DIM_, |
|
|
|
ORDER_, |
|
|
|
NV_, |
|
|
|
NN_, |
|
|
|
NF_, |
|
|
|
PSPACE_, |
|
|
|
PSVOL_ |
|
) |
| |
Value: static constexpr ElemType elemType = ETYPE; \
static constexpr int dim = DIM_; \
static constexpr int order = ORDER_; \
static constexpr int numVertices = NV_; \
static constexpr int numNodes = NN_; \
static constexpr int numFaces = NF_; \
static constexpr ParamSpace paramSpace = PSPACE_; \
static constexpr t_real paramSpaceVol = PSVOL_;
Common element trait definitions.
- Parameters
-
| ETYPE | Element type enum value (e.g., Line2, Tri3) |
| DIM_ | Spatial dimension (1, 2, or 3) |
| ORDER_ | Polynomial order of shape functions |
| NV_ | Number of vertices (corner nodes) |
| NN_ | Total number of nodes (including edge/face/internal) |
| NF_ | Number of faces |
| PSPACE_ | Parametric space type (LineSpace, TriSpace, etc.) |
| PSVOL_ | Volume of parametric space (length, area, or volume) |
Definition at line 38 of file ElementTraitsBase.hpp.