an encyclopedia of finite element definitions

# Degree 2 serendipity H(div) on a hexahedron

◀ Back to serendipity H(div) definition page In this example:
• $$R$$ is the reference hexahedron. The following numbering of the subentities of the reference is used:
• • $$\mathcal{V}$$ is spanned by: $$\left(\begin{array}{c}\displaystyle 1\\\displaystyle 0\\\displaystyle 0\end{array}\right)$$, $$\left(\begin{array}{c}\displaystyle 0\\\displaystyle 1\\\displaystyle 0\end{array}\right)$$, $$\left(\begin{array}{c}\displaystyle 0\\\displaystyle 0\\\displaystyle 1\end{array}\right)$$, $$\left(\begin{array}{c}\displaystyle x\\\displaystyle 0\\\displaystyle 0\end{array}\right)$$, $$\left(\begin{array}{c}\displaystyle 0\\\displaystyle x\\\displaystyle 0\end{array}\right)$$, $$\left(\begin{array}{c}\displaystyle 0\\\displaystyle 0\\\displaystyle x\end{array}\right)$$, $$\left(\begin{array}{c}\displaystyle x^{2}\\\displaystyle 0\\\displaystyle 0\end{array}\right)$$, $$\left(\begin{array}{c}\displaystyle 0\\\displaystyle x^{2}\\\displaystyle 0\end{array}\right)$$, $$\left(\begin{array}{c}\displaystyle 0\\\displaystyle 0\\\displaystyle x^{2}\end{array}\right)$$, $$\left(\begin{array}{c}\displaystyle y\\\displaystyle 0\\\displaystyle 0\end{array}\right)$$, $$\left(\begin{array}{c}\displaystyle 0\\\displaystyle y\\\displaystyle 0\end{array}\right)$$, $$\left(\begin{array}{c}\displaystyle 0\\\displaystyle 0\\\displaystyle y\end{array}\right)$$, $$\left(\begin{array}{c}\displaystyle x y\\\displaystyle 0\\\displaystyle 0\end{array}\right)$$, $$\left(\begin{array}{c}\displaystyle 0\\\displaystyle x y\\\displaystyle 0\end{array}\right)$$, $$\left(\begin{array}{c}\displaystyle 0\\\displaystyle 0\\\displaystyle x y\end{array}\right)$$, $$\left(\begin{array}{c}\displaystyle y^{2}\\\displaystyle 0\\\displaystyle 0\end{array}\right)$$, $$\left(\begin{array}{c}\displaystyle 0\\\displaystyle y^{2}\\\displaystyle 0\end{array}\right)$$, $$\left(\begin{array}{c}\displaystyle 0\\\displaystyle 0\\\displaystyle y^{2}\end{array}\right)$$, $$\left(\begin{array}{c}\displaystyle z\\\displaystyle 0\\\displaystyle 0\end{array}\right)$$, $$\left(\begin{array}{c}\displaystyle 0\\\displaystyle z\\\displaystyle 0\end{array}\right)$$, $$\left(\begin{array}{c}\displaystyle 0\\\displaystyle 0\\\displaystyle z\end{array}\right)$$, $$\left(\begin{array}{c}\displaystyle x z\\\displaystyle 0\\\displaystyle 0\end{array}\right)$$, $$\left(\begin{array}{c}\displaystyle 0\\\displaystyle x z\\\displaystyle 0\end{array}\right)$$, $$\left(\begin{array}{c}\displaystyle 0\\\displaystyle 0\\\displaystyle x z\end{array}\right)$$, $$\left(\begin{array}{c}\displaystyle y z\\\displaystyle 0\\\displaystyle 0\end{array}\right)$$, $$\left(\begin{array}{c}\displaystyle 0\\\displaystyle y z\\\displaystyle 0\end{array}\right)$$, $$\left(\begin{array}{c}\displaystyle 0\\\displaystyle 0\\\displaystyle y z\end{array}\right)$$, $$\left(\begin{array}{c}\displaystyle z^{2}\\\displaystyle 0\\\displaystyle 0\end{array}\right)$$, $$\left(\begin{array}{c}\displaystyle 0\\\displaystyle z^{2}\\\displaystyle 0\end{array}\right)$$, $$\left(\begin{array}{c}\displaystyle 0\\\displaystyle 0\\\displaystyle z^{2}\end{array}\right)$$, $$\left(\begin{array}{c}\displaystyle - 4 x z^{2}\\\displaystyle y z^{2}\\\displaystyle z^{3}\end{array}\right)$$, $$\left(\begin{array}{c}\displaystyle - x z^{2}\\\displaystyle 4 y z^{2}\\\displaystyle - z^{3}\end{array}\right)$$, $$\left(\begin{array}{c}\displaystyle x y^{2}\\\displaystyle y^{3}\\\displaystyle - 4 y^{2} z\end{array}\right)$$, $$\left(\begin{array}{c}\displaystyle - 4 x y z\\\displaystyle y^{2} z\\\displaystyle y z^{2}\end{array}\right)$$, $$\left(\begin{array}{c}\displaystyle - x^{2} z\\\displaystyle 4 x y z\\\displaystyle - x z^{2}\end{array}\right)$$, $$\left(\begin{array}{c}\displaystyle x^{2} y\\\displaystyle x y^{2}\\\displaystyle - 4 x y z\end{array}\right)$$, $$\left(\begin{array}{c}\displaystyle - 4 x y^{2}\\\displaystyle y^{3}\\\displaystyle y^{2} z\end{array}\right)$$, $$\left(\begin{array}{c}\displaystyle - x^{3}\\\displaystyle 4 x^{2} y\\\displaystyle - x^{2} z\end{array}\right)$$, $$\left(\begin{array}{c}\displaystyle x^{3}\\\displaystyle x^{2} y\\\displaystyle - 4 x^{2} z\end{array}\right)$$
• $$\mathcal{L}=\{l_0,...,l_{38}\}$$
• Functionals and basis functions: $$\displaystyle l_{0}:\boldsymbol{v}\mapsto\displaystyle\int_{f_{0}}\boldsymbol{v}\cdot(2 s_{0}^{2} + 4 s_{0} s_{1} - 3 s_{0} + 2 s_{1}^{2} - 3 s_{1} + 1)\hat{\boldsymbol{n}}_{0}$$
where $$f_{0}$$ is the 0th face;
$$\hat{\boldsymbol{n}}_{0}$$ is the normal to facet 0;
and $$s_{0},s_{1},s_{2}$$ is a parametrisation of $$f_{0}$$.

$$\displaystyle \boldsymbol{\phi}_{0} = \left(\begin{array}{c}\displaystyle \frac{x \left(20 x^{2} + 18 x y - 39 x - 18 y + 19\right)}{2}\\\displaystyle \frac{y \left(18 x y - 18 x + 20 y^{2} - 39 y + 19\right)}{2}\\\displaystyle - 30 x^{2} z + 30 x^{2} - 36 x y z + 36 x y + 54 x z - 54 x - 30 y^{2} z + 30 y^{2} + 54 y z - 54 y + 3 z^{2} - 29 z + 26\end{array}\right)$$

This DOF is associated with face 0 of the reference element. $$\displaystyle l_{1}:\boldsymbol{v}\mapsto\displaystyle\int_{f_{0}}\boldsymbol{v}\cdot(4 s_{0} \left(- s_{0} - s_{1} + 1\right))\hat{\boldsymbol{n}}_{0}$$
where $$f_{0}$$ is the 0th face;
$$\hat{\boldsymbol{n}}_{0}$$ is the normal to facet 0;
and $$s_{0},s_{1},s_{2}$$ is a parametrisation of $$f_{0}$$.

$$\displaystyle \boldsymbol{\phi}_{1} = \left(\begin{array}{c}\displaystyle \frac{5 x \left(- 2 x^{2} + 3 x - 1\right)}{2}\\\displaystyle 5 y \left(2 y^{2} - 3 y + 1\right)\\\displaystyle 15 x^{2} z - 15 x^{2} - 15 x z + 15 x - 30 y^{2} z + 30 y^{2} + 36 y z - 36 y + 3 z^{2} - \frac{19 z}{2} + \frac{13}{2}\end{array}\right)$$

This DOF is associated with face 0 of the reference element. $$\displaystyle l_{2}:\boldsymbol{v}\mapsto\displaystyle\int_{f_{0}}\boldsymbol{v}\cdot(s_{0} \cdot \left(2 s_{0} - 1\right))\hat{\boldsymbol{n}}_{0}$$
where $$f_{0}$$ is the 0th face;
$$\hat{\boldsymbol{n}}_{0}$$ is the normal to facet 0;
and $$s_{0},s_{1},s_{2}$$ is a parametrisation of $$f_{0}$$.

$$\displaystyle \boldsymbol{\phi}_{2} = \left(\begin{array}{c}\displaystyle \frac{x \left(20 x^{2} - 18 x y - 21 x + 18 y + 1\right)}{2}\\\displaystyle \frac{y \left(- 18 x y + 18 x + 20 y^{2} - 21 y + 1\right)}{2}\\\displaystyle - 30 x^{2} z + 30 x^{2} + 36 x y z - 36 x y + 6 x z - 6 x - 30 y^{2} z + 30 y^{2} + 18 y z - 18 y + 3 z^{2} - 5 z + 2\end{array}\right)$$

This DOF is associated with face 0 of the reference element. $$\displaystyle l_{3}:\boldsymbol{v}\mapsto\displaystyle\int_{f_{0}}\boldsymbol{v}\cdot(4 s_{1} \left(- s_{0} - s_{1} + 1\right))\hat{\boldsymbol{n}}_{0}$$
where $$f_{0}$$ is the 0th face;
$$\hat{\boldsymbol{n}}_{0}$$ is the normal to facet 0;
and $$s_{0},s_{1},s_{2}$$ is a parametrisation of $$f_{0}$$.

$$\displaystyle \boldsymbol{\phi}_{3} = \left(\begin{array}{c}\displaystyle 5 x \left(2 x^{2} - 3 x + 1\right)\\\displaystyle \frac{5 y \left(- 2 y^{2} + 3 y - 1\right)}{2}\\\displaystyle - 30 x^{2} z + 30 x^{2} + 36 x z - 36 x + 15 y^{2} z - 15 y^{2} - 15 y z + 15 y + 3 z^{2} - \frac{19 z}{2} + \frac{13}{2}\end{array}\right)$$

This DOF is associated with face 0 of the reference element. $$\displaystyle l_{4}:\boldsymbol{v}\mapsto\displaystyle\int_{f_{0}}\boldsymbol{v}\cdot(4 s_{0} s_{1})\hat{\boldsymbol{n}}_{0}$$
where $$f_{0}$$ is the 0th face;
$$\hat{\boldsymbol{n}}_{0}$$ is the normal to facet 0;
and $$s_{0},s_{1},s_{2}$$ is a parametrisation of $$f_{0}$$.

$$\displaystyle \boldsymbol{\phi}_{4} = \left(\begin{array}{c}\displaystyle \frac{5 x \left(- 2 x^{2} + 3 x - 1\right)}{2}\\\displaystyle \frac{5 y \left(- 2 y^{2} + 3 y - 1\right)}{2}\\\displaystyle 15 x^{2} z - 15 x^{2} - 15 x z + 15 x + 15 y^{2} z - 15 y^{2} - 15 y z + 15 y + 3 z^{2} + z - 4\end{array}\right)$$

This DOF is associated with face 0 of the reference element. $$\displaystyle l_{5}:\boldsymbol{v}\mapsto\displaystyle\int_{f_{0}}\boldsymbol{v}\cdot(s_{1} \cdot \left(2 s_{1} - 1\right))\hat{\boldsymbol{n}}_{0}$$
where $$f_{0}$$ is the 0th face;
$$\hat{\boldsymbol{n}}_{0}$$ is the normal to facet 0;
and $$s_{0},s_{1},s_{2}$$ is a parametrisation of $$f_{0}$$.

$$\displaystyle \boldsymbol{\phi}_{5} = \left(\begin{array}{c}\displaystyle \frac{x \left(20 x^{2} - 18 x y - 21 x + 18 y + 1\right)}{2}\\\displaystyle \frac{y \left(- 18 x y + 18 x + 20 y^{2} - 21 y + 1\right)}{2}\\\displaystyle - 30 x^{2} z + 30 x^{2} + 36 x y z - 36 x y + 18 x z - 18 x - 30 y^{2} z + 30 y^{2} + 6 y z - 6 y + 3 z^{2} - 5 z + 2\end{array}\right)$$

This DOF is associated with face 0 of the reference element. $$\displaystyle l_{6}:\boldsymbol{v}\mapsto\displaystyle\int_{f_{1}}\boldsymbol{v}\cdot(2 s_{0}^{2} + 4 s_{0} s_{1} - 3 s_{0} + 2 s_{1}^{2} - 3 s_{1} + 1)\hat{\boldsymbol{n}}_{1}$$
where $$f_{1}$$ is the 1st face;
$$\hat{\boldsymbol{n}}_{1}$$ is the normal to facet 1;
and $$s_{0},s_{1},s_{2}$$ is a parametrisation of $$f_{1}$$.

$$\displaystyle \boldsymbol{\phi}_{6} = \left(\begin{array}{c}\displaystyle \frac{x \left(- 20 x^{2} - 18 x z + 39 x + 18 z - 19\right)}{2}\\\displaystyle 30 x^{2} y - 30 x^{2} + 36 x y z - 54 x y - 36 x z + 54 x - 3 y^{2} + 30 y z^{2} - 54 y z + 29 y - 30 z^{2} + 54 z - 26\\\displaystyle \frac{z \left(- 18 x z + 18 x - 20 z^{2} + 39 z - 19\right)}{2}\end{array}\right)$$

This DOF is associated with face 1 of the reference element. $$\displaystyle l_{7}:\boldsymbol{v}\mapsto\displaystyle\int_{f_{1}}\boldsymbol{v}\cdot(4 s_{0} \left(- s_{0} - s_{1} + 1\right))\hat{\boldsymbol{n}}_{1}$$
where $$f_{1}$$ is the 1st face;
$$\hat{\boldsymbol{n}}_{1}$$ is the normal to facet 1;
and $$s_{0},s_{1},s_{2}$$ is a parametrisation of $$f_{1}$$.

$$\displaystyle \boldsymbol{\phi}_{7} = \left(\begin{array}{c}\displaystyle \frac{5 x \left(2 x^{2} - 3 x + 1\right)}{2}\\\displaystyle - 15 x^{2} y + 15 x^{2} + 15 x y - 15 x - 3 y^{2} + 30 y z^{2} - 36 y z + \frac{19 y}{2} - 30 z^{2} + 36 z - \frac{13}{2}\\\displaystyle 5 z \left(- 2 z^{2} + 3 z - 1\right)\end{array}\right)$$

This DOF is associated with face 1 of the reference element. $$\displaystyle l_{8}:\boldsymbol{v}\mapsto\displaystyle\int_{f_{1}}\boldsymbol{v}\cdot(s_{0} \cdot \left(2 s_{0} - 1\right))\hat{\boldsymbol{n}}_{1}$$
where $$f_{1}$$ is the 1st face;
$$\hat{\boldsymbol{n}}_{1}$$ is the normal to facet 1;
and $$s_{0},s_{1},s_{2}$$ is a parametrisation of $$f_{1}$$.

$$\displaystyle \boldsymbol{\phi}_{8} = \left(\begin{array}{c}\displaystyle \frac{x \left(- 20 x^{2} + 18 x z + 21 x - 18 z - 1\right)}{2}\\\displaystyle 30 x^{2} y - 30 x^{2} - 36 x y z - 6 x y + 36 x z + 6 x - 3 y^{2} + 30 y z^{2} - 18 y z + 5 y - 30 z^{2} + 18 z - 2\\\displaystyle \frac{z \left(18 x z - 18 x - 20 z^{2} + 21 z - 1\right)}{2}\end{array}\right)$$

This DOF is associated with face 1 of the reference element. $$\displaystyle l_{9}:\boldsymbol{v}\mapsto\displaystyle\int_{f_{1}}\boldsymbol{v}\cdot(4 s_{1} \left(- s_{0} - s_{1} + 1\right))\hat{\boldsymbol{n}}_{1}$$
where $$f_{1}$$ is the 1st face;
$$\hat{\boldsymbol{n}}_{1}$$ is the normal to facet 1;
and $$s_{0},s_{1},s_{2}$$ is a parametrisation of $$f_{1}$$.

$$\displaystyle \boldsymbol{\phi}_{9} = \left(\begin{array}{c}\displaystyle 5 x \left(- 2 x^{2} + 3 x - 1\right)\\\displaystyle 30 x^{2} y - 30 x^{2} - 36 x y + 36 x - 3 y^{2} - 15 y z^{2} + 15 y z + \frac{19 y}{2} + 15 z^{2} - 15 z - \frac{13}{2}\\\displaystyle \frac{5 z \left(2 z^{2} - 3 z + 1\right)}{2}\end{array}\right)$$

This DOF is associated with face 1 of the reference element. $$\displaystyle l_{10}:\boldsymbol{v}\mapsto\displaystyle\int_{f_{1}}\boldsymbol{v}\cdot(4 s_{0} s_{1})\hat{\boldsymbol{n}}_{1}$$
where $$f_{1}$$ is the 1st face;
$$\hat{\boldsymbol{n}}_{1}$$ is the normal to facet 1;
and $$s_{0},s_{1},s_{2}$$ is a parametrisation of $$f_{1}$$.

$$\displaystyle \boldsymbol{\phi}_{10} = \left(\begin{array}{c}\displaystyle \frac{5 x \left(2 x^{2} - 3 x + 1\right)}{2}\\\displaystyle - 15 x^{2} y + 15 x^{2} + 15 x y - 15 x - 3 y^{2} - 15 y z^{2} + 15 y z - y + 15 z^{2} - 15 z + 4\\\displaystyle \frac{5 z \left(2 z^{2} - 3 z + 1\right)}{2}\end{array}\right)$$

This DOF is associated with face 1 of the reference element. $$\displaystyle l_{11}:\boldsymbol{v}\mapsto\displaystyle\int_{f_{1}}\boldsymbol{v}\cdot(s_{1} \cdot \left(2 s_{1} - 1\right))\hat{\boldsymbol{n}}_{1}$$
where $$f_{1}$$ is the 1st face;
$$\hat{\boldsymbol{n}}_{1}$$ is the normal to facet 1;
and $$s_{0},s_{1},s_{2}$$ is a parametrisation of $$f_{1}$$.

$$\displaystyle \boldsymbol{\phi}_{11} = \left(\begin{array}{c}\displaystyle \frac{x \left(- 20 x^{2} + 18 x z + 21 x - 18 z - 1\right)}{2}\\\displaystyle 30 x^{2} y - 30 x^{2} - 36 x y z - 18 x y + 36 x z + 18 x - 3 y^{2} + 30 y z^{2} - 6 y z + 5 y - 30 z^{2} + 6 z - 2\\\displaystyle \frac{z \left(18 x z - 18 x - 20 z^{2} + 21 z - 1\right)}{2}\end{array}\right)$$

This DOF is associated with face 1 of the reference element. $$\displaystyle l_{12}:\boldsymbol{v}\mapsto\displaystyle\int_{f_{2}}\boldsymbol{v}\cdot(2 s_{0}^{2} + 4 s_{0} s_{1} - 3 s_{0} + 2 s_{1}^{2} - 3 s_{1} + 1)\hat{\boldsymbol{n}}_{2}$$
where $$f_{2}$$ is the 2nd face;
$$\hat{\boldsymbol{n}}_{2}$$ is the normal to facet 2;
and $$s_{0},s_{1},s_{2}$$ is a parametrisation of $$f_{2}$$.

$$\displaystyle \boldsymbol{\phi}_{12} = \left(\begin{array}{c}\displaystyle 3 x^{2} - 30 x y^{2} - 36 x y z + 54 x y - 30 x z^{2} + 54 x z - 29 x + 30 y^{2} + 36 y z - 54 y + 30 z^{2} - 54 z + 26\\\displaystyle \frac{y \left(20 y^{2} + 18 y z - 39 y - 18 z + 19\right)}{2}\\\displaystyle \frac{z \left(18 y z - 18 y + 20 z^{2} - 39 z + 19\right)}{2}\end{array}\right)$$

This DOF is associated with face 2 of the reference element. $$\displaystyle l_{13}:\boldsymbol{v}\mapsto\displaystyle\int_{f_{2}}\boldsymbol{v}\cdot(4 s_{0} \left(- s_{0} - s_{1} + 1\right))\hat{\boldsymbol{n}}_{2}$$
where $$f_{2}$$ is the 2nd face;
$$\hat{\boldsymbol{n}}_{2}$$ is the normal to facet 2;
and $$s_{0},s_{1},s_{2}$$ is a parametrisation of $$f_{2}$$.

$$\displaystyle \boldsymbol{\phi}_{13} = \left(\begin{array}{c}\displaystyle 3 x^{2} + 15 x y^{2} - 15 x y - 30 x z^{2} + 36 x z - \frac{19 x}{2} - 15 y^{2} + 15 y + 30 z^{2} - 36 z + \frac{13}{2}\\\displaystyle \frac{5 y \left(- 2 y^{2} + 3 y - 1\right)}{2}\\\displaystyle 5 z \left(2 z^{2} - 3 z + 1\right)\end{array}\right)$$

This DOF is associated with face 2 of the reference element. $$\displaystyle l_{14}:\boldsymbol{v}\mapsto\displaystyle\int_{f_{2}}\boldsymbol{v}\cdot(s_{0} \cdot \left(2 s_{0} - 1\right))\hat{\boldsymbol{n}}_{2}$$
where $$f_{2}$$ is the 2nd face;
$$\hat{\boldsymbol{n}}_{2}$$ is the normal to facet 2;
and $$s_{0},s_{1},s_{2}$$ is a parametrisation of $$f_{2}$$.

$$\displaystyle \boldsymbol{\phi}_{14} = \left(\begin{array}{c}\displaystyle 3 x^{2} - 30 x y^{2} + 36 x y z + 6 x y - 30 x z^{2} + 18 x z - 5 x + 30 y^{2} - 36 y z - 6 y + 30 z^{2} - 18 z + 2\\\displaystyle \frac{y \left(20 y^{2} - 18 y z - 21 y + 18 z + 1\right)}{2}\\\displaystyle \frac{z \left(- 18 y z + 18 y + 20 z^{2} - 21 z + 1\right)}{2}\end{array}\right)$$

This DOF is associated with face 2 of the reference element. $$\displaystyle l_{15}:\boldsymbol{v}\mapsto\displaystyle\int_{f_{2}}\boldsymbol{v}\cdot(4 s_{1} \left(- s_{0} - s_{1} + 1\right))\hat{\boldsymbol{n}}_{2}$$
where $$f_{2}$$ is the 2nd face;
$$\hat{\boldsymbol{n}}_{2}$$ is the normal to facet 2;
and $$s_{0},s_{1},s_{2}$$ is a parametrisation of $$f_{2}$$.

$$\displaystyle \boldsymbol{\phi}_{15} = \left(\begin{array}{c}\displaystyle 3 x^{2} - 30 x y^{2} + 36 x y + 15 x z^{2} - 15 x z - \frac{19 x}{2} + 30 y^{2} - 36 y - 15 z^{2} + 15 z + \frac{13}{2}\\\displaystyle 5 y \left(2 y^{2} - 3 y + 1\right)\\\displaystyle \frac{5 z \left(- 2 z^{2} + 3 z - 1\right)}{2}\end{array}\right)$$

This DOF is associated with face 2 of the reference element. $$\displaystyle l_{16}:\boldsymbol{v}\mapsto\displaystyle\int_{f_{2}}\boldsymbol{v}\cdot(4 s_{0} s_{1})\hat{\boldsymbol{n}}_{2}$$
where $$f_{2}$$ is the 2nd face;
$$\hat{\boldsymbol{n}}_{2}$$ is the normal to facet 2;
and $$s_{0},s_{1},s_{2}$$ is a parametrisation of $$f_{2}$$.

$$\displaystyle \boldsymbol{\phi}_{16} = \left(\begin{array}{c}\displaystyle 3 x^{2} + 15 x y^{2} - 15 x y + 15 x z^{2} - 15 x z + x - 15 y^{2} + 15 y - 15 z^{2} + 15 z - 4\\\displaystyle \frac{5 y \left(- 2 y^{2} + 3 y - 1\right)}{2}\\\displaystyle \frac{5 z \left(- 2 z^{2} + 3 z - 1\right)}{2}\end{array}\right)$$

This DOF is associated with face 2 of the reference element. $$\displaystyle l_{17}:\boldsymbol{v}\mapsto\displaystyle\int_{f_{2}}\boldsymbol{v}\cdot(s_{1} \cdot \left(2 s_{1} - 1\right))\hat{\boldsymbol{n}}_{2}$$
where $$f_{2}$$ is the 2nd face;
$$\hat{\boldsymbol{n}}_{2}$$ is the normal to facet 2;
and $$s_{0},s_{1},s_{2}$$ is a parametrisation of $$f_{2}$$.

$$\displaystyle \boldsymbol{\phi}_{17} = \left(\begin{array}{c}\displaystyle 3 x^{2} - 30 x y^{2} + 36 x y z + 18 x y - 30 x z^{2} + 6 x z - 5 x + 30 y^{2} - 36 y z - 18 y + 30 z^{2} - 6 z + 2\\\displaystyle \frac{y \left(20 y^{2} - 18 y z - 21 y + 18 z + 1\right)}{2}\\\displaystyle \frac{z \left(- 18 y z + 18 y + 20 z^{2} - 21 z + 1\right)}{2}\end{array}\right)$$

This DOF is associated with face 2 of the reference element. $$\displaystyle l_{18}:\boldsymbol{v}\mapsto\displaystyle\int_{f_{3}}\boldsymbol{v}\cdot(2 s_{0}^{2} + 4 s_{0} s_{1} - 3 s_{0} + 2 s_{1}^{2} - 3 s_{1} + 1)\hat{\boldsymbol{n}}_{3}$$
where $$f_{3}$$ is the 3rd face;
$$\hat{\boldsymbol{n}}_{3}$$ is the normal to facet 3;
and $$s_{0},s_{1},s_{2}$$ is a parametrisation of $$f_{3}$$.

$$\displaystyle \boldsymbol{\phi}_{18} = \left(\begin{array}{c}\displaystyle x \left(3 x + 30 y^{2} + 36 y z - 54 y + 30 z^{2} - 54 z + 23\right)\\\displaystyle \frac{y \left(- 20 y^{2} - 18 y z + 39 y + 18 z - 19\right)}{2}\\\displaystyle \frac{z \left(- 18 y z + 18 y - 20 z^{2} + 39 z - 19\right)}{2}\end{array}\right)$$

This DOF is associated with face 3 of the reference element. $$\displaystyle l_{19}:\boldsymbol{v}\mapsto\displaystyle\int_{f_{3}}\boldsymbol{v}\cdot(4 s_{0} \left(- s_{0} - s_{1} + 1\right))\hat{\boldsymbol{n}}_{3}$$
where $$f_{3}$$ is the 3rd face;
$$\hat{\boldsymbol{n}}_{3}$$ is the normal to facet 3;
and $$s_{0},s_{1},s_{2}$$ is a parametrisation of $$f_{3}$$.

$$\displaystyle \boldsymbol{\phi}_{19} = \left(\begin{array}{c}\displaystyle \frac{x \left(6 x - 30 y^{2} + 30 y + 60 z^{2} - 72 z + 7\right)}{2}\\\displaystyle \frac{5 y \left(2 y^{2} - 3 y + 1\right)}{2}\\\displaystyle 5 z \left(- 2 z^{2} + 3 z - 1\right)\end{array}\right)$$

This DOF is associated with face 3 of the reference element. $$\displaystyle l_{20}:\boldsymbol{v}\mapsto\displaystyle\int_{f_{3}}\boldsymbol{v}\cdot(s_{0} \cdot \left(2 s_{0} - 1\right))\hat{\boldsymbol{n}}_{3}$$
where $$f_{3}$$ is the 3rd face;
$$\hat{\boldsymbol{n}}_{3}$$ is the normal to facet 3;
and $$s_{0},s_{1},s_{2}$$ is a parametrisation of $$f_{3}$$.

$$\displaystyle \boldsymbol{\phi}_{20} = \left(\begin{array}{c}\displaystyle x \left(3 x + 30 y^{2} - 36 y z - 6 y + 30 z^{2} - 18 z - 1\right)\\\displaystyle \frac{y \left(- 20 y^{2} + 18 y z + 21 y - 18 z - 1\right)}{2}\\\displaystyle \frac{z \left(18 y z - 18 y - 20 z^{2} + 21 z - 1\right)}{2}\end{array}\right)$$

This DOF is associated with face 3 of the reference element. $$\displaystyle l_{21}:\boldsymbol{v}\mapsto\displaystyle\int_{f_{3}}\boldsymbol{v}\cdot(4 s_{1} \left(- s_{0} - s_{1} + 1\right))\hat{\boldsymbol{n}}_{3}$$
where $$f_{3}$$ is the 3rd face;
$$\hat{\boldsymbol{n}}_{3}$$ is the normal to facet 3;
and $$s_{0},s_{1},s_{2}$$ is a parametrisation of $$f_{3}$$.

$$\displaystyle \boldsymbol{\phi}_{21} = \left(\begin{array}{c}\displaystyle \frac{x \left(6 x + 60 y^{2} - 72 y - 30 z^{2} + 30 z + 7\right)}{2}\\\displaystyle 5 y \left(- 2 y^{2} + 3 y - 1\right)\\\displaystyle \frac{5 z \left(2 z^{2} - 3 z + 1\right)}{2}\end{array}\right)$$

This DOF is associated with face 3 of the reference element. $$\displaystyle l_{22}:\boldsymbol{v}\mapsto\displaystyle\int_{f_{3}}\boldsymbol{v}\cdot(4 s_{0} s_{1})\hat{\boldsymbol{n}}_{3}$$
where $$f_{3}$$ is the 3rd face;
$$\hat{\boldsymbol{n}}_{3}$$ is the normal to facet 3;
and $$s_{0},s_{1},s_{2}$$ is a parametrisation of $$f_{3}$$.

$$\displaystyle \boldsymbol{\phi}_{22} = \left(\begin{array}{c}\displaystyle x \left(3 x - 15 y^{2} + 15 y - 15 z^{2} + 15 z - 7\right)\\\displaystyle \frac{5 y \left(2 y^{2} - 3 y + 1\right)}{2}\\\displaystyle \frac{5 z \left(2 z^{2} - 3 z + 1\right)}{2}\end{array}\right)$$

This DOF is associated with face 3 of the reference element. $$\displaystyle l_{23}:\boldsymbol{v}\mapsto\displaystyle\int_{f_{3}}\boldsymbol{v}\cdot(s_{1} \cdot \left(2 s_{1} - 1\right))\hat{\boldsymbol{n}}_{3}$$
where $$f_{3}$$ is the 3rd face;
$$\hat{\boldsymbol{n}}_{3}$$ is the normal to facet 3;
and $$s_{0},s_{1},s_{2}$$ is a parametrisation of $$f_{3}$$.

$$\displaystyle \boldsymbol{\phi}_{23} = \left(\begin{array}{c}\displaystyle x \left(3 x + 30 y^{2} - 36 y z - 18 y + 30 z^{2} - 6 z - 1\right)\\\displaystyle \frac{y \left(- 20 y^{2} + 18 y z + 21 y - 18 z - 1\right)}{2}\\\displaystyle \frac{z \left(18 y z - 18 y - 20 z^{2} + 21 z - 1\right)}{2}\end{array}\right)$$

This DOF is associated with face 3 of the reference element. $$\displaystyle l_{24}:\boldsymbol{v}\mapsto\displaystyle\int_{f_{4}}\boldsymbol{v}\cdot(2 s_{0}^{2} + 4 s_{0} s_{1} - 3 s_{0} + 2 s_{1}^{2} - 3 s_{1} + 1)\hat{\boldsymbol{n}}_{4}$$
where $$f_{4}$$ is the 4th face;
$$\hat{\boldsymbol{n}}_{4}$$ is the normal to facet 4;
and $$s_{0},s_{1},s_{2}$$ is a parametrisation of $$f_{4}$$.

$$\displaystyle \boldsymbol{\phi}_{24} = \left(\begin{array}{c}\displaystyle \frac{x \left(20 x^{2} + 18 x z - 39 x - 18 z + 19\right)}{2}\\\displaystyle y \left(- 30 x^{2} - 36 x z + 54 x - 3 y - 30 z^{2} + 54 z - 23\right)\\\displaystyle \frac{z \left(18 x z - 18 x + 20 z^{2} - 39 z + 19\right)}{2}\end{array}\right)$$

This DOF is associated with face 4 of the reference element. $$\displaystyle l_{25}:\boldsymbol{v}\mapsto\displaystyle\int_{f_{4}}\boldsymbol{v}\cdot(4 s_{0} \left(- s_{0} - s_{1} + 1\right))\hat{\boldsymbol{n}}_{4}$$
where $$f_{4}$$ is the 4th face;
$$\hat{\boldsymbol{n}}_{4}$$ is the normal to facet 4;
and $$s_{0},s_{1},s_{2}$$ is a parametrisation of $$f_{4}$$.

$$\displaystyle \boldsymbol{\phi}_{25} = \left(\begin{array}{c}\displaystyle \frac{5 x \left(- 2 x^{2} + 3 x - 1\right)}{2}\\\displaystyle \frac{y \left(30 x^{2} - 30 x - 6 y - 60 z^{2} + 72 z - 7\right)}{2}\\\displaystyle 5 z \left(2 z^{2} - 3 z + 1\right)\end{array}\right)$$

This DOF is associated with face 4 of the reference element. $$\displaystyle l_{26}:\boldsymbol{v}\mapsto\displaystyle\int_{f_{4}}\boldsymbol{v}\cdot(s_{0} \cdot \left(2 s_{0} - 1\right))\hat{\boldsymbol{n}}_{4}$$
where $$f_{4}$$ is the 4th face;
$$\hat{\boldsymbol{n}}_{4}$$ is the normal to facet 4;
and $$s_{0},s_{1},s_{2}$$ is a parametrisation of $$f_{4}$$.

$$\displaystyle \boldsymbol{\phi}_{26} = \left(\begin{array}{c}\displaystyle \frac{x \left(20 x^{2} - 18 x z - 21 x + 18 z + 1\right)}{2}\\\displaystyle y \left(- 30 x^{2} + 36 x z + 6 x - 3 y - 30 z^{2} + 18 z + 1\right)\\\displaystyle \frac{z \left(- 18 x z + 18 x + 20 z^{2} - 21 z + 1\right)}{2}\end{array}\right)$$

This DOF is associated with face 4 of the reference element. $$\displaystyle l_{27}:\boldsymbol{v}\mapsto\displaystyle\int_{f_{4}}\boldsymbol{v}\cdot(4 s_{1} \left(- s_{0} - s_{1} + 1\right))\hat{\boldsymbol{n}}_{4}$$
where $$f_{4}$$ is the 4th face;
$$\hat{\boldsymbol{n}}_{4}$$ is the normal to facet 4;
and $$s_{0},s_{1},s_{2}$$ is a parametrisation of $$f_{4}$$.

$$\displaystyle \boldsymbol{\phi}_{27} = \left(\begin{array}{c}\displaystyle 5 x \left(2 x^{2} - 3 x + 1\right)\\\displaystyle \frac{y \left(- 60 x^{2} + 72 x - 6 y + 30 z^{2} - 30 z - 7\right)}{2}\\\displaystyle \frac{5 z \left(- 2 z^{2} + 3 z - 1\right)}{2}\end{array}\right)$$

This DOF is associated with face 4 of the reference element. $$\displaystyle l_{28}:\boldsymbol{v}\mapsto\displaystyle\int_{f_{4}}\boldsymbol{v}\cdot(4 s_{0} s_{1})\hat{\boldsymbol{n}}_{4}$$
where $$f_{4}$$ is the 4th face;
$$\hat{\boldsymbol{n}}_{4}$$ is the normal to facet 4;
and $$s_{0},s_{1},s_{2}$$ is a parametrisation of $$f_{4}$$.

$$\displaystyle \boldsymbol{\phi}_{28} = \left(\begin{array}{c}\displaystyle \frac{5 x \left(- 2 x^{2} + 3 x - 1\right)}{2}\\\displaystyle y \left(15 x^{2} - 15 x - 3 y + 15 z^{2} - 15 z + 7\right)\\\displaystyle \frac{5 z \left(- 2 z^{2} + 3 z - 1\right)}{2}\end{array}\right)$$

This DOF is associated with face 4 of the reference element. $$\displaystyle l_{29}:\boldsymbol{v}\mapsto\displaystyle\int_{f_{4}}\boldsymbol{v}\cdot(s_{1} \cdot \left(2 s_{1} - 1\right))\hat{\boldsymbol{n}}_{4}$$
where $$f_{4}$$ is the 4th face;
$$\hat{\boldsymbol{n}}_{4}$$ is the normal to facet 4;
and $$s_{0},s_{1},s_{2}$$ is a parametrisation of $$f_{4}$$.

$$\displaystyle \boldsymbol{\phi}_{29} = \left(\begin{array}{c}\displaystyle \frac{x \left(20 x^{2} - 18 x z - 21 x + 18 z + 1\right)}{2}\\\displaystyle y \left(- 30 x^{2} + 36 x z + 18 x - 3 y - 30 z^{2} + 6 z + 1\right)\\\displaystyle \frac{z \left(- 18 x z + 18 x + 20 z^{2} - 21 z + 1\right)}{2}\end{array}\right)$$

This DOF is associated with face 4 of the reference element. $$\displaystyle l_{30}:\boldsymbol{v}\mapsto\displaystyle\int_{f_{5}}\boldsymbol{v}\cdot(2 s_{0}^{2} + 4 s_{0} s_{1} - 3 s_{0} + 2 s_{1}^{2} - 3 s_{1} + 1)\hat{\boldsymbol{n}}_{5}$$
where $$f_{5}$$ is the 5th face;
$$\hat{\boldsymbol{n}}_{5}$$ is the normal to facet 5;
and $$s_{0},s_{1},s_{2}$$ is a parametrisation of $$f_{5}$$.

$$\displaystyle \boldsymbol{\phi}_{30} = \left(\begin{array}{c}\displaystyle \frac{x \left(- 20 x^{2} - 18 x y + 39 x + 18 y - 19\right)}{2}\\\displaystyle \frac{y \left(- 18 x y + 18 x - 20 y^{2} + 39 y - 19\right)}{2}\\\displaystyle z \left(30 x^{2} + 36 x y - 54 x + 30 y^{2} - 54 y + 3 z + 23\right)\end{array}\right)$$

This DOF is associated with face 5 of the reference element. $$\displaystyle l_{31}:\boldsymbol{v}\mapsto\displaystyle\int_{f_{5}}\boldsymbol{v}\cdot(4 s_{0} \left(- s_{0} - s_{1} + 1\right))\hat{\boldsymbol{n}}_{5}$$
where $$f_{5}$$ is the 5th face;
$$\hat{\boldsymbol{n}}_{5}$$ is the normal to facet 5;
and $$s_{0},s_{1},s_{2}$$ is a parametrisation of $$f_{5}$$.

$$\displaystyle \boldsymbol{\phi}_{31} = \left(\begin{array}{c}\displaystyle \frac{5 x \left(2 x^{2} - 3 x + 1\right)}{2}\\\displaystyle 5 y \left(- 2 y^{2} + 3 y - 1\right)\\\displaystyle \frac{z \left(- 30 x^{2} + 30 x + 60 y^{2} - 72 y + 6 z + 7\right)}{2}\end{array}\right)$$

This DOF is associated with face 5 of the reference element. $$\displaystyle l_{32}:\boldsymbol{v}\mapsto\displaystyle\int_{f_{5}}\boldsymbol{v}\cdot(s_{0} \cdot \left(2 s_{0} - 1\right))\hat{\boldsymbol{n}}_{5}$$
where $$f_{5}$$ is the 5th face;
$$\hat{\boldsymbol{n}}_{5}$$ is the normal to facet 5;
and $$s_{0},s_{1},s_{2}$$ is a parametrisation of $$f_{5}$$.

$$\displaystyle \boldsymbol{\phi}_{32} = \left(\begin{array}{c}\displaystyle \frac{x \left(- 20 x^{2} + 18 x y + 21 x - 18 y - 1\right)}{2}\\\displaystyle \frac{y \left(18 x y - 18 x - 20 y^{2} + 21 y - 1\right)}{2}\\\displaystyle z \left(30 x^{2} - 36 x y - 6 x + 30 y^{2} - 18 y + 3 z - 1\right)\end{array}\right)$$

This DOF is associated with face 5 of the reference element. $$\displaystyle l_{33}:\boldsymbol{v}\mapsto\displaystyle\int_{f_{5}}\boldsymbol{v}\cdot(4 s_{1} \left(- s_{0} - s_{1} + 1\right))\hat{\boldsymbol{n}}_{5}$$
where $$f_{5}$$ is the 5th face;
$$\hat{\boldsymbol{n}}_{5}$$ is the normal to facet 5;
and $$s_{0},s_{1},s_{2}$$ is a parametrisation of $$f_{5}$$.

$$\displaystyle \boldsymbol{\phi}_{33} = \left(\begin{array}{c}\displaystyle 5 x \left(- 2 x^{2} + 3 x - 1\right)\\\displaystyle \frac{5 y \left(2 y^{2} - 3 y + 1\right)}{2}\\\displaystyle \frac{z \left(60 x^{2} - 72 x - 30 y^{2} + 30 y + 6 z + 7\right)}{2}\end{array}\right)$$

This DOF is associated with face 5 of the reference element. $$\displaystyle l_{34}:\boldsymbol{v}\mapsto\displaystyle\int_{f_{5}}\boldsymbol{v}\cdot(4 s_{0} s_{1})\hat{\boldsymbol{n}}_{5}$$
where $$f_{5}$$ is the 5th face;
$$\hat{\boldsymbol{n}}_{5}$$ is the normal to facet 5;
and $$s_{0},s_{1},s_{2}$$ is a parametrisation of $$f_{5}$$.

$$\displaystyle \boldsymbol{\phi}_{34} = \left(\begin{array}{c}\displaystyle \frac{5 x \left(2 x^{2} - 3 x + 1\right)}{2}\\\displaystyle \frac{5 y \left(2 y^{2} - 3 y + 1\right)}{2}\\\displaystyle z \left(- 15 x^{2} + 15 x - 15 y^{2} + 15 y + 3 z - 7\right)\end{array}\right)$$

This DOF is associated with face 5 of the reference element. $$\displaystyle l_{35}:\boldsymbol{v}\mapsto\displaystyle\int_{f_{5}}\boldsymbol{v}\cdot(s_{1} \cdot \left(2 s_{1} - 1\right))\hat{\boldsymbol{n}}_{5}$$
where $$f_{5}$$ is the 5th face;
$$\hat{\boldsymbol{n}}_{5}$$ is the normal to facet 5;
and $$s_{0},s_{1},s_{2}$$ is a parametrisation of $$f_{5}$$.

$$\displaystyle \boldsymbol{\phi}_{35} = \left(\begin{array}{c}\displaystyle \frac{x \left(- 20 x^{2} + 18 x y + 21 x - 18 y - 1\right)}{2}\\\displaystyle \frac{y \left(18 x y - 18 x - 20 y^{2} + 21 y - 1\right)}{2}\\\displaystyle z \left(30 x^{2} - 36 x y - 18 x + 30 y^{2} - 6 y + 3 z - 1\right)\end{array}\right)$$

This DOF is associated with face 5 of the reference element. $$\displaystyle l_{36}:\boldsymbol{v}\mapsto\displaystyle\int_{R}\boldsymbol{v}\cdot\left(\begin{array}{c}1\\0\\0\end{array}\right)$$
where $$R$$ is the reference element.

$$\displaystyle \boldsymbol{\phi}_{36} = \left(\begin{array}{c}\displaystyle 6 x \left(1 - x\right)\\\displaystyle 0\\\displaystyle 0\end{array}\right)$$

This DOF is associated with volume 0 of the reference element. $$\displaystyle l_{37}:\boldsymbol{v}\mapsto\displaystyle\int_{R}\boldsymbol{v}\cdot\left(\begin{array}{c}0\\1\\0\end{array}\right)$$
where $$R$$ is the reference element.

$$\displaystyle \boldsymbol{\phi}_{37} = \left(\begin{array}{c}\displaystyle 0\\\displaystyle 6 y \left(1 - y\right)\\\displaystyle 0\end{array}\right)$$

This DOF is associated with volume 0 of the reference element. $$\displaystyle l_{38}:\boldsymbol{v}\mapsto\displaystyle\int_{R}\boldsymbol{v}\cdot\left(\begin{array}{c}0\\0\\1\end{array}\right)$$
where $$R$$ is the reference element.

$$\displaystyle \boldsymbol{\phi}_{38} = \left(\begin{array}{c}\displaystyle 0\\\displaystyle 0\\\displaystyle 6 z \left(1 - z\right)\end{array}\right)$$

This DOF is associated with volume 0 of the reference element.