Skip to main content

LagrangeDOF

Returns the total number of degree of freedom for a lagrange polynomial on triangle.

The total DOF is given by:

12(n+1)(n+2)\frac{1}{2}(n+1)(n+2)

Interface

INTERFACE
MODULE PURE FUNCTION LagrangeDOF_Triangle(order) RESULT(ans)
INTEGER(I4B), INTENT(IN) :: order
INTEGER(I4B) :: ans
END FUNCTION LagrangeDOF_Triangle
END INTERFACE