Skip to main content

LagrangeInDOF

Returns the total number of degree of freedom for a lagrange polynomial in cell/face of triangle.

The dof are strictly inside the triangle.

The total number of DOF inside the triangle is given by:

(p1)(q1)(p-1)*(q-1)

Interface 1

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