Skip to content
ForCADDocumentation

tensor_measure Subroutine

public pure subroutine tensor_measure(Xc, degree, nc, knot1, knot2, Wc, rational, measure, object_err, err, ngauss, strict, knot3)

Integrate the metric density using the same native-knot Jacobian as ansatz. Keep valid quadrature contributions if another point in the element fails.

Arguments

Type IntentOptional Attributes Name
real(kind=rk), intent(in), allocatable :: Xc(:,:)
integer, intent(in) :: degree(:)
integer, intent(in) :: nc(:)
real(kind=rk), intent(in), allocatable :: knot1(:)
real(kind=rk), intent(in), allocatable :: knot2(:)
real(kind=rk), intent(inout), allocatable, target :: Wc(:)
logical, intent(in) :: rational
real(kind=rk), intent(out) :: measure
type(debug), intent(inout), target :: object_err
type(debug), intent(out), optional, target :: err
integer, intent(in), optional :: ngauss(:)
logical, intent(in), optional :: strict
real(kind=rk), intent(in), optional, contiguous :: knot3(:)