15 template <ElemType>
struct ShapeFuncImpl;
21 template <
class TPo
int,
class TArray>
27 const t_real _t1 = ((0.25))*et + (-0.25);
29 const t_real _t3 = ((0.25))*et + (0.25);
36 template <
class TPo
int,
class TArray>
41 const t_real _t0 = ((0.25))*et;
42 const t_real _t1 = _t0 + (-0.25);
43 const t_real _t2 = _t0 + (0.25);
44 const t_real _t3 = ((0.25))*xi;
45 const t_real _t4 = _t3 + (-0.25);
46 const t_real _t5 = _t3 + (0.25);
57 template <
class TPo
int,
class TArray>
68 template <
class TPo
int,
class TArray>
103 static constexpr int dim = 2;
105 static constexpr int numVertices = 4;
106 static constexpr int numNodes = 4;
107 static constexpr int numFaces = 4;
109 static constexpr t_real paramSpaceVol = 4.0;
124 static constexpr std::array<t_real, 3 * 4> standardCoords = {
148 static constexpr std::array<std::array<t_index, 10>, 4> faceNodes = {{
165 static constexpr int numElevNodes = 5;
174 static constexpr std::array<tElevSpan, 5> elevSpans = {{
182 static constexpr std::array<ElemType, 5> elevNodeSpanTypes = {
191 static constexpr int vtkCellType = 9;
199 static constexpr std::array<int, 4> vtkNodeOrder = {0, 1, 2, 3};
Core type aliases, constants, and metaprogramming utilities for the DNDS framework.
#define DNDS_DEVICE_CALLABLE
static constexpr ElemType GetFaceType(t_index)
Get the element type of a face (edge)
static DNDS_DEVICE_CALLABLE void Diff2(const TPoint &p, TArray &&v)
static DNDS_DEVICE_CALLABLE void Diff3(const TPoint &p, TArray &&v)
static DNDS_DEVICE_CALLABLE void Diff1(const TPoint &p, TArray &&v)
static DNDS_DEVICE_CALLABLE void Diff0(const TPoint &p, TArray &&v)
Eigen::Matrix< real, 5, 1 > v