Skip to main content

CellBasis

Evaluate basis functions in the cell.

Interface

INTERFACE
MODULE PURE FUNCTION CellBasis_Triangle(order, xij, refTriangle) RESULT(ans)
INTEGER(I4B), INTENT(IN) :: order
!! order of approximation inside the cell
!! order should be greater than two
REAL(DFP), INTENT(IN) :: xij(:, :)
!! point of evaluation
!! number of rows = nsd
!! number of cols = number of points
CHARACTER(*), INTENT(IN) :: refTriangle
!! Reference triangle
!! "BIUNIT"
!! "UNIT"
REAL(DFP) :: ans(SIZE(xij, 2), INT((order - 1) * (order - 2) / 2))
END FUNCTION CellBasis_Triangle
END INTERFACE