LagrangeInDOF_Line
Returns the total number of degree of freedom for a lagrange polynomial on an edge of a Line.
These dof are strictly inside the line.
Interface
- ܀ Interface
- ️܀ See example
- ↢
INTERFACE
MODULE PURE FUNCTION LagrangeInDOF_Line(order) RESULT(ans)
INTEGER(I4B), INTENT(IN) :: order
INTEGER(I4B) :: ans
END FUNCTION LagrangeInDOF_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 = LagrangeInDOF_Line(order=1)
i2 = 0
call IS( i1, i2 )
i1 = LagrangeInDOF_Line(order=2)
i2 = 1
call IS( i1, i2 )
i1 = LagrangeInDOF_Line(order=3)
i2 = 2
call IS( i1, i2 )
end program main