15 template <ElemType>
struct ShapeFuncImpl;
21 template <
class TPo
int,
class TArray>
27 v(0, 0) = -et - xi - zt + 1;
33 template <
class TPo
int,
class TArray>
47 template <
class TPo
int,
class TArray>
56 template <
class TPo
int,
class TArray>
91 static constexpr int dim = 3;
93 static constexpr int numVertices = 4;
94 static constexpr int numNodes = 4;
95 static constexpr int numFaces = 4;
97 static constexpr t_real paramSpaceVol = 1.0 / 6.0;
112 static constexpr std::array<t_real, 3 * 4> standardCoords = {
138 static constexpr std::array<std::array<t_index, 10>, 4> faceNodes = {{
155 static constexpr int numElevNodes = 6;
164 static constexpr std::array<tElevSpan, 6> elevSpans = {{
173 static constexpr std::array<ElemType, 6> elevNodeSpanTypes = {
181 static constexpr int vtkCellType = 10;
189 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.
static DNDS_DEVICE_CALLABLE void Diff0(const TPoint &p, TArray &&v)
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)
Eigen::Matrix< real, 5, 1 > v