15 template <ElemType>
struct ShapeFuncImpl;
21 template <
class TPo
int,
class TArray>
25 const t_real _t0 = ((0.5))*xi;
26 v(0, 0) = (0.5) - _t0;
27 v(0, 1) = _t0 + (0.5);
30 template <
class TPo
int,
class TArray>
38 template <
class TPo
int,
class TArray>
45 template <
class TPo
int,
class TArray>
73 static constexpr int dim = 1;
79 static constexpr int numVertices = 2;
82 static constexpr int numNodes = 2;
85 static constexpr int numFaces = 0;
91 static constexpr t_real paramSpaceVol = 2.0;
105 static constexpr std::array<t_real, 3 * 2> standardCoords = {
131 static constexpr int numElevNodes = 1;
140 static constexpr std::array<tElevSpan, 1> elevSpans = {{
144 static constexpr std::array<ElemType, 1> elevNodeSpanTypes = {
Line2};
151 static constexpr int vtkCellType = 3;
160 static constexpr std::array<int, 2> vtkNodeOrder = {0, 1};
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.
static DNDS_DEVICE_CALLABLE void Diff3(const TPoint &p, TArray &&v)
static DNDS_DEVICE_CALLABLE void Diff0(const TPoint &p, TArray &&v)
static DNDS_DEVICE_CALLABLE void Diff1(const TPoint &p, TArray &&v)
static DNDS_DEVICE_CALLABLE void Diff2(const TPoint &p, TArray &&v)
Eigen::Matrix< real, 5, 1 > v