Skip to content
ForCADDocumentation

jacobian_log_sensitivity Subroutine

public pure subroutine jacobian_log_sensitivity(basis, param_gradient, jacobian, Xc, djacobian_dlogWc, valid, ids)

Differentiate the geometry Jacobian at fixed knot parameters. Differentiating R_b*(P_b-X) in direction alpha gives the b-th log-weight column.

Arguments

Type IntentOptional Attributes Name
real(kind=rk), intent(in) :: basis(:)
real(kind=rk), intent(in) :: param_gradient(:,:)
real(kind=rk), intent(in) :: jacobian(:,:)
real(kind=rk), intent(in) :: Xc(:,:)
real(kind=rk), intent(out) :: djacobian_dlogWc(:,:,:)
logical, intent(out) :: valid
integer, intent(in), optional :: ids(:)