12 if (index == 0) { value = 1.0 - qpoint.
x - qpoint.
y - qpoint.
z; }
13 if (index == 1) { value = qpoint.
x; }
14 if (index == 2) { value = qpoint.
y; }
15 if (index == 3) { value = qpoint.
z; }
23 if (index == 0) { value = -1.0; }
24 if (index == 1) { value = 1.0; }
25 if (index == 2) { value = 0.0; }
26 if (index == 3) { value = 0.0; }
34 if (index == 0) { value = -1.0; }
35 if (index == 1) { value = 0.0; }
36 if (index == 2) { value = 1.0; }
37 if (index == 3) { value = 0.0; }
45 if (index == 0) { value = -1.0; }
46 if (index == 1) { value = 0.0; }
47 if (index == 2) { value = 0.0; }
48 if (index == 3) { value = 1.0; }
static double TetGradShape_y(uint32_t index)
static double TetGradShape_z(uint32_t index)
static double TetShape(uint32_t index, const chi_mesh::Vector3 &qpoint, bool on_surface=false)
static double TetGradShape_x(uint32_t index)