Skip to main content

LagrangeDOF

Returns the total number of degrees of freedom.

The total number of degree of freedom is given by:

tdof=(p+1)(q+1)(r+1)t_{dof}=(p+1)*(q+1)*(r+1)

Calling example:

ans = LagrangeDOF_Hexahedron(order)
ans = LagrangeDOF_Hexahedron(p,q,r)

Interface 1

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

Interface 2

INTERFACE LagrangeDOF_Hexahedron
MODULE PURE FUNCTION LagrangeDOF_Hexahedron2(p, q, r) RESULT(ans)
INTEGER(I4B), INTENT(IN) :: p, q, r
INTEGER(I4B) :: ans
END FUNCTION LagrangeDOF_Hexahedron2
END INTERFACE LagrangeDOF_Hexahedron