22 template <
class TPo
int,
class TArray>
26 const t_real _t0 = ((0.5)) * xi;
27 v(0, 0) = _t0 * (xi - 1);
28 v(0, 1) = _t0 * (xi + 1);
29 v(0, 2) = 1 - ((xi) * (xi));
32 template <
class TPo
int,
class TArray>
36 v(0, 0) = xi + (-0.5);
41 template <
class TPo
int,
class TArray>
50 template <
class TPo
int,
class TArray>
65 static constexpr int dim = 1;
67 static constexpr int numVertices = 2;
68 static constexpr int numNodes = 3;
69 static constexpr int numFaces = 0;
71 static constexpr t_real paramSpaceVol = 2.0;
74 static constexpr std::array<t_real, 3 * 3> standardCoords = {
82 static constexpr int numElevNodes = 0;
84 static constexpr int numBisect = 2;
85 static constexpr int numBisectVariants = 1;
89 static constexpr std::array<tBisectSub, 2> bisectElements = {{{0, 2},
92 static constexpr int vtkCellType = 4;
94 static constexpr std::array<int, 3> vtkNodeOrder = {0, 2, 1};
Core type aliases, constants, and metaprogramming utilities for the DNDS framework.
#define DNDS_DEVICE_CALLABLE
static constexpr ElemType GetBisectElemType(t_index)
static constexpr ElemType GetFaceType(t_index)
static DNDS_DEVICE_CALLABLE void Diff2(const TPoint &p, TArray &&v)
static DNDS_DEVICE_CALLABLE void Diff1(const TPoint &p, TArray &&v)
static DNDS_DEVICE_CALLABLE void Diff3(const TPoint &p, TArray &&v)
static DNDS_DEVICE_CALLABLE void Diff0(const TPoint &p, TArray &&v)
Eigen::Matrix< real, 5, 1 > v
const tPoint const tPoint const tPoint & p