LagrangeDOF_Line
Returns the total number of degree of freedom for a lagrange polynomial on Line.
Interface
- ܀ Interface
- ️܀ See example
- ↢
INTERFACE
MODULE PURE FUNCTION LagrangeDOF_Line(order) RESULT(ans)
INTEGER(I4B), INTENT(IN) :: order
INTEGER(I4B) :: ans
END FUNCTION LagrangeDOF_Line
END INTERFACE
program main
use easifembase
implicit none
integer( i4b ) :: i1, i2, order
real( dfp ), allocatable :: x1( : ), x2( : ), x(:,:), ans(:,:)
integer(i4b), allocatable :: degree(:,:)
i1 = LagrangeDOF_Line(order=1)
i2 = 2
call IS( i1, i2 )
i1 = LagrangeDOF_Line(order=2)
i2 = 3
call IS( i1, i2 )
i1 = LagrangeDOF_Line(order=3)
i2 = 4
call IS( i1, i2 )
end program main