Skip to main content

BarycentricEdgeBasis

Returns the edge basis functions on reference Triangle.

Interface

INTERFACE
MODULE PURE FUNCTION BarycentricEdgeBasis_Triangle(pe1, pe2, pe3, lambda) &
& RESULT(ans)
INTEGER(I4B), INTENT(IN) :: pe1
!! order on edge (e1)
INTEGER(I4B), INTENT(IN) :: pe2
!! order on edge (e2)
INTEGER(I4B), INTENT(IN) :: pe3
!! order on edge (e3)
REAL(DFP), INTENT(IN) :: lambda(:, :)
!! point of evaluation in terms of barycentric coordinates
!! Number of rows in lambda is equal to three.
REAL(DFP) :: ans(SIZE(lambda, 2), pe1 + pe2 + pe3 - 3)
END FUNCTION BarycentricEdgeBasis_Triangle
END INTERFACE